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
src/chips/MultiPCM.asm
sharksym/vgmplay-sharksym
6
58723
<filename>src/chips/MultiPCM.asm<gh_stars>1-10 ; ; VGM MultiPCM chip ; MultiPCM: MACRO super: Chip MultiPCM_name, Header.multiPCMClock, System_Return ENDM ; ix = this ; iy = header MultiPCM_Construct: equ Chip_Construct ; jp Chip_Construct ; ix = this MultiPCM_Destruct: equ Chip_Destruct ; jp Chip_Destruct ; SECT...
programs/oeis/082/A082460.asm
neoneye/loda
22
58725
<filename>programs/oeis/082/A082460.asm ; A082460: a(n) = pi(n) - a(n - 1) = A000720(n) - a(n - 1). ; 0,1,1,1,2,1,3,1,3,1,4,1,5,1,5,1,6,1,7,1,7,1,8,1,8,1,8,1,9,1,10,1,10,1,10,1,11,1,11,1,12,1,13,1,13,1,14,1,14,1,14,1,15,1,15,1,15,1,16,1,17,1,17,1,17,1,18,1,18,1,19,1,20,1,20,1,20,1,21,1,21,1,22,1,22,1,22,1,23,1,23,1,23,...
oeis/104/A104720.asm
neoneye/loda-programs
11
58726
; A104720: Expansion of 1/((1-x)(1-x^2)(1-10x)). ; Submitted by <NAME>(s1) ; 1,11,112,1122,11223,112233,1122334,11223344,112233445,1122334455,11223344556,112233445566,1122334455667,11223344556677,112233445566778,1122334455667788,11223344556677889,112233445566778899,1122334455667789000,11223344556677890010,1122334455667...
presentation/examples/asm-so/ex2/lib.asm
sayon/dynamic-libraries-course
4
58727
extern _GLOBAL_OFFSET_TABLE_ global sofun:func extern msg section .text sofun: mov rax, 1 mov rdi, 1 mov rsi, [rel msg wrt ..got] mov rdx, 50 syscall ret
programs/oeis/248/A248217.asm
neoneye/loda
22
58730
; A248217: a(n) = 8^n - 2^n. ; 0,6,60,504,4080,32736,262080,2097024,16776960,134217216,1073740800,8589932544,68719472640,549755805696,4398046494720,35184372056064,281474976645120,2251799813554176,18014398509219840,144115188075331584,1152921504605798400 mov $1,1 mov $2,1 lpb $0 sub $0,1 mul $1,8 mul $2,2 lpe sub ...
smsq/atari/rtc.asm
olifink/smsqe
0
58731
<gh_stars>0 ; Read, set and adjust the real time clock V2.00  1986 <NAME> QJUMP section sms xdef sms_rrtc read clock xdef sms_srtc set clock xdef sms_artc adjust clock xref rtc_set include 'dev8_keys_sys' include 'dev8_smsq_smsq_base_keys' ;+++ ; Read real time clock ; ; d1 r time read ;--- sms_rrtc ...
scanner/scanner.asm
roguematter/malware-csg513
0
58733
<gh_stars>0 section .data msg_infected db "detected infection",10 msg_infected_len dd $-msg_infected section .text global _start _start: pop ebx pop ebx ;ebx has filename ptr pop ebx ;open file for reading mov eax,5 xor ecx,ecx xor edx,edx int 0x80 mov ebx,eax ;read phoff mov eax,19 mov ecx,28 mov edx,0 ...
multnum.asm
shuneycutt22/multnum-asm
0
58734
<filename>multnum.asm ;ECE 109 001 Fall 2019 ;<NAME> (shhuneyc) ;created 23 September 2019 ;Program 1: Digit Multiplication Program: compute the product of two single digit numbers ; .ORIG x3000 ; ;Get first input character from user ; LEA R0, PROMPT1 ;print PROMPT1 string PUTS ;Digits 0-9 have ASCII codes 48-...
ee/hk/init.asm
olifink/smsqe
0
58735
<filename>ee/hk/init.asm ; Initialise the HOTKEY system V2.02  1988 <NAME> QJUMP section hotkey xdef hk_init xdef hk_name xref.l hk_vers xref.l th_vers xref hk_thuse xref hk_thfre xref hk_threm xref th_entry xref th_exec xref gu_achpp xref hk_stufl xref hk_stufc xref hk_stufp xref hktx_llrc ...
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_21829_870.asm
ljhsiun2/medusa
9
58736
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1711d, %rbx nop nop nop nop nop dec %rax movb $0x61, (%rbx) cmp %r14, %r14 lea addresses_D_ht+0x31ec, %r13 nop nop xor %rax, %rax movb $0x61, (%r13...
TowersOfHanoiZero.asm
rookiegrammer/Towers-of-Hanoi-Threaded-Simulator
0
58737
global Java_cmsc142mp01_JNITowersOfHanoi_towersOfHanoiZero section .data section .text Java_cmsc142mp01_JNITowersOfHanoi_towersOfHanoiZero: cmp r8, 1 je proc_tohz_end sub r8, 1 push r8 call Java_cmsc142mp01_JNITowersOfHanoi_towersOfHanoiZero pop r8 call Java_cmsc142mp01_JNITowersOfHanoi_towersOfHanoiZ...
oeis/290/A290192.asm
neoneye/loda-programs
11
58739
<filename>oeis/290/A290192.asm<gh_stars>10-100 ; A290192: Binary representation of the diagonal from the corner to the origin of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 705", based on the 5-celled von Neumann neighborhood. ; Submitted by <NAME> ; 1,10,101,1101,11100,111101,11...
programs/oeis/182/A182770.asm
neoneye/loda
22
58740
<reponame>neoneye/loda<filename>programs/oeis/182/A182770.asm ; A182770: Beatty sequence for 3-sqrt(2). ; 1,3,4,6,7,9,11,12,14,15,17,19,20,22,23,25,26,28,30,31,33,34,36,38,39,41,42,44,45,47,49,50,52,53,55,57,58,60,61,63,65,66,68,69,71,72,74,76,77,79,80,82,84,85,87,88,90,91,93,95,96,98,99,101,103,104,106,107,109,111,112...
programs/oeis/293/A293005.asm
neoneye/loda
22
58741
<reponame>neoneye/loda ; A293005: Number of associative, quasitrivial, and order-preserving binary operations on the n-element set {1,...,n}. ; 0,1,4,12,34,94,258,706,1930,5274,14410,39370,107562,293866,802858,2193450,5992618,16372138,44729514,122203306,333865642,912137898,2492007082,6808289962,18600594090,50817768106,...
user/init.asm
zhangxu0329/6.S081
0
58742
user/_init: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <main>: char *argv[] = { "sh", 0 }; int main(void) { 0: 1101 addi sp,sp,-32 2: ec06 sd ra,24(sp) 4: e822 sd s0,16(sp) 6: e426 sd s1,8(sp) 8: e...
oeis/167/A167366.asm
neoneye/loda-programs
11
58743
<reponame>neoneye/loda-programs<filename>oeis/167/A167366.asm ; A167366: Triangle read by rows, 2*A047999 - A097806 (signed) = twice Sierpinski's gasket - the signed pair sum operator. ; Submitted by <NAME> ; 1,3,1,2,1,1,2,2,3,1,2,0,0,1,1,2,2,0,0,3,1,2,0,2,0,2,1,1,2,2,2,2,2,2,3,1,2,0,0,0,0,0,0,1,1,2,2,0,0,0,0,0,0,3,1,2...
libsrc/stdio/pc6001/getk.asm
jpoikela/z88dk
640
58747
; ; PC-6001 Stdio ; ; getk() Read key status ; ; <NAME>, 2013 ; ; ; $Id: getk.asm,v 1.3 2016-06-12 17:32:01 dom Exp $ ; SECTION code_clib PUBLIC getk PUBLIC _getk .getk ._getk call $0FBC jr nz, key_got xor a key_got: IF STANDARDESCAPECHARS cp 13 jr nz,not_return ld a,10 .not_return ENDIF ld l, a l...
programs/oeis/313/A313803.asm
neoneye/loda
22
58748
; A313803: Coordination sequence Gal.6.210.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,10,15,21,27,33,39,45,51,56,61,66,71,76,81,87,93,99,105,111,117,122,127,132,137,142,147,153,159,165,171,177,183,188,193,198,203,208,213,2...
home/audio.asm
adhi-thirumala/EvoYellow
16
58749
<filename>home/audio.asm PlayDefaultMusic:: call WaitForSoundToFinish xor a ld c, a ld d, a ld [wLastMusicSoundID], a jr PlayDefaultMusicCommon PlayDefaultMusicFadeOutCurrent:: ; Fade out the current music and then play the default music. ld c, 10 ld d, 0 ld a, [wd72e] bit 5, a ; has a battle just ended? jr...
source_cpc/Source/EG_Collision5.asm
kieranhj/edge-beeb
0
58751
<filename>source_cpc/Source/EG_Collision5.asm .CheckBackgrounds2 ; check if centre (horizontal length) of player bullet is over any background ld a,(base_addr+1) bit 6,a jr z,ChkBG2Low ld hl,SpriteAddrHigh+154+6 jr ChkBG2SkipLow .ChkBG2Low ld hl,SpriteAddrLow+154+6 nop nop .ChkBG2SkipLow...
helium/rotate.asm
viznut/demoscene
14
58753
draw3d: ;;;;;;;;;;;;;;; draws the obutin ; cx=numfaces; si=facelist mov es,ds,cs push cx push cx mov di,tempstore l1:push cx movsw ; set colors mov cl,3 xor dx,dx l0:lodsb ; vertexnum...
libsrc/_DEVELOPMENT/z80/c/sdcc/z80_indr.asm
jpoikela/z88dk
640
58755
; void *z80_indr(void *dst, uint8_t port, uint8_t num) SECTION code_clib SECTION code_z80 PUBLIC _z80_indr EXTERN asm_z80_indr _z80_indr: pop af pop hl pop bc push bc push hl push af jp asm_z80_indr
Transynther/x86/_processed/AVXALIGN/_st_zr_4k_sm_/i7-7700_9_0x48.log_21829_2182.asm
ljhsiun2/medusa
9
58757
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1e48f, %r8 nop nop nop nop nop and %rcx, %rcx and $0xffffffffffffffc0, %r8 vmovntdqa (%r8), %ymm2 vextracti128 $0, %ymm2, %xmm2 vpextrq $1, %xmm2, %rbx nop nop nop nop add $7...
Working Disassembly/Levels/HCZ/Misc Object Data/Map - Breakable Bar.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
58759
Map_21CDCA: dc.w Frame_21CDDA-Map_21CDCA ; ... dc.w Frame_21CDE8-Map_21CDCA dc.w Frame_21CDFC-Map_21CDCA dc.w Frame_21CE16-Map_21CDCA dc.w Frame_21CE1E-Map_21CDCA dc.w Frame_21CE2C-Map_21CDCA dc.w Frame_21CE40-Map_21CDCA dc.w Frame_21CE5A-Map_21CDCA Frame_21CDDA: dc.w 2 dc.b $E0, 3, 0, 0,$FF,$FA dc...
Projects/PJZ2/Framework/IntroStandalone.asm
jonathanbennett73/amiga-pjz-planet-disco-balls
21
58760
<reponame>jonathanbennett73/amiga-pjz-planet-disco-balls ***************************************************************************** ; Name : IntroStandalone.s ; Coded by : Antiriad (<NAME> <<EMAIL>) ; Description : Simulates framework so individual parts can be tested. ; Date last edited : 04/02/2020 ...
programs/oeis/262/A262564.asm
neoneye/loda
22
58761
<reponame>neoneye/loda ; A262564: A politician's answer to the question "What comes next after 2,3,5?". ; 2,3,5,4,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75 ...
cc4x86/tests/regressive/asm_listings/regalloc_bug__optimize_noinline.asm
artyompal/C-compiler
4
58762
<gh_stars>1-10 .686 .model flat .xmm .code _f proc push ebp mov ebp,esp push edi push esi mov edi,[ebp+12] mov esi,[ebp+8] add esi,edi mov eax,esi pop esi pop edi pop ebp...
python/buffer-overflow-runner/src/shellcode.asm
Kyledmw/student-projects
0
58763
<reponame>Kyledmw/student-projects<gh_stars>0 global _start section .text _start: xor eax, eax xor ebx, ebx push eax mov al, 0x66 mov bl, 0x1 push ebx push 0x2 mov ecx, esp int 0x80 mov esi, eax xor edx, edx push edx push word 0x611E push word 0x2 mov ecx, esp mov al, 0x66 mov bl, 0x2 push 0x10 pus...
src/util/oli/app/listsel.asm
olifink/qspread
0
58764
; List Select 23/01-92 O.Fink section utility xdef mu_listsl xref ut_usmen xref ut_frmen include win1_keys_thg include win1_keys_menu ;+++ ; List select entry ; ; Entry Exit ; D0.l error, 0 or +1 for ESC ; D1.l origin or -1 preserved ; D2.l colourways (list|main) preserved ; D3.l menu item c...
programs/oeis/130/A130195.asm
karttu/loda
0
58765
; A130195: Row sums of triangle A130194. ; 1,3,2,-2,-1,5,4,-4,-3,7,6,-6,-5,9,8,-8,-7,11,10,-10,-9,13,12,-12,-11,15,14,-14,-13,17,16,-16,-15,19,18,-18,-17,21,20,-20,-19,23,22,-22,-21,25,24,-24,-23,27,26,-26,-25,29,28,-28,-27,31,30,-30,-29,33 add $0,1 mov $4,1 lpb $0,1 mov $2,$4 add $2,$3 add $2,$4 mov $1,$2 m...
Practical Exam/P11.a51
pronoym99/Microcontrollers-and-Applications
1
58767
<filename>Practical Exam/P11.a51<gh_stars>1-10 org 0000h mov a,55h ;store your byte in accumulator mov r1,#08h ;byte = 8 bits clr c ;clear carry before further operations mov r2,#00h ;counter for 1s one_check:rlc a ;rot...
3/list.asm
diab0l/euler.asm
0
58768
section .text global list_create, list_add, list_remove, list_clear list_create: sub rsp, 8 mov rax, 0 add rsp, 8 ret list_add: ret list_remove: ret list_clear: ret
Working Disassembly/General/Sprites/Boss Explosion/Map - Boss Explosion.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
58769
<gh_stars>1-10 Map_83FFC: dc.w word_84008-Map_83FFC dc.w word_84010-Map_83FFC dc.w word_84018-Map_83FFC dc.w word_84020-Map_83FFC dc.w word_84028-Map_83FFC dc.w word_84030-Map_83FFC word_84008: dc.w 1 ; DATA XREF: ROM:00083FFCo dc.b $F8, 5, 0, 0, $FF, $F8 word_84010: dc.w 1 ; DATA XREF: ROM:000...
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_445.asm
ljhsiun2/medusa
9
58770
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r9 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x19014, %r9 nop nop nop nop cmp $1831, %rcx mov $0x6162636465666768, %rbp movq %rbp, %xmm0 vmovups %ymm0, (%r9) inc %r9 lea addresses_A_ht+0x138f4, %rbx nop nop ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_10_1011.asm
ljhsiun2/medusa
9
58771
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0xcca, %r10 nop nop nop nop nop dec %rbx mov $0x6162636465666768, %r11 movq %r11, %xmm3 and $0xffffffffffffffc0, %r10 vmovaps %ymm3, (%r10) nop nop nop nop cmp ...
smsq/ioa/ffsd.asm
olifink/smsqe
0
58772
* Find filing system device V2.03  1986 <NAME> QJUMP * * 2004-09-21 2.02 check that drive number <= 8 (wl) * 2005-11-17 2.03 try to release DDB if table is full (MK) * section ioa * xdef ioa_ffsd * xref ioa_ckch xref mem_achp xref mem_rchp xref cv_cttab * include dev8_keys_err include dev8_keys_sys ...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca_notsx.log_20_689.asm
ljhsiun2/medusa
9
58773
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xfe3a, %rsi nop nop cmp %rcx, %rcx movw $0x6162, (%rsi) nop nop nop xor $2342, %r11 lea addresses_normal_ht+0x1d63a, %r15 nop nop nop cmp %r9, %r9 mov $0x6162636465666768, %rdx ...
programs/oeis/028/A028725.asm
jmorken/loda
1
58774
; A028725: a(n) = floor(n/2) * floor(n/2-1/2) * floor(n/2-1) * floor(n/2-3/2) * floor(n/2-2) / 12. ; 0,0,0,0,0,0,1,3,12,24,60,100,200,300,525,735,1176,1568,2352,3024,4320,5400,7425,9075,12100,14520,18876,22308,28392,33124,41405,47775,58800,67200,81600,92480,110976,124848,148257,165699,194940,216600,252700,279300,323400...
libsrc/_DEVELOPMENT/string/z80/__str_locate_nul.asm
jpoikela/z88dk
8
58775
<gh_stars>1-10 SECTION code_clib SECTION code_string PUBLIC __str_locate_nul __str_locate_nul: ; enter : hl = char *s ; ; exit : hl = ptr in s to terminating 0 ; bc = -(strlen + 1) ; a = 0 ; carry reset ; ; uses : af, bc, hl xor a ld c,a ld b,a cpir...
bms/BmsReadEventQue.asm
osfree-project/FamilyAPI
1
58776
;/*! ; @file ; ; @ingroup fapi ; ; @brief BmsReadEventQue DOS wrapper ; ; (c) osFree Project 2018, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author <NAME> (<E...
oeis/336/A336959.asm
neoneye/loda-programs
11
58777
; A336959: E.g.f.: 1 / (1 - x * exp(-2*x)). ; Submitted by <NAME> ; 1,1,-2,-6,40,120,-1872,-3920,155776,56448,-19946240,44799744,3588719616,-21265587200,-850126505984,9423227873280,251457224998912,-4665150579572736,-88212028284665856,2663461772025462784,34353949630376181760,-1756678038088484388864 mov $3,1 lpb $0 su...
programs/oeis/248/A248157.asm
karttu/loda
0
58778
; A248157: Expansion of (1 - 2*x^2)/(1 + x)^2. First column of Riordan triangle A248156. ; 1,-2,1,0,-1,2,-3,4,-5,6,-7,8,-9,10,-11,12,-13,14,-15,16,-17,18,-19,20,-21,22,-23,24,-25,26,-27,28,-29,30,-31,32,-33,34,-35,36,-37,38,-39,40,-41,42,-43,44,-45,46,-47,48,-49,50,-51,52,-53,54,-55,56,-57 mov $3,$0 add $0,7 mod $0,2 ...
MSDOS/Virus.MSDOS.Unknown.tsres.asm
fengjixuchui/Family
3
58780
;************************************************************* ;** Terminate-but-Stay-Resident ** ;** Original from the "Programmer's Journal" ** ;** Modified by <NAME>. ** ;** Any comments/question send message for "<NAME>" ** ;** on the PDSE BBS (...
oeis/122/A122365.asm
neoneye/loda-programs
11
58781
; A122365: The (1,6)-entry of the matrix M^n, where M is the 6 X 6 matrix {{1, 1, 1, 1, 1, 1},{1, 0, 0, 0, 1, 0},{1, 0, 0, 1, 0, 0},{1, 0, 1, 0, 0, 0},{1, 1, 0, 0, 0, 0}, {1, 0, 0, 0, 0, 0}}. ; Submitted by <NAME> ; 0,1,1,6,15,53,160,517,1621,5150,16267,51513,162944,515673,1631609,5162966,16336695,51693645,163571104,51...
release/src/router/gmp/source/mpn/powerpc64/mode64/invert_limb.asm
zhoutao0712/rtn11pb1
184
58782
dnl PowerPC-64 mpn_invert_limb -- Invert a normalized limb. dnl Copyright 2004, 2005, 2006, 2008 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl The GNU MP Library is free software; you can redistribute it and/or modify dnl it under the terms of the GNU Lesser General Public Lice...
programs/oeis/097/A097817.asm
neoneye/loda
22
58783
<filename>programs/oeis/097/A097817.asm ; A097817: E.g.f. exp(2x)/(1-3x). ; 1,5,34,314,3784,56792,1022320,21468848,515252608,13911820928,417354628864,13772702754560,495817299168256,19336874667570176,812148736037963776,36546693121708402688,1754241269842003394560 add $0,1 mov $2,1 lpb $0 sub $0,1 mul $2,3 add $1,$...
oeis/061/A061377.asm
neoneye/loda-programs
11
58784
<filename>oeis/061/A061377.asm ; A061377: a(1) = 1, a(n+1) = numerator of the continued fraction [1; 2, 4, 8, ..., 2^n]. ; Submitted by <NAME> ; 1,3,13,107,1725,55307,3541373,453351051,116061410429,59423895490699,60850185043886205,124621238393774438539,510448653311085144141949,4181595492545647894585284747,6851126106031...
oeis/129/A129726.asm
neoneye/loda-programs
11
58785
; A129726: a(n) = a(n-1) + prime(n) - prime(n-1) + 2. ; Submitted by <NAME>(s3) ; 2,5,9,13,19,23,29,33,39,47,51,59,65,69,75,83,91,95,103,109,113,121,127,135,145,151,155,161,165,171,187,193,201,205,217,221,229,237,243,251,259,263,275,279,285,289,303,317,323,327,333,341,345,357,365,373,381,385,393,399,403,415,431,437,441...
disasm/gf166.asm
volkertb/digpak
3
58786
.model tiny, C VERSION_NUMBER equ 320 INCLUDE COMPAT.INC INCLUDE PROLOGUE.MAC ;; common prologue INCLUDE SOUNDRV.INC CPROC equ <Proc near C> .code assume es:nothing, ss:nothing;, ds:nothing org 100h start: jmp LoadSound DIGPAK db 'DIGPAK',0,0Dh,0Ah IDENTIFIER db 'Advanced Gravis ...
programs/oeis/199/A199705.asm
jmorken/loda
1
58789
<filename>programs/oeis/199/A199705.asm ; A199705: Number of -n..n arrays x(0..2) of 3 elements with zero sum and no two neighbors equal. ; 6,14,32,52,82,114,156,200,254,310,376,444,522,602,692,784,886,990,1104,1220,1346,1474,1612,1752,1902,2054,2216,2380,2554,2730,2916,3104,3302,3502,3712,3924,4146,4370,4604,4840,5086...
src/test-programs/exp/exp.asm
SebastianPilarski/MIPS_Pipelined_Processor
4
58790
# exp.asm # $1 => result # $2 => y # $3 => x # $4 => y & 1 # $5 => 1 # $6 => data section address addi $6, $0, 2000 # Initializing the beginning of Data Section address in memory addi $5, $0, 1 # Constant 1 # Prepare arguments # -----------------------------------------------------------------...
CSC-308/MASM/Loop.asm
FrancesCoronel/cs-hu
2
58792
<reponame>FrancesCoronel/cs-hu ; ; Loop ; .386 .model flat,stdcall .STACK include kernel32.inc include masm32.inc includelib kernel32.lib includelib masm32.lib .DATA ExitMsg byte "Press any key to continue . . . ", 00dh, 00ah, 0 CRLF byte 00dh, 00ah, 0 i byte 10 dup (0) continue byte 0 .CODE ...
hamming.asm
mnito/hamming-asm
0
58796
;;;;;;;; ; x86-64 hamming.asm ; ; Routines for calculating hamming distance ; ; nasm -f macho64 hamming.asm -o hamming.o (macOS) ; ; To run independently, uncomment "global start" and link with ; ld -lSystem hamming.o -o hamming (macOS) ; BITS 64 default rel ; relative addressing section ....
C/BiosLib/gotoxy.asm
p-k-p/SysToolsLib
232
58797
PAGE ,132 TITLE System utilities, not relying on MS-DOS. ;*****************************************************************************; ; ; ; FILE NAME: GOTOXY.ASM ; ; ; ; DESCRIPTION: Routine to move the cursor anywhere on screen ; ; ; ; NOTES:...
programs/oeis/135/A135179.asm
neoneye/loda
22
58798
; A135179: p^5 - p^3 - p^2. Exponents are the prime numbers in decreasing order and p is the n-th prime. ; 20,207,2975,16415,159599,368927,1414655,2468879,6423647,20485919,28598399,69291935,115785599,146927087,229238975,418043807,714715439,844365599,1349819855,1803866399,2072677247,3076557119,3938461967,5583346559,8586...
6/boot_sect_segmentation.asm
luckyagarwal/os_
0
58799
<reponame>luckyagarwal/os_ mov ah,0x0e;for tty mode mov al,[the_secret] int 0x10 mov bx,0x7c0 mov ds,bx mov al,[the_secret] int 0x10 mov al,[es:the_secret] ;but es is intially contains 0x000 int 0x10 mov bx,0x7c0; it is not necessary! mov es,bx mov al,[es:the_secret] int 0x10 jmp $ the_secret: db "x" times 510...
programs/oeis/068/A068551.asm
neoneye/loda
22
58800
; A068551: a(n) = 4^n - binomial(2*n,n). ; 0,2,10,44,186,772,3172,12952,52666,213524,863820,3488872,14073060,56708264,228318856,918624304,3693886906,14846262964,59644341436,239532643144,961665098956,3859788636664,15488087080696,62135313450064,249227373027556,999489300404872,4007681094422392,16067459083833872,6440890343...
intel_x86/contrast.asm
marcin-waszak/mips_histogram
0
58802
<filename>intel_x86/contrast.asm ;contrast.asm section .data imax: dq 255.0 imax2: dq 127.5 imin: dq 0.0 section .text global contrast global makelutc ; void contrast(SDL_Surface *srf, double a, int *hist_in, int *hist_out) contrast: push ebp mov ebp, esp sub esp, 256 ; lut array, 4 bytes per int * 256 colors ...
src/data.asm
Daivuk/NESEngine
0
58804
palWorld1_sprites: .incbin "assets/world1_sprites.pal" tiles: .incbin "assets/tiles.bin" worldDataFile: .incbin "assets/world.bin" worldPalettes = worldDataFile worldHeader = worldDataFile + 128 worldData = worldDataFile + 128 + 5
JBrex/resources/rules2rulePartsPortolan.asm
valeriocos/jbrex
6
58806
<?xml version = '1.0' encoding = 'ISO-8859-1' ?> <asm version="1.0" name="0"> <cp> <constant value="rules2rulePartsPortolan"/> <constant value="links"/> <constant value="NTransientLinkSet;"/> <constant value="col"/> <constant value="J"/> <constant value="ALL_RULE_PARTS"/> <constant value="main"/> <cons...
coverage/IN_CTS/0485-COVERAGE-brw-shader-624/work/variant/1_spirv_asm/shader.frag.asm
asuonpaa/ShaderTests
0
58807
<reponame>asuonpaa/ShaderTests ; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 80 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %61 ...
PRG/levels/Sky/Unused9.asm
narfman0/smb3_pp1
0
58809
<filename>PRG/levels/Sky/Unused9.asm ; Original address was $ACA9 ; Unused space with a bunch of mostly inaccessible [?] blocks .word W504_EndL ; Alternate level layout .word W504_EndO ; Alternate object layout .byte LEVEL1_SIZE_08 | LEVEL1_YSTART_140 .byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .by...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_21829_640.asm
ljhsiun2/medusa
9
58810
<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_21829_640.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %rdi lea addresses_WC_ht+0xb201, %r13 nop nop nop nop sub %rdi, %rdi mov $0x6162636465666768, %r12 movq %r12, %xmm6 movups %xmm6, (%r13)...
2020 Fall E C E 252/EX10A/absval.asm
jsswd888/2020_FALL_UW_MADISON
0
58811
<reponame>jsswd888/2020_FALL_UW_MADISON ; This program replaces the value in R0 with its absolute value. ; ; It does NOT modify any other registers! ; .ORIG x0200 START ADD R0, R0, #0 ; copy R0 to itself to set the condition codes based on R0 BRzp DONE ; if R0 is NON-NEGATIVE, skip the nega...
programs/oeis/033/A033131.asm
karttu/loda
1
58813
<filename>programs/oeis/033/A033131.asm ; A033131: Base-4 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,0. ; 1,5,20,81,325,1300,5201,20805,83220,332881,1331525,5326100,21304401,85217605,340870420,1363481681,5453926725,21815706900,87262827601,349051310405,1396205241620,55848209...
oeis/215/A215492.asm
neoneye/loda-programs
11
58814
<reponame>neoneye/loda-programs ; A215492: a(n) = 21*a(n-2) + 7*a(n-3), with a(0)=0, a(1)=3, and a(2)=6. ; Submitted by <NAME> ; 0,3,6,63,147,1365,3528,29694,83643,648270,1964361,14199171,45789471,311933118,1060973088,6871121775,24463966674,151720368891,561841152579,3357375513429,12860706786396,74437773850062,293576471...
src/sound/song074restored.asm
MusicTheorist/Mother2GbaTranslation
1
58817
song074restored_pri equ 0 song074restored_rev equ 0 song074restored_mvl equ 127 song074restored_key equ 0 song074restored_tbs equ 1 song074restored_exg equ 0 song074restored_cmp equ 1 .align 4 ;**************** Track 1 (Midi-Chn.1) ****************; @song074restored_1: .byte TEMPO , 59 .byte KEYSH , song...
data/mapHeaders/vermilionmart.asm
adhi-thirumala/EvoYellow
16
58818
<filename>data/mapHeaders/vermilionmart.asm VermilionMart_h: db MART ; tileset db VERMILION_MART_HEIGHT, VERMILION_MART_WIDTH ; dimensions (y, x) dw VermilionMartBlocks, VermilionMartTextPointers, VermilionMartScript ; blocks, texts, scripts db $00 ; connections dw VermilionMartObject ; objects
oeis/174/A174548.asm
neoneye/loda-programs
11
58819
<reponame>neoneye/loda-programs ; A174548: Decimal expansion of e - 1/e. ; Submitted by <NAME>(s3) ; 2,3,5,0,4,0,2,3,8,7,2,8,7,6,0,2,9,1,3,7,6,4,7,6,3,7,0,1,1,9,1,2,0,1,6,3,0,3,1,1,4,3,5,9,6,2,6,6,8,1,9,1,7,4,0,4,5,9,1,3,0,8,2,6,0,2,6,6,1,5,1,3,4,6,0,8,6,4,7,7,9,1,2,1,4,2,3,4,9,0,4,1,7,9,2,4,6,7,8,3 mov $1,1 mov $2,1 ...
programs/oeis/183/A183982.asm
neoneye/loda
22
58820
<reponame>neoneye/loda ; A183982: 1/4 the number of (n+1) X 6 binary arrays with all 2 X 2 subblock sums the same. ; 25,27,30,36,46,66,102,174,310,582,1110,2166,4246,8406,16662,33174,66070,131862,263190,525846,1050646,2100246,4198422,8394774,16785430,33566742,67125270,134242326,268468246,536920086,1073807382,2147581974...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_12477_691.asm
ljhsiun2/medusa
9
58821
<filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_12477_691.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x12425, %rdx nop nop nop sub $48065, %r15 mov (%rdx), %edi nop nop xor %rax, %rax lea addresses...
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_empty.asm
jpoikela/z88dk
640
58822
; int p_forward_list_empty(p_forward_list_t *list) SECTION code_clib SECTION code_adt_p_forward_list PUBLIC p_forward_list_empty EXTERN asm_p_forward_list_empty defc p_forward_list_empty = asm_p_forward_list_empty ; SDCC bridge for Classic IF __CLASSIC PUBLIC _p_forward_list_empty defc _p_forward_list_empty = p_f...
programs/oeis/265/A265359.asm
jmorken/loda
1
58824
; A265359: Spiralwise distance to the nearest inner neighbor in Ulam-style square-spirals using zero-based indexing: a(0) = 0, for n >= 1, a(n) = n - A265409(n). ; 0,1,2,3,4,5,6,7,7,8,9,9,10,11,11,11,12,13,13,13,14,15,15,15,15,16,17,17,17,17,18,19,19,19,19,19,20,21,21,21,21,21,22,23,23,23,23,23,23,24,25,25,25,25,25,25,...
oeis/287/A287818.asm
neoneye/loda-programs
11
58825
; A287818: Number of nonary sequences of length n such that no two consecutive terms have distance 3. ; Submitted by <NAME> ; 1,9,69,531,4089,31491,242529,1867851,14385369,110789811,853254609,6571393371,50609994249,389776014531,3001884188289,23119197549291,178053936060729,1371293449053651,10561101680875569,813369806373...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_152.asm
ljhsiun2/medusa
9
58826
<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_152.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1d260, %rsi lea addresses_normal_ht+0x17672, %rdi nop and %r15, %r15 mov $55, %rcx re...
samples/exemplo.asm
mateusragazzi/MIPS-Codes
2
58827
<filename>samples/exemplo.asm .text bubble_sort: addiu $sp,$sp,-40 sw $31,36($sp) sw $fp,32($sp) move $fp,$sp sw $4,40($fp) sw $5,44($fp) li $2,1 # 0x1 sw $2,24($fp) b aaa ...
src/kernel/enterlm.asm
jinet-vm/vmm
6
58829
<reponame>jinet-vm/vmm format ELF64 use64 section '.text' executable macro mbp ; todo { xchg bx, bx } VMX_ECX = 100000b PAGE_PRESENT = 01b PAGE_WRITE = 10b PAGE_SIZE = 10000000b include 'inc/consts.inc' extrn kernel_start public LongMode LongMode: mov ax, 0x0010 mov ds, ax mov es, ax mov fs, ax mov gs, ...
src/Native/Runtime/i386/GC.asm
OceanYan/corert
9
58830
<reponame>OceanYan/corert ;; Licensed to the .NET Foundation under one or more agreements. ;; The .NET Foundation licenses this file to you under the MIT license. ;; See the LICENSE file in the project root for more information. ;; ;; Unmanaged helpers used by the managed System.GC class. ;; .586 .model flat...
programs/oeis/341/A341104.asm
neoneye/loda
22
58831
; A341104: a(n) = [x^n] (x - 1)^4/((1 - 2*x)*(x^2 - 3*x + 1)). ; 1,1,4,11,30,81,217,578,1533,4053,10690,28145,74001,194370,510133,1338077,3508194,9194697,24092281,63114914,165317997,432970149,1133854594,2969117921,7774547745,20356622466,53299513957,139550308013,365368187298,956587808313,2504462346505 mov $3,2 mov $9,$...
libsrc/_DEVELOPMENT/stdio/c/sccz80/fputs_unlocked_callee.asm
jpoikela/z88dk
640
58832
; int fputs_unlocked(const char *s, FILE *stream) SECTION code_clib SECTION code_stdio PUBLIC fputs_unlocked_callee EXTERN asm_fputs_unlocked fputs_unlocked_callee: pop hl pop ix ex (sp),hl jp asm_fputs_unlocked
oeis/046/A046109.asm
neoneye/loda-programs
11
58833
; A046109: Number of lattice points (x,y) on the circumference of a circle of radius n with center at (0,0). ; Submitted by <NAME> ; 1,4,4,4,4,12,4,4,4,4,12,4,4,12,4,12,4,12,4,4,12,4,4,4,4,20,12,4,4,12,12,4,4,4,12,12,4,12,4,12,12,12,4,4,4,12,4,4,4,4,20,12,12,12,4,12,4,4,12,4,12,12,4,4,4,36,4,4,12,4,12,4,4,12,12,20,4,4,...
malban/Release/VRelease/Release.History/VRelease_2017_03_10_beta/objects.asm
mikepea/vectrex-playground
5
58835
u_offset1 = -TYPE ; behaviour offset is determined by next structure element ; all behaviour routines leave ; with u pointed to the next object structure (or 0) ; GENERAL Object functions ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;...
src/invaders.asm
howprice/specnext-invaders
17
58836
INVADER_MOVEMENT_ENABLED EQU 1 ; allow invader movement to be disabled for debugging INVADER_TYPE_COUNT EQU 3 INVADER_ROW_COUNT EQU 5 INVADER_COLUMN_COUNT EQU 11 INVADER_COUNT EQU INVADER_ROW_COUNT * INVADER_COLUMN_COUNT INVALID_INVADER_INDEX EQU $FF ASSERT INVADER_COUNT < INVALID_...
asm/z80/sort.asm
dimitrit/stalin-sort
0
58837
; CP/M 2.2 utility to sort uint8 numbers ; bdos .equ $05 ; bdos vector conout .equ $02 ; console output function writestr .equ $09 ; output string function cmdtail .equ $80 ; location of the cc...
libsrc/_DEVELOPMENT/z180/c/sccz80/z180_inir_callee.asm
jpoikela/z88dk
640
58838
<gh_stars>100-1000 ; void *z180_inir(void *dst, uint8_t port, uint8_t num) SECTION code_clib SECTION code_z180 PUBLIC z180_inir_callee EXTERN asm_z180_inir z180_inir_callee: pop hl pop de pop bc ex (sp),hl ld b,e jp asm_z180_inir
oeis/281/A281019.asm
neoneye/loda-programs
11
58840
<reponame>neoneye/loda-programs ; A281019: Partial products of A051953; a(1) = 1. ; Submitted by <NAME> ; 1,1,1,2,2,8,8,32,96,576,576,4608,4608,36864,258048,2064384,2064384,24772608,24772608,297271296,2675441664,32105299968,32105299968,513684799488,2568423997440,35957935964160,323621423677440,5177942778839040,517794277...
programs/oeis/016/A016260.asm
neoneye/loda
22
58841
<gh_stars>10-100 ; A016260: Expansion of 1/((1-x)(1-8x)(1-12x)). ; 1,21,325,4485,58501,739461,9173125,112474245,1368864901,16579770501,200184379525,2412029622405,29022892013701,348902996523141,4191862297147525,50342558276728965,604432385008416901 lpb $0 mov $2,$0 sub $0,1 seq $2,16188 ; Expansion of 1/((1-8x)*(1...
sys/gold/qlvers.asm
olifink/smsqe
0
58842
<filename>sys/gold/qlvers.asm ; (Super)GoldCard patch data. Deciphered by <NAME> ; ; Code in BOLD is original code sample that is to be patched. ; Additional lines have been added as comments to give some contexts section ver xdef ver_list xdef ver_indep xdef ver_addr include 'dev8_sys_gold_keys' include 'dev8...
bootstrap-from-serial-test-6111.asm
Data-ptr/TMP76C75T-MH6111-Bootloader-POC
0
58843
<gh_stars>0 ; MH6111/TMP76C75T Bootstrap from Serial test code (TASM) ; <NAME> ; 9th Feb 2022 ; ; XTAL = 12MHz, E = 12MHz/6 = 2MHz ; Baud rate = 2Mhz/4096 = 488 Baud (Nice and slow) ; Baud rate = 2Mhz/128 = 15,625 Baud ; Baud rate = 2Mhz/16 = 125,000 Baud (Holy smokes!) ; ; Run in Mode 2, Multiplexed/RAM/No ROM, P20: L...
programs/oeis/053/A053132.asm
karttu/loda
0
58845
; A053132: One half of binomial coefficients C(2*n-4,5). ; 3,28,126,396,1001,2184,4284,7752,13167,21252,32890,49140,71253,100688,139128,188496,250971,329004,425334,543004,685377,856152,1059380,1299480,1581255,1909908,2291058,2730756,3235501,3812256,4468464,5212064,6051507,6995772,8054382,9237420,10555545,12020008,13642...
2.0/cpm20_code/as0com.asm
officialrafsan/CP-M
0
58846
<reponame>officialrafsan/CP-M TITLE 'ASM COMMON DATA AREA' ; ; COPYRIGHT (C) 1977, 1978 ; DIGITAL RESEARCH ; BOX 579, PACIFIC GROVE ; CALIFORNIA, 93950 ; ; COMMON DATA FOR CP/M ASSEMBLER MODULE ORG 100H ENDA EQU 20F0H ;END OF ASSEMBLER PROGRAM BDOS EQU 5H ;ENTRY TO DOS, USED TO COMPUTE END MEMORY LXI SP,E...
03 io_demo/io_demo.asm
sigseg5/play-with-nasm
0
58847
<filename>03 io_demo/io_demo.asm section .text global _start _start: mov eax, 4 mov ebx, 1 mov ecx, wlcm_msg mov edx, wlc_len int 0x80 ; %eax Name %ebx %ecx %edx %esx %edi ; 3 sys_read unsigned int char * size_t - - mov eax, 3 mov ebx, 0 ; STDIN descriptor ...
intel-avx2/matrix-vector/asm/matvec_avx.asm
yanyh15/vectorization-examples
0
58851
<reponame>yanyh15/vectorization-examples<filename>intel-avx2/matrix-vector/asm/matvec_avx.asm # mark_description "Intel(R) C Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 19.1.0.166 Build 20191121"; # mark_description "-o asm/matvec_avx.asm -O2 -fma -xCORE_AVX2 -march=skylake -S -masm=intel"; ....
oeis/030/A030945.asm
neoneye/loda-programs
11
58852
; A030945: [ exp(3/11)*n! ]. ; Submitted by <NAME> ; 1,2,7,31,157,945,6620,52962,476658,4766581,52432391,629188699,8179453089,114512343252,1717685148793,27482962380696,467210360471843,8409786488493177,159785943281370370,3195718865627407416 add $0,1 mov $2,1 lpb $0 sub $1,3 add $1,$0 mul $2,$0 sub $0,1 add $1...
programs/oeis/027/A027963.asm
karttu/loda
0
58853
; A027963: T(n,n+3), T given by A027960. ; 1,6,19,47,101,199,370,661,1148,1954,3278,5442,8967,14696,23993,39065,63483,103025,167040,270655,438346,709716,1148844,1859412,3009181,4869594,7879855,12750611,20631713,33383659,54016798,87401977,141420392,228824086,370246298,599072310,969320643,1568395100,2537718005,4106115485...
libsrc/graphics/spc1000/plotpixl.asm
jpoikela/z88dk
640
58854
<filename>libsrc/graphics/spc1000/plotpixl.asm SECTION code_clib PUBLIC plotpixel EXTERN plot_MODE0 EXTERN plot_MODE1 EXTERN plot_MODE2 EXTERN __tms9918_plotpixel EXTERN __spc1000_mode INCLUDE "target/spc1000/def/spc1000.def" plotpixel: ld a,(__spc1000_mode) cp 1 jp z,plot_MOD...
programs/oeis/047/A047311.asm
karttu/loda
1
58855
<reponame>karttu/loda ; A047311: Numbers that are congruent to {4, 5, 6} mod 7. ; 4,5,6,11,12,13,18,19,20,25,26,27,32,33,34,39,40,41,46,47,48,53,54,55,60,61,62,67,68,69,74,75,76,81,82,83,88,89,90,95,96,97,102,103,104,109,110,111,116,117,118,123,124,125,130,131,132,137,138,139,144 mov $1,$0 div $0,3 mul $0,4 add $1,$0 ...
Transynther/x86/_processed/NC/_ht_zr_/i3-7100_9_0xca_notsx.log_21829_955.asm
ljhsiun2/medusa
9
58856
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x15b66, %rsi lea addresses_WC_ht+0x1d502, %rdi nop add $48232, %rdx mov $15, %rcx rep movsb nop nop inc %r9 lea addresses_WT_ht+0x20a6, %r12 clflush (%r12) cmp $18983, %r13 mo...
libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/realloc_unlocked_callee.asm
jpoikela/z88dk
640
58857
<gh_stars>100-1000 ; void *realloc_unlocked_callee(void *p, size_t size) SECTION code_clib SECTION code_alloc_malloc PUBLIC _realloc_unlocked_callee EXTERN asm_realloc_unlocked _realloc_unlocked_callee: pop af pop hl pop bc push af jp asm_realloc_unlocked
45/qb/ir/extort.asm
minblock/msdos
0
58858
<reponame>minblock/msdos<gh_stars>0 page 49,132 TITLE EXTORT - Runtime Dispatch Support ;*** ;exToRt - Runtime Dispatch Support ; ; Copyright <C> 1986, Microsoft Corporation ; ;Purpose: ; ; The calling sequence required to get to the runtime is not small. ; This module supports a size efficient method of getti...