max_stars_repo_path stringlengths 3 255 | max_stars_repo_name stringlengths 5 116 | max_stars_count int64 0 107k | id stringlengths 1 7 | content stringlengths 63 1.05M |
|---|---|---|---|---|
libsrc/osca/page_in_video.asm | meesokim/z88dk | 0 | 40164 | ;
; Old School Computer Architecture - interfacing FLOS
; <NAME>, 2011
;
; $Id: page_in_video.asm,v 1.2 2015/01/19 01:33:00 pauloscustodio Exp $
;
INCLUDE "flos.def"
PUBLIC page_in_video
page_in_video:
jp kjt_page_in_video
|
programs/oeis/101/A101041.asm | neoneye/loda | 22 | 40165 | ; A101041: Number of numbers not greater than n having no more than two prime factors.
; 1,2,3,4,5,6,7,7,8,9,10,10,11,12,13,13,14,14,15,15,16,17,18,18,19,20,20,20,21,21,22,22,23,24,25,25,26,27,28,28,29,29,30,30,30,31,32,32,33,33,34,34,35,35,36,36,37,38,39,39,40,41,41,41,42,42,43,43,44,44,45,45,46
lpb $0
mov $2,$0
... |
programs/oeis/110/A110895.asm | neoneye/loda | 22 | 40166 | ; A110895: Number of integers between a(n) and a(n+1) equals the n-th prime.
; 1,4,8,14,22,34,48,66,86,110,140,172,210,252,296,344,398,458,520,588,660,734,814,898,988,1086,1188,1292,1400,1510,1624,1752,1884,2022,2162,2312,2464,2622,2786,2954,3128,3308,3490,3682,3876,4074,4274,4486,4710
mov $1,$0
seq $1,7504 ; Sum of t... |
libsrc/_DEVELOPMENT/l/sccz80/crt0/l_gchar.asm | meesokim/z88dk | 0 | 40167 | <filename>libsrc/_DEVELOPMENT/l/sccz80/crt0/l_gchar.asm
; Z88 Small C+ Run time Library
; Moved functions over to proper libdefs
; To make startup code smaller and neater!
;
; 6/9/98 djm
SECTION code_l_sccz80
PUBLIC l_gchar, l_gchar_sxt
l_gchar:
; fetch char from (HL) and sign extend int... |
oeis/022/A022345.asm | neoneye/loda-programs | 11 | 40168 | <reponame>neoneye/loda-programs
; A022345: Fibonacci sequence beginning 0, 11.
; Submitted by <NAME>
; 0,11,11,22,33,55,88,143,231,374,605,979,1584,2563,4147,6710,10857,17567,28424,45991,74415,120406,194821,315227,510048,825275,1335323,2160598,3495921,5656519,9152440,14808959,23961399,38770358,62731757,101502115,164233... |
programs/oeis/065/A065883.asm | neoneye/loda | 22 | 40169 | <reponame>neoneye/loda<filename>programs/oeis/065/A065883.asm<gh_stars>10-100
; A065883: Remove factors of 4 from n (i.e., write n in base 4, drop final zeros, then rewrite in decimal).
; 1,2,3,1,5,6,7,2,9,10,11,3,13,14,15,1,17,18,19,5,21,22,23,6,25,26,27,7,29,30,31,2,33,34,35,9,37,38,39,10,41,42,43,11,45,46,47,3,49,50... |
PRG/levels/Water/Empty01.asm | narfman0/smb3_pp1 | 0 | 40171 | ; Original address was $AB8D
; Empty/unused
.word W701L ; Alternate level layout
.word W701O ; Alternate object layout
.byte LEVEL1_SIZE_08 | LEVEL1_YSTART_040
.byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_01 | LEVEL3_VSCROLL_LOCKLOW | LEVEL3_PIPENOTEXIT
.byte LEVEL4_BGBANK_INDE... |
src/main/fragment/mos6502-common/vwsm1=pwsm3_derefidx_vbuyy_minus_pwsm2_derefidx_vbuxx.asm | jbrandwood/kickc | 2 | 40172 | lda {m2}
sta $fc
lda {m2}+1
sta $fd
lda {m3}
sta $fe
lda {m3}+1
sta $ff
iny
lda ($fe),y
pha
dey
lda ($fe),y
pha
txa
tay
pla
sec
sbc ($fc),y
sta {m1}
iny
pla
sbc ($fc),y
sta {m1}+1 |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_1740.asm | ljhsiun2/medusa | 9 | 40173 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
// Load
lea addresses_UC+0x1479e, %rbx
clflush (%rbx)
xor %r8, %r8
mov (%rbx), %rcx
nop
nop
nop
nop
nop
cmp %rsi, %rsi
// REPMOV
lea addresses_WT+0x... |
libsrc/_DEVELOPMENT/math/float/am9511/c/sccz80/cam32_sccz80_hypot.asm | dikdom/z88dk | 1 | 40174 |
SECTION code_fp_am9511
PUBLIC cam32_sccz80_hypot
EXTERN asm_switch_arg, asm_sccz80_readl
EXTERN asm_am9511_hypot
; find the hypotenuse of two sccz80 floats
;
; enter : stack = sccz80_float left, sccz80_float right, ret
;
; exit : DEHL = sccz80_float(left+right)
;
; uses : af, bc, de,... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_1914.asm | ljhsiun2/medusa | 9 | 40175 | .global s_prepare_buffers
s_prepare_buffers:
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WT_ht+0x10229, %rsi
lea addresses_D_ht+0x170cd, %rdi
nop
nop
nop
nop
and %rax, %rax
mov $72, %rcx
rep movsw
nop
nop
nop
nop
nop
add %rbp, %rbp
lea addresses_normal_ht+0x13bcd, %r8
no... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_1373.asm | ljhsiun2/medusa | 9 | 40176 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r15
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x2282, %rsi
lea addresses_WC_ht+0xae82, %rdi
add %r15, %r15
mov $88, %rcx
rep movsw
nop
nop
nop
add %rdi, %rdi
pop %rsi
pop %rdi
pop %rcx
pop %r15
ret
.global s_faulty_load
s_faulty_load:
push %r... |
Transynther/x86/_processed/NC/_ht_zr_/i7-8650U_0xd2.log_61_334.asm | ljhsiun2/medusa | 9 | 40177 | <filename>Transynther/x86/_processed/NC/_ht_zr_/i7-8650U_0xd2.log_61_334.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x1eed4, %r8
nop
nop
nop
nop
nop
add %rdx, %rdx
movb (%r8), %r9b
nop
sub $6129, %r13
le... |
boot/boot-sector.asm | tango-lima/sandbox | 0 | 40178 | BITS 16
ORG 0x7C00
; Initialize segment registers
mov ax, 0x0000
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
; Initialize stack pointer
mov sp, 0x7C00
; Print boot message
mov si, booting_stage_one_str
call print_str
; Check if BIOS LBA extension is present
mov bx, 0x5... |
programs/oeis/022/A022127.asm | jmorken/loda | 1 | 40179 | ; A022127: Fibonacci sequence beginning 3, 17.
; 3,17,20,37,57,94,151,245,396,641,1037,1678,2715,4393,7108,11501,18609,30110,48719,78829,127548,206377,333925,540302,874227,1414529,2288756,3703285,5992041,9695326,15687367,25382693,41070060,66452753,107522813,173975566,281498379,455473945,736972324,1192446269,1929418593,... |
lib/core/comp/_decimal.asm | locodarwin/xc-basic3 | 11 | 40180 | <filename>lib/core/comp/_decimal.asm
PROCESSOR 6502
; Compare two decimals on stack for equality
MAC cmpdecimaleq ; @pull @push
cmpwordeq
ENDM
; Compare two decimals on stack for inequality
MAC cmpdecimalneq ; @pull @push
cmpwordneq
ENDM
; Compare two decimals on stack for less than
; older < newer
MA... |
programs/oeis/063/A063166.asm | neoneye/loda | 22 | 40181 | <filename>programs/oeis/063/A063166.asm
; A063166: Dimension of the space of weight 2n cusp forms for Gamma_0( 98 ).
; 7,34,62,90,118,146,174,202,230,258,286,314,342,370,398,426,454,482,510,538,566,594,622,650,678,706,734,762,790,818,846,874,902,930,958,986,1014,1042,1070,1098,1126,1154,1182,1210,1238,1266,1294,1322,13... |
libgx.asm | itay-grudev/assembly-dos-gx | 14 | 40182 | <filename>libgx.asm
; The MIT License (MIT)
; Copyright (c) 2015 <NAME> <<EMAIL>>
; Permission is hereby granted, free of charge, to any person obtaining a copy
; of this software and associated documentation files (the "Software"), to deal
; in the Software without restriction, including without limitation the right... |
oeis/020/A020129.asm | neoneye/loda-programs | 11 | 40183 | ; A020129: Ceiling of GAMMA(n+2/5)/GAMMA(2/5).
; Submitted by <NAME>
; 1,1,1,2,5,21,109,695,5143,43194,406017,4222570,48137292,596902409,7998492274,115178288737,1773745646540,29089428603256,506156057696642,9313271461618196,180677466355392996,3685820313650017112
mov $2,1
mov $3,$0
mul $3,5
lpb $3
sub $3,4
mov $5,$3... |
oeis/113/A113487.asm | neoneye/loda-programs | 11 | 40185 | <reponame>neoneye/loda-programs
; A113487: Numbers k such that 17*k + 2 is prime.
; Submitted by <NAME>(s1)
; 0,1,3,13,15,21,27,33,37,43,55,57,61,75,85,87,91,93,103,105,111,127,135,141,145,157,171,177,181,187,213,217,223,231,241,243,247,255,265,273,283,297,301,303,313,325,345,355,363,373,385,387,415,421,423,441,451,453... |
test/benchmarks/supercop-20170228/crypto_hashblocks/sha512/dolbeau/intelavxasm/sha512_avx.asm | blipp/hacl-star | 1 | 40186 | <reponame>blipp/hacl-star
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Copyright (c) 2012, Intel Corporation
;
; All rights reserved.
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions are
;... |
data/mapObjects/pewterhouse1.asm | adhi-thirumala/EvoYellow | 16 | 40187 | PewterHouse1Object:
db $a ; border block
db $2 ; warps
db $7, $2, $3, $ff
db $7, $3, $3, $ff
db $0 ; signs
db $3 ; objects
object SPRITE_SLOWBRO, $4, $5, STAY, LEFT, $1 ; person
object SPRITE_YOUNG_BOY, $3, $5, STAY, RIGHT, $2 ; person
object SPRITE_FAT_BALD_GUY, $1, $2, STAY, NONE, $3 ; person
; warp-to
... |
test/hle.asm | bitwiseworks/nasm-os2 | 3 | 40188 | bits 32
xacquire lock add [esi],eax
xacquire xchg [eax],ebx
xrelease lock mov [eax],ecx
xrelease mov [eax],ecx
xacquire add ecx,[eax]
xrelease mov [eax],ecx
; Different opcodes!
mov [sym],eax
xrelease mov [sym],eax
xacquire mov [sym],eax
mov [sym],al
xrelease mov [sym],al
xacquire mov [... |
programs/oeis/088/A088207.asm | karttu/loda | 0 | 40189 | ; A088207: a(n) = Sum_{k=0..n} floor(k*phi^2)) where phi=(1+sqrt(5))/2.
; 0,2,7,14,24,37,52,70,90,113,139,167,198,232,268,307,348,392,439,488,540,594,651,711,773,838,906,976,1049,1124,1202,1283,1366,1452,1541,1632,1726,1822,1921,2023,2127,2234,2343,2455,2570,2687,2807,2930,3055,3183
mov $14,$0
mov $16,$0
lpb $16,1
c... |
programs/oeis/014/A014718.asm | karttu/loda | 1 | 40190 | ; A014718: a(n) = (F(n+1)+L(n)+n)^2 where F(n) are the Fibonacci numbers (A000045) and L(n) are the Lucas numbers (A000032).
; 9,9,49,100,256,576,1369,3249,7921,19600,49284,125316,321489,829921,2152089,5597956,14592400,38093584,99540529,260273689,680844649,1781515264,4662431524,12203620900,31944770361,83624494041,21891... |
src/atalan/platform/nes/nes_sprite.asm | BigEd/atalan | 15 | 40192 | ;********************************
;ATALAN nes sprite asm functions
;********************************
; created by <NAME> 31.01.2011
; tnx to Atalan the snake & rudla :)
;_TEMPB1 equ 54 array offset
;_TEMPB2 equ 55 array offset
; ATALAN code
; PPU_DATA_ADR = $3F
; PPU_DATA_ADR = $10
; for i:0..15
... |
source/Cosmos.Debug.DebugStub/CmdProcess.asm | mmkhmmkh/Cosmos | 1 | 40193 |
DebugStub_ProcessCommand:
Call DebugStub_ComReadAL
Push EAX
Cmp AL, DebugStub_Const_Vs2Ds_Noop
JE DebugStub_ProcessCommand_Exit
Mov EAX, 0
Call DebugStub_ComReadAL
Mov [DebugStub_CommandID], EAX
Mov EAX, [ESP + 0]
Cmp AL, DebugStub_Const_Vs2Ds_TraceOff
JNE DebugStub_ProcessCommand_Block1_End
Call... |
Levels/Misc/Map - Animated Still Sprites S3.asm | NatsumiFox/AMPS-Sonic-3-Knuckles | 5 | 40194 | dc.w word_2B6E6-Map_AnimatedStillSprites
dc.w word_2B6EE-Map_AnimatedStillSprites
dc.w word_2B6F6-Map_AnimatedStillSprites
dc.w word_2B6FE-Map_AnimatedStillSprites
dc.w word_2B706-Map_AnimatedStillSprites
dc.w word_2B70E-Map_AnimatedStillSprites
dc.w word_2B716-Map_AnimatedStillSprites
dc.w word_2B71E-M... |
Source/bootloader.asm | djgaven588/Simple-Operating-System | 0 | 40196 | ; The bootloader
; This loads the kernal, which handles everything from here
org 0x7C00
; Tell the compiler we are working in 16-bit mode. Real-mode
BITS 16
; Setup the stack
setup_stack:
cli ; Disable interrupts for ss and sp. Required for <= 286
xor ax, ax
mov ss, ax
mov sp, 0x7C00
mov bp, sp
... |
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1959.asm | ljhsiun2/medusa | 9 | 40197 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r9
push %rbp
push %rbx
push %rdx
lea addresses_WC_ht+0x1815a, %r9
inc %rbp
movb $0x61, (%r9)
nop
nop
nop
nop
nop
inc %r14
lea addresses_A_ht+0x1cdda, %rbp
nop
nop
add %rbx, %rbx
movw $0x6162, (%rbp)
nop
nop
nop
no... |
edk2/MdeModulePkg/Universal/EbcDxe/X64/EbcLowLevel.asm | awwiniot/Aw1689UEFI | 21 | 40198 | ;/** @file
;
; This code provides low level routines that support the Virtual Machine.
; for option ROMs.
;
; Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the B... |
Assembly/HW4/HW4.asm | DulceWRLD/College | 2 | 40199 | # <NAME>™ ©2014
# 10/13/2014
.data
inArr: .word 0:40
symTab: .word 0:40
prompt: .asciiz "Enter a new token: "
prompt2: .asciiz "Enter a new type: "
dump_prompt: .asciiz "\nDumping symTab: \n\n"
exit_prompt: .asciiz "\n\nExiting the program..."
.... |
data/wildPokemon/route20.asm | adhi-thirumala/EvoYellow | 0 | 40200 | Route20Mons:
db $00
db $05
db 5,TENTACOOL
db 10,TENTACOOL
db 15,MARILL
db 5,TENTACOOL
db 10,TENTACOOL
db 15,STARYU
db 20,CHINCHOU
db 30,KABUTO
db 35,OMANYTE
db 40,TENTACOOL
|
asm/fibonnaci.asm | 64/riscv-sim | 1 | 40201 | ;
;
; uint32_t fibonnaci(uint32_t n) {
; if (n <= 1) {
; return 1;
; } else {
; return fibonnaci(n - 1) + fibonnaci(n - 2);
; }
; }
wrap:
call fibonnaci
j .end
fibonnaci:
addi sp, sp, -32
sw ra, 28(sp)
... |
programs/oeis/054/A054113.asm | karttu/loda | 0 | 40202 | ; A054113: T(2n,n), array T as in A054110.
; 1,5,17,57,197,701,2549,9413,35153,132393,501905,1912769,7321081,28122281,108355481,418590521,1620751301,6287963741,24438234341,95128761941,370821819581,1447337568461,5655535495901,22122396951101
mov $13,$0
mov $15,$0
add $15,1
lpb $15,1
mov $0,$13
sub $15,1
sub $0,$15... |
audio/sfx/cry03_2.asm | opiter09/ASM-Machina | 1 | 40203 | <gh_stars>1-10
SFX_Cry03_2_Ch5:
duty_cycle_pattern 3, 3, 0, 0
square_note 4, 15, 7, 1544
square_note 6, 14, 6, 1536
square_note 6, 13, 7, 1520
square_note 6, 12, 4, 1504
square_note 5, 13, 3, 1472
square_note 4, 13, 3, 1440
square_note 8, 14, 1, 1408
sound_ret
SFX_Cry03_2_Ch6:
duty_cycle_pattern 0, 0, 2, 2
... |
Universe/Sun/SunXX15Vars.asm | ped7g/EliteNext | 9 | 40204 | <reponame>ped7g/EliteNext
;-- XX15 --------------------------------------------------------------------------------------------------------------------------
SBnKXScaled DB 0 ; XX15+0Xscaled
SBnKXScaledSign DB 0 ; XX15+1xsign
SBnKYScaled DB 0 ... |
Driver/Video/VGAlike/SVGA/svgaTables.asm | steakknife/pcgeos | 504 | 40205 |
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: SVGA screen driver
FILE: svgaTables.asm
AUTHOR: <NAME>
REVISION HISTORY:
Name Date Description
---- ---- -----------
jad 9/90 initial ver... |
s2e/qemu/s2e/x64.asm | wyz7155/SymDrive | 0 | 40206 | <gh_stars>0
segment .text
global bit_scan_forward_64
global bit_scan_forward_64_posix
global s2e_setjmp_win32
global s2e_longjmp_win32
global s2e_setjmp_posix
global s2e_longjmp_posix
global _s2e_setjmp_posix
global _s2e_longjmp_posix
[bits 64]
;int bit_scan_forward_64(uint64_t *SetIndex, uint64_t Mask);
;RCX first ... |
libsrc/_DEVELOPMENT/arch/zx/display/z80/asm_zx_cy2aaddr.asm | RC2014Z80/z88dk | 8 | 40207 | <reponame>RC2014Z80/z88dk
; ===============================================================
; Jun 2007
; ===============================================================
;
; void *zx_cy2aaddr(uchar row)
;
; Character y coordinate to attribute address.
;
; ===============================================================
... |
programs/oeis/002/A002058.asm | karttu/loda | 1 | 40208 | ; A002058: Number of internal triangles in all triangulations of an (n+1)-gon.
; 2,14,72,330,1430,6006,24752,100776,406980,1634380,6537520,26075790,103791870,412506150,1637618400,6495886320,25751549340,102042235620,404225281200,1600944863700,6339741660252,25103519174844,99399793096352
mov $1,5
add $1,$0
add $1,$0
bin ... |
projects/08/ProgramFlow/FibonacciSeries/FibonacciSeries.asm | agrim334/nand2tetris | 0 | 40210 | <filename>projects/08/ProgramFlow/FibonacciSeries/FibonacciSeries.asm
@R2
D=M
@1
D=D+A
A=D
D=M
@R0
A=M
M=D
@R0
M=M+1
@R0
AM=M-1
D=M
@R4
M=D
@0
D=A
@R0
A=M
M=D
@R0
M=M+1
@R0
M=M-1
@R4
D=M
@0
D=D+A
@R13
M=D
@R0
A=M
D=M
@R13
A=M
M=D
@1
D=A
@R0
A=M
M=D
@R0
M=M+1
@R0
M=M-1
@R4
D=M
@1
D=D+A
@R13
M=D
@R0
A=M
D=M
@R13
A=M
M=D
... |
apps/breakfast/pde_fw/toast/examples/Assembly (CCE)/msp430x24x_adc12_07.asm | tp-freeforall/breakfast | 1 | 40211 | <filename>apps/breakfast/pde_fw/toast/examples/Assembly (CCE)/msp430x24x_adc12_07.asm
;*******************************************************************************
; MSP430x24x Demo - ADC12, Repeated Single Channel Conversions
;
; This example shows how to perform repeated conversions on a single channel
; ... |
Kernel/asm/interrupts.asm | JuanOliva98/so_tp2 | 1 | 40212 | <filename>Kernel/asm/interrupts.asm<gh_stars>1-10
GLOBAL _cli
GLOBAL _sti
GLOBAL picMasterMask
GLOBAL picSlaveMask
GLOBAL haltcpu
GLOBAL _hlt
GLOBAL halt
GLOBAL _irq00Handler
GLOBAL _irq01Handler
GLOBAL _irq02Handler
GLOBAL _irq03Handler
GLOBAL _irq04Handler
GLOBAL _irq05Handler
GLOBAL _sirqHandler
GLOBAL _exceptio... |
sdk-6.5.20/tools/led/example/hurricane3/bcm956160r_opt6a.asm | copslock/broadcom_cpri | 0 | 40213 | <filename>sdk-6.5.20/tools/led/example/hurricane3/bcm956160r_opt6a.asm
;
; $Id: bcm956160r_opt6a.asm, v 1.0 2015/07/12 15:30:14 rihuang Exp $
;
; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
;
; Copyright 2007-2020 Broadcom Inc. All... |
programs/oeis/169/A169651.asm | jmorken/loda | 1 | 40214 | ; A169651: a(0)=a(1)=1, a(2)=2; thereafter a(n) = 3*a(n-1)+3*2^(n-3)-2.
; 1,1,2,7,25,85,277,877,2725,8365,25477,77197,233125,702445,2113477,6352717,19082725,57297325,171990277,516167437,1548895525,4647473005,13943991877,41835121357,125511655525,376547549485,1129667814277,3389053774477,10167261986725,30501987286765,9150... |
programs/fib.asm | rj45/rj32 | 28 | 40215 | #include "cpudef.asm"
boot:
move r1, 1
shl r1, 13
move r2, r1 ; save 8192
shl r1, 1
add r1, r2 ; 24576
shr r2, 5
shl r2, 4
move r2, -42
asr r2, 1
asr r2, 1
.repeat:
call fibonacci
move r0, 0
jump .repeat
fibonacci:
move r2, 0
move r3, 1
.loop:
add r3, r2
move r7, r3
if.h... |
unittests/ASM/OpSize/66_17.asm | cobalt2727/FEX | 628 | 40216 | <filename>unittests/ASM/OpSize/66_17.asm
%ifdef CONFIG
{
"RegData": {
"RAX": "0x5152535455565758",
"RBX": "0x0",
"XMM0": ["0x4142434445464748", "0x5152535455565758"]
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov rdx, 0xe0000000
mov rax, 0x4142434445464748
mov [rdx + 8 * 0], rax
mo... |
8_kyu/Convert_to_Binary.asm | UlrichBerntien/Codewars-Katas | 0 | 40217 | global to_binary
section .text
; <--- unsigned long long to_binary(unsigned short num) --->
to_binary:
mov rax, 1
xor rdx, rdx ; rdx:rax "10-value" of current bit
mov r8, 10
xor r9, r9 ; sum up the result in r9
.loop:
shr rdi, 1 ; check current bit
jnc .digit... |
programs/oeis/022/A022119.asm | neoneye/loda | 22 | 40218 | <reponame>neoneye/loda<filename>programs/oeis/022/A022119.asm
; A022119: Fibonacci sequence beginning 2, 19.
; 2,19,21,40,61,101,162,263,425,688,1113,1801,2914,4715,7629,12344,19973,32317,52290,84607,136897,221504,358401,579905,938306,1518211,2456517,3974728,6431245,10405973,16837218,27243191,44080409,71323600,11540400... |
source/jni/u2/glenz/zoom.asm | Falken42/SecondReality | 9 | 40219 | text__zoom SEGMENT para public 'CODE2'
ASSUME cs:text__zoom
LOCALS
.386
PUBLIC _zoom
_zoom PROC FAR
push bp
mov bp,sp
push si
push di
push ds
les di,[bp+6]
lds si,[bp+10]
mov ax,[bp+14]
call zoom
pop ds
pop di
pop si
pop bp
ret
_zoom ENDP
include zoomloop.inc
PUBLIC _sin... |
Library/OcAfterBootCompatLib/X64/ContextSwitch.nasm | fishermans/CloverBootloader | 133 | 40220 | ;------------------------------------------------------------------------------
; @file
; Copyright (C) 2013, dmazar. All rights reserved.
; Copyright (C) 2019, vit9696. All rights reserved.
;
; All rights reserved.
;
; This program and the accompanying materials
; are licensed and made available under the terms ... |
examples/y/shared.asm | Benderx2/FVM | 2 | 40221 | <reponame>Benderx2/FVM
include 'a32.inc'
_start:
PUSH R0
JMPF MainClass.Main
MainClass.Main:
NATIVE_CALL lib_test,proc_test,0
VM_EXIT
_end_start:
_data:
lib_test: db "test.so", 0
proc_test: db "test_function", 0
_end_data:
_bss:
_end_bss:
|
dv3/qxl/fd/wsect.asm | olifink/smsqe | 0 | 40222 | <filename>dv3/qxl/fd/wsect.asm
; DV3 QXL Floppy Disk Write Sector 1993 <NAME>
; 2006.10.20 1.01 BLAT macro definitions commented out - macro wasn't used (wl)
section dv3
xdef fd_wdirect ; direct write sector
xdef fd_wsint ; internal write sector
xref fd_hold ; reserve the interface
xref fd_release ... |
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_21829_1367.asm | ljhsiun2/medusa | 9 | 40223 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x16305, %rdi
nop
add %rbx, %rbx
movl $0x61626364, (%rdi)
nop
nop
nop
dec %r13
lea addresses_A_ht+0x2315, %rsi
lea addresses_UC_ht+0x12d05, %rdi
add $45340, %rbp
mov $38, %rcx
rep m... |
libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm_mulf.asm | jpoikela/z88dk | 640 | 40224 | <filename>libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm_mulf.asm<gh_stars>100-1000
; float _mulf (float left, float right) __z88dk_callee
SECTION code_clib
SECTION code_fp_math32
PUBLIC asm_mulf
EXTERN m32_fsmul_callee
; multiply two sccz80 floats
;
; enter : stack = sccz80_float left, ret
; ... |
test/asm/ram-code.asm | runlevel5/rgbds | 0 | 40226 | <filename>test/asm/ram-code.asm
SECTION "test", ROM0[1]
call Target
LOAD "new", WRAM0[$C001]
Target: dl DEAD << 16 | BEEF
.end
ds 2, $2A
ENDL
After:
jp Target
ld hl, Word
dw Byte, Target.end, After
SECTION "dead", WRAMX[$DEAD]
DEAD:
SECTION "beef", SRAM[$BEEF]
BEEF:
SECTION "ram test", WRAM0 ; Should end up at... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_1803_317.asm | ljhsiun2/medusa | 9 | 40227 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1b563, %rsi
lea addresses_WT_ht+0x19083, %rdi
nop
nop
nop
nop
and $17877, %r15
mov $6, %rcx
rep movsq
nop
nop
nop
nop
nop
cmp $34896, %rcx
lea addresses_WT_ht+0... |
Library/Kernel/Win/winWindows.asm | steakknife/pcgeos | 504 | 40228 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Windowing System
FILE: Win/winWindows.asm
AUTHOR: <NAME>, <NAME>
ROUTINES:
Name Description
---- -----------
GLB WinScroll scroll docum... |
desolcoda.asm | zxwanderer/spectrum-desolate | 18 | 40229 |
CHEAT_SHOW_ROOM_NUMBER EQU 0
CHEAT_ALL_ACCESS EQU 0
CHEAT_ALL_INVENTORY EQU 0
CHEAT_HAVE_WEAPON EQU 0
CHEAT_HEALTH_999 EQU 0
ORG $5FB4 ; = 24500
start:
call ClearShadowScreen
call LBA07 ; Show titles and go to Menu
; Cheat code to get all door access codes
IF CHEAT_ALL_ACCESS =... |
Lab_5/Code/MACROS.asm | nickbel7/ntua-microprocessors-systems | 0 | 40230 |
;========== PRINT CHAR ==========
PRINT MACRO CHAR
PUSH AX
PUSH DX
MOV DL,CHAR
MOV AH,2
INT 21H
POP DX
POP AX
ENDM PRINT
;========== EXIT TO DOS ==========
EXIT MACRO
MOV AX,4C00H
INT 21H
ENDM EXIT
;========== PRINT STRING ==========
PRINT_STR MACRO STRING
... |
data/moves/tmhm_moves.asm | genterz/pokecross | 28 | 40231 | <reponame>genterz/pokecross<gh_stars>10-100
TMHMMoves:
; entries correspond to *_TMNUM enums (see constants/item_constants.asm)
; TMs
db DYNAMICPUNCH
db HEADBUTT
db CURSE
db ROLLOUT
db ROAR
db TOXIC
db ZAP_CANNON
db ROCK_SMASH
db PSYCH_UP
db HIDDEN_POWER
db SUNNY_DAY
db SWEET_SCENT
db SNORE
db BLIZZARD
d... |
dosshell/swapper/woatsr.asm | minblock/msdos | 0 | 40233 | <gh_stars>0
;/*
; * Microsoft Confidential
; * Copyright (C) Microsoft Corporation 1985-1991
; * All Rights Reserved.
; */
;----------------------------------------------------------------------------;
; This module contains the routine necessary to put u... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_977.asm | ljhsiun2/medusa | 9 | 40234 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_977.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r8
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_D_ht+0x133e, %rsi
lea addresses_normal_ht+0x5d3e, %rdi
nop
nop
nop
cmp $7604, %rbp
mov $124, %rcx... |
dino/lcs/enemy/AB.asm | zengfr/arcade_game_romhacking_sourcecode_top_secret_data | 6 | 40236 | <reponame>zengfr/arcade_game_romhacking_sourcecode_top_secret_data
copyright zengfr site:http://github.com/zengfr/romhack
03C696 clr.b ($ab,A6) [enemy+AE]
03C69A clr.b ($80,A6) [enemy+AB]
03C69E tst.b ($ab,A6) [enemy+80]
03C6A2 beq $3c6aa
03C6D0 move.b #$1, ($ab,A6)
03C6D6 subq.b #1, ($80,A6) [enem... |
assembly/just.asm | ash1247/DocumentsWindows | 0 | 40237 | section .data
section .text
global _start
_start:
nop
; Put your experiments between the two nops...
; Put your experiments between the two nops...
nop
section .bss
|
oeis/244/A244777.asm | neoneye/loda-programs | 11 | 40238 | ; A244777: Prime numbers ending in the prime number 89.
; Submitted by <NAME>(w2)
; 89,389,1289,1489,1789,1889,2089,2389,2689,2789,3089,3389,3889,3989,4289,4789,4889,5189,5689,6089,6389,6689,7489,7589,7789,8089,8389,8689,9689,10289,10589,10789,10889,11489,11689,11789,12289,12589,12689,12889,13789,14389,14489,15289,1588... |
game/res/people.asm | wkcn/OSLabs | 73 | 40239 | <gh_stars>10-100
db 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xe3,
db 0xe3, 0xe3, 0xe3, 0xe3, 0xe3, 0xff, 0xff, 0xe0, 0xe0, 0xe0, 0xff, 0xff, 0xff, 0xe0, 0xe0, 0xe3,
db 0xe3, 0xe3, 0xe3, 0xdb, 0xff, 0xa0, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xe0, 0xe5,
db ... |
worker/deps/openssl/config/archs/VC-WIN64A/asm_avx2/crypto/bn/x86_64-gf2m.asm | vanga-top/mediasoup | 1,666 | 40241 | default rel
%define XMMWORD
%define YMMWORD
%define ZMMWORD
section .text code align=64
ALIGN 16
_mul_1x1:
sub rsp,128+8
mov r9,-1
lea rsi,[rax*1+rax]
shr r9,3
lea rdi,[rax*4]
and r9,rax
lea r12,[rax*8]
sar rax,63
lea r10,[r9*1+r9]
sar rsi,63
lea r11,[r9*4]
and rax,rbp
sar rdi,63
mov rdx,rax
shl rax... |
sim/asm/fn67.asm | nanamake/avr_cpu | 2 | 40242 | ;-------------------
; test for asr/sreg
;-------------------
.equ sreg = 0x3f
;-------------------
ldi r24,0x00
ldi r25,0x01
ldi r26,0x80
ldi r27,0x81
movw r0 ,r24
movw r2 ,r26
movw r8 ,r24
movw r10,r26
movw r16,r24
movw r18,r26
;-------------------
out sreg,r24
... |
libsrc/target/gl6000/graphics/pixladdr.asm | ahjelm/z88dk | 640 | 40243 |
SECTION code_clib
PUBLIC pixeladdress
INCLUDE "graphics/grafix.inc"
; ******************************************************************
;
; Get absolute pixel address in map of virtual (x,y) coordinate.
;
; in: hl = (x,y) coordinate of pixel (h,l)
;
; out: de = address of pixel by... |
8051/15logop.asm | iamvk1437k/mpmc | 1 | 40245 | <gh_stars>1-10
MOV R1,#05 ;Move 1st data in R1 register
MOV R0,#04 ;Move 2nd data in R0 register
MOV dptr,#4150 ;Load address in data pointer
MOV A,R1 ;Move content of R1 to A
ANL A,R0 ;Perform AND R0 with accumulator
MOVX @dptr,A ;Store the result
INC dptr ... |
programs/oeis/194/A194377.asm | neoneye/loda | 22 | 40246 | ; A194377: Numbers m such that Sum_{k=1..m} (<1/2 + k*r> - <k*r>) > 0, where r=sqrt(6) and < > denotes fractional part.
; 1,3,5,7,9,10,11,12,13,14,15,16,17,18,19,21,23,25,27,29,30,31,32,33,34,35,36,37,38,39,41,43,45,47,49,50,51,52,53,54,55,56,57,58,59,61,63,65,67,69,70,71,72,73,74,75,76,77,78,79,81,83,85,87,89,90,91,92... |
Transynther/x86/_processed/NC/_ht_zr_un_/i3-7100_9_0x84_notsx.log_21829_709.asm | ljhsiun2/medusa | 9 | 40248 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x797a, %r11
nop
nop
xor $59394, %r8
vmovups (%r11), %ymm5
vextracti128 $1, %ymm5, %xmm5
vpextrq $1, %xmm5, %rsi
nop
nop
and %rdx, %rdx
lea addresses_UC_ht+0x17eea, %rsi
lea addresse... |
37_OVER_UNDER.asm | aleattene/lc2-exams | 0 | 40250 | ; ************ DESCRIZIONE SOTTOPROGRAMMA ************
Il seguente sottoprogramma denominato OVER_UNDER riceve nei registri R0 e R1 due numeri a 16 bit
in complemento a due ed effettua la somma R0 + R1 restituendola nel registro R0 al programma chiamante,
indicando se:
- il risultato è corretto (R1 = 0)
- si è verific... |
programs/oeis/073/A073355.asm | neoneye/loda | 22 | 40251 | ; A073355: Sum of squarefree kernels of numbers <= n.
; 1,3,6,8,13,19,26,28,31,41,52,58,71,85,100,102,119,125,144,154,175,197,220,226,231,257,260,274,303,333,364,366,399,433,468,474,511,549,588,598,639,681,724,746,761,807,854,860,867,877,928,954,1007,1013,1068,1082,1139,1197,1256,1286,1347,1409,1430,1432,1497,1563,1630... |
echo.asm | swu038/CS183lab2 | 0 | 40252 | <filename>echo.asm
_echo: file format elf32-i386
Disassembly of section .text:
00001000 <main>:
#include "stat.h"
#include "user.h"
int
main(int argc, char *argv[])
{
1000: 55 push %ebp
1001: 89 e5 mov %esp,%ebp
1003: 83 e4 f0 and $0xfffffff0,... |
oeis/052/A052966.asm | neoneye/loda-programs | 11 | 40253 | <reponame>neoneye/loda-programs<filename>oeis/052/A052966.asm
; A052966: Expansion of (1-x)/(1-x-4x^2+2x^3).
; Submitted by <NAME>(s4)
; 1,0,4,2,18,18,86,122,430,746,2222,4346,11742,24682,62958,138202,340670,767562,1853838,4242746,10122974,23386282,55392686,128691866,303490046,707472138,1664048590,3886957050,9128207134... |
unittests/ASM/TwoByte/0F_3F.asm | duck-37/FEX | 0 | 40254 | %ifdef CONFIG
{
"RegData": {
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
; this just ensures the thunking system runs
; it doesn't actually load a lib
; create struct in ram
lea rdi, [rel libname]
lea rax, [rel init_struct]
mov [rax + 0], rdi
mov [rax + 8], rdi
; thunk
lea rdi, [rel init_struc... |
volume_monitor/firmware/main.asm | mullets/vwradio | 45 | 40255 | <gh_stars>10-100
;VW Premium IV Radio (Clarion PU-1666A) Volume Monitor
;
;Passively captures SPI commands from the radio's microcontroller to its
;Mitsubishi M62419FP sound controller, decodes the commands, computes
;the programmed attenuator values in dB, then dumps the values out
;the UART at 115200 bps, N-8-1.
;
.i... |
Source/Levels/L1102.asm | AbePralle/FGB | 0 | 40256 | <reponame>AbePralle/FGB
; L1102.asm main intro cinema
; Generated 07.26.2000 by mlevel
; Modified 07.26.2000 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
MUSICTEST EQU 0
NEXTLEVEL EQU $0313
;NEXTLEVEL EQU $0013
NEXTLEVELDIR EQU EXIT_D
;------------------------------------------------------------... |
src/scheduling/scheduler/atomic.asm | Glowman554/FoxOS-kernel | 13 | 40257 | <filename>src/scheduling/scheduler/atomic.asm<gh_stars>10-100
[bits 64]
%macro CF_RESULT 0
mov rcx, 1
mov rax, 0
cmovnc rax, rcx
%endmacro
;# atomic_lock-signature: extern "C" bool atomic_lock(uint64_t* mutex, uint64_t bit);
;# atomic_lock-doc: Atomic set of a specific bit in a 64-bit value.
[global atomic_lock]
a... |
introcore/agents/windows/agents/trampoline64.asm | hugmyndakassi/hvmi | 677 | 40258 | ;-----------------------------------------------------------------------------
[bits 64]
global _start
;-----------------------------------------------------------------------------
section .code
;===============================================================================... |
palanqin.asm | clausecker/palanqin | 21 | 40260 | <filename>palanqin.asm
; Palanquin -- Cortex-M0 emulator for 8086
; Copyright (c) 2020 <NAME> <<EMAIL>>
cpu 8086 ; restrict nasm to 8086 instructions
bits 16
; symbols provided by the linker script
extern end, edata, etext, bsswords
section .data
ident db "Palanqin 0.3 (c) 2020, 2021 <NAME> <<EMAIL>>"
crlf db ... |
function/printf.asm | corax89/game_console_for_esp8266_with_compiler | 33 | 40261 | <gh_stars>10-100
_printf:
MOV R2,R0
ADD R2,R1
LDI R2,(R2)
LDC R3,(R2)
next_printf_c:
CMP R3,37 ;%
JZ printf_get
PUTC R3
INC R2
LDC R3,(R2)
JNZ next_printf_c
RET
next_printf_c_end:
INC R2
LDC R3,(R2)
JNZ next_printf_c
RET
printf_get:
INC R2
LDC R3,(R2)
CMP R3,37 ;%
JZ printf_percent
D... |
ekr.asm | namark/tasm_stuff | 1 | 40262 | <gh_stars>1-10
.386
IF 1
include macrolib.asm
ENDIF
data segment USE16
i dd 0
j dd 0
x1 dw ?
y1 dw ?
x2 dw ?
y2 dw ?
A RD <100,100,50,0,100,150>
radius dw 1
ms db ?
mstep equ 5
col equ 0B0B0B0B0h
sec_h equ 0Fh
sec_l equ 4240h
data ends
stek segment stack USE16
dw 512 dup(?)
stek ends
... |
oeis/262/A262767.asm | neoneye/loda-programs | 11 | 40263 | ; A262767: Minimum perimeter of a rectangle with area n and integer sides.
; 4,6,8,8,12,10,16,12,12,14,24,14,28,18,16,16,36,18,40,18,20,26,48,20,20,30,24,22,60,22,64,24,28,38,24,24,76,42,32,26,84,26,88,30,28,50,96,28,28,30,40,34,108,30,32,30,44,62,120,32
add $0,1
mov $2,$0
lpb $0
add $1,1
lpb $1
mov $3,$2
... |
programs/oeis/084/A084052.asm | jmorken/loda | 1 | 40264 | <gh_stars>1-10
; A084052: 2*n digit-reversed mod 2.
; 1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0
mul $0,2
add $0,11
lpb $0
mov $1,$0
div $0,10
mod... |
Library/GrObj/Guardian/guardianManager.asm | steakknife/pcgeos | 504 | 40265 | <filename>Library/GrObj/Guardian/guardianManager.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Guaridian
FILE: guardianManager.asm
AUTHOR: <NAME>, November 15, 1989
REVISION HISTORY:
Name... |
yasm-1.3.0/modules/arch/x86/tests/avx2.asm | xu5343/ffmpegtoolkit_CentOS7 | 2,151 | 40266 | <reponame>xu5343/ffmpegtoolkit_CentOS7
; Exhaustive test of AVX2 instructions
;
; Copyright (C) 2011 <NAME>
;
; Redistribution and use in source and binary forms, with or without
; modification, are permitted provided that the following conditions
; are met:
; 1. Redistributions of source code must retain the above c... |
old.asm | electronoob/z80LEX | 0 | 40269 | <reponame>electronoob/z80LEX
; 16-bit Integer to ASCII (decimal)
; http://map.grauw.nl/sources/external/z80bits.html#5.1
;
; Input: HL = number to convert, DE = location of ASCII string
; Output: ASCII string at (DE)
Num2Dec:
ld bc,-10000
call Num1
ld bc,-1000
call Num1
ld bc,-100
call Num1
ld c,-10
call Num1... |
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_3_1182.asm | ljhsiun2/medusa | 9 | 40270 | .global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r12
push %r8
push %r9
push %rbp
push %rdx
push %rsi
// Store
lea addresses_WT+0xcf4d, %rbp
nop
nop
nop
add %r9, %r9
mov $0x5152535455565758, %r8
movq %r8, %xmm2
movups %xmm2, (%rbp)
add %rsi, %rsi
// Store
lea a... |
Proteux/8255A_LitLedRotatingly.asm | CallMeMengMeng/ASSEMBLY-LANGUAGE | 0 | 40271 | ; Control 8 LEDs with 8255A's port-A according to the state of switches.
; The port-B of 8255A connects with 2 switches K0 and K1: When K0 is
; closed, these LEDs should light up in a left cycle, and they should
; light up in a right cycle when K1 is closed.
; PS.
; I assumed that whether [PB1,PB0]=[1,1] or ... |
libtool/src/gmp-6.1.2/mpn/sparc64/ultrasparct3/aorslsh_n.asm | kroggen/aergo | 1,602 | 40272 | dnl SPARC v9 mpn_addlsh_n and mpn_sublsh_n for T3/T4/T5.
dnl Contributed to the GNU project by <NAME>.
dnl Copyright 2013 Free Software Foundation, Inc.
dnl This file is part of the GNU MP Library.
dnl
dnl The GNU MP Library is free software; you can redistribute it and/or modify
dnl it under the terms of eith... |
sbsext/ut/open.asm | olifink/smsqe | 0 | 40273 | <reponame>olifink/smsqe
* Open utilities V0.8 1984/1985 <NAME> QJUMP
*
section utils
*
xdef ut_opend open with optional data default
xdef ut_opmyd ditto for my job
xdef ut_open2 open and try again with default
xdef ut_opdef open with default at start of (a1)
xdef ut_opena open (a0 absolute)
xdef ut_open ... |
golibc/rand.asm | kkk669/Cloumo | 4 | 40274 | ; rand - K&Rからほぼ抜粋したものを単にASM化した
[BITS 32]
GLOBAL rand_seed
GLOBAL rand
[SECTION .data]
ALIGNB 4
rand_seed dd 1
[SECTION .text]
; int rand(void)
rand:
push edx
mov eax,dword [ds:rand_seed]
mov edx,1103515245
mul edx
add eax,12345
mov dword [ds:rand_seed],eax
shr eax,16
pop edx
... |
Engine Hacks/MSS/asm/Growth Getters/Get_Str_Growth.asm | sme23/MekkahRestrictedHackComp1 | 3 | 40276 | <gh_stars>1-10
.thumb
.org 0x0
@r0=battle struct or char data ptr
ldr r1,[r0]
ldrb r1,[r1,#29] @str growth
mov r2,#11 @index of str boost
ldr r3,Extra_Growth_Boosts
bx r3
.align
Extra_Growth_Boosts:
@
|
libsrc/_DEVELOPMENT/arch/zx/bifrost_h/c/sdcc/BIFROSTH_getAnimGroup_fastcall.asm | jpoikela/z88dk | 640 | 40277 | <filename>libsrc/_DEVELOPMENT/arch/zx/bifrost_h/c/sdcc/BIFROSTH_getAnimGroup_fastcall.asm
; ----------------------------------------------------------------
; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L
;
; See "bifrost_h.h" for further details
; -----------------------------------------------------... |
asm/rogue.asm | tylerdmace/lc3vm | 1 | 40278 | ; LC3 Rogue
; Created By: <NAME> (2017)
;---------------------------
; Program Setup
;---------------------------
.ORIG x3000 ; OS is <3000
WELCOME
LEA R0, WELCOME_MESSAGE
PUTs
GETc
BRnzp MAIN
WELCOME_MESSAGE .STRINGZ "Welcome to LC3 Rogue.\nUse WSAD to move.\nPress any key..\n"
MAIN
LD R6... |
src/arch/x86_64/boot.asm | hansliebert/Project-Valence | 0 | 40279 | <reponame>hansliebert/Project-Valence
global start ; exports a label (makes it public). start is the entry point of the kernel & needs to be public
section .text ; default section for executable code
bits 32 ; specifies the lines are 32 bit instructions since the CPU is still in protected mode
start:
mov esp, stack_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.