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
programs/oeis/107/A107857.asm
karttu/loda
0
127197
<gh_stars>0 ; A107857: a(n) = floor[(phi + n mod 2)*a(n-1)], a(1)=1. ; 1,1,2,3,7,11,28,45,117,189,494,799,2091,3383,8856,14329,37513,60697,158906,257115,673135,1089155,2851444,4613733,12078909,19544085,51167078,82790071,216747219,350704367,918155952,1485607537,3889371025 mov $3,1 mul $3,$0 add $0,$3 add $0,$3 div $0,2...
repl/libmarkab/vm/store_fetch.nasm
samblenny/markab-lab
0
127198
; Copyright (c) 2022 <NAME> ; SPDX-License-Identifier: MIT ; ; MarkabForth store and fetch words (meant to be included in ../libmarkab.nasm) ; This include path is relative to the working directory that will be in effect ; when running the Makefile in the parent directory of this file. So the ; include path is relativ...
lab6/final.bcomp.asm
SunnyCapt/csbasics
0
127199
<filename>lab6/final.bcomp.asm ORG 000 TOBACK: WORD ? BR TSFVU ORG 006 X: WORD ? ORG 0FF BEGIN: EI SPIN: CLA DI ADD X INC JSR CHECKA; if -30<=A<=33 then NOP else MIN -> A MOV X EI BR SPIN ;============================...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_505.asm
ljhsiun2/medusa
9
127200
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0xccb, %r8 clflush (%r8) nop and $11742, %r15 mov (%r8), %r9d nop nop nop dec %rcx lea addresses_WT_ht+0xc59b, %rsi lea addresses_normal_ht+0xa6a3, %rdi nop nop nop dec %rax mov...
programs/oeis/136/A136290.asm
neoneye/loda
22
127201
; A136290: a(0)=1, a(1)=3, a(2)=9, a(3)=12, a(4)=15; thereafter a(n) = a(n-1)+a(n-3)-a(n-4). ; 1,3,9,12,15,21,24,27,33,36,39,45,48,51,57,60,63,69,72,75,81,84,87,93,96,99,105,108,111,117,120,123,129,132,135,141,144,147,153,156,159,165,168,171,177,180,183,189,192,195,201,204,207,213,216,219,225,228,231,237,240,243,249,25...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_237.asm
ljhsiun2/medusa
9
127202
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1e270, %rdx nop nop dec %rax movups (%rdx), %xmm2 vpextrq $1, %xmm2, %rcx nop nop sub $56480, %rax lea addresses_normal_ht+0x14270, %rsi lea addresses_D_ht+0x...
FlaxVM/bin/Debug/SqrNum.asm
DreamVB/FlaxVM
0
127203
# Square number entered from console SYS 2 DUP MUL STA A LDA A SYS 3 PUSH 10 SYS 4 POP HLT
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1415.asm
ljhsiun2/medusa
9
127204
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1a48a, %r12 nop nop nop nop nop add $55819, %r11 mov (%r12), %bp nop and $61099, %r13 lea addresses_A_ht+0x2bf, %r12 nop nop nop nop sub ...
compsci courses/CPSC355 - Computing Machinery/misc/otherresources/week5/globalvariables/charasm.asm
q-omar/UofC
1
127205
//Using characters and strings in assembly using .byte, .ascii, .asciz or .string // This section contains program text .text strg: .byte 'h', 'e', 'l', 'l', 'o', 'w' ,'o' ,'r' ,'l' ,'d' ,'!' //Missing null character //Strings are null terminated new: .ascii " \n %c %c %c %c %c \n" .byte 0 ...
oeis/004/A004568.asm
neoneye/loda-programs
11
127206
; A004568: Expansion of sqrt(6) in base 9. ; Submitted by <NAME> ; 2,4,0,3,6,0,8,2,4,4,8,4,8,1,8,5,1,1,0,2,5,7,3,1,4,4,6,1,1,4,5,6,2,3,8,4,7,1,1,3,3,1,6,3,8,3,4,1,5,3,7,6,4,6,6,4,6,8,3,5,8,4,6,6,6,6,0,1,4,3,1,3,7,0,0,8,1,5,1,4,6,1,3,6,7,3,6,8,4,4,2,3,2,2,2,8,7,6,7,3 mov $1,1 mov $2,1 mov $3,$0 add $3,2 mov $4,$0 add $...
programs/oeis/051/A051437.asm
karttu/loda
1
127207
; A051437: Number of undirected walks of length n+1 on an oriented triangle, visiting n+2 vertices, with n "corners"; the symmetry group is C3. Walks are not self-avoiding. ; 1,3,4,10,16,36,64,136,256,528,1024,2080,4096,8256,16384,32896,65536,131328,262144,524800,1048576,2098176,4194304,8390656,16777216,33558528,671088...
programs/oeis/072/A072818.asm
neoneye/loda
22
127208
; A072818: Possibly the only integers of the form sqrt(m^2*(m^2-1)*2/3) [only checked for the first 5 terms]. ; 0,20,1960,192060,18819920,1844160100,180708869880,17707625088140,1735166549767840,170028614252160180,16661069030161929800,1632614736341616960220,159979583092448300171760,15676366528323591799872260,15361239401...
oeis/143/A143055.asm
neoneye/loda-programs
11
127209
<reponame>neoneye/loda-programs<filename>oeis/143/A143055.asm ; A143055: The real part of complex sequence: a(n) = a(n-1) + (1+i)*a(n-2). ; Submitted by <NAME> ; 0,1,1,2,3,4,5,4,-1,-16,-51,-124,-265,-520,-955,-1652,-2689,-4080,-5635,-6668,-5433,1896,22965,72028,174095,370496,725101,1328452,2292823,3722904,5631525,77434...
oeis/233/A233543.asm
neoneye/loda-programs
11
127212
; A233543: Table T(n,m) = m! read by rows. ; Submitted by Jon Maiga ; 1,1,1,1,1,2,1,1,2,6,1,1,2,6,24,1,1,2,6,24,120,1,1,2,6,24,120,720,1,1,2,6,24,120,720,5040,1,1,2,6,24,120,720,5040,40320,1,1,2,6,24,120,720,5040,40320,362880 lpb $0 add $2,1 sub $0,$2 lpe add $1,1 lpb $0 mul $1,$0 sub $0,1 lpe mov $0,$1
programs/oeis/051/A051690.asm
neoneye/loda
22
127214
<gh_stars>10-100 ; A051690: a(n) = (5*n+9)(!^5)/9(!^5), related to A034301 ((5*n+2)(!^5) quintic, or 5-factorials). ; 1,14,266,6384,185136,6294624,245490336,10801574784,529277164416,28580966878464,1686277045829376,107921730933080064,7446599434382524416,551048358144306806784,43532820293400237735936,365675690464561996981...
programs/oeis/266/A266464.asm
jmorken/loda
1
127215
; A266464: Number of n X 2 binary arrays with rows and columns lexicographically nondecreasing and column sums nonincreasing. ; 2,4,7,12,19,29,42,59,80,106,137,174,217,267,324,389,462,544,635,736,847,969,1102,1247,1404,1574,1757,1954,2165,2391,2632,2889,3162,3452,3759,4084,4427,4789,5170,5571,5992,6434,6897,7382,7889,8...
examples/ex6.asm
michalmalik/pvm
2
127216
<filename>examples/ex6.asm JMP start #include "memory.asm" .mem_1 DAT 0x1000 .mem_2 DAT 0x2000 :start PUSH 0x10 PUSH 0xF00D PUSH [mem_1] JTR write_mem ADD SP,3 PUSH 0x8 PUSH [mem_1] PUSH [mem_2] JTR copy_mem ADD SP,3
src/LKS/Clear.asm
Kannagi/LKS
6
127217
<reponame>Kannagi/LKS LKS_Clear_RAM: rep #$20 lda #0 ldx #$00 -: sta $7E2000,x sta $7E8000,x sta $7F0000,x sta $7F8000,x inx inx cpx #$8000 bne - ldx #$00 -: sta $0000,x inx inx cpx #$1FF0 bne - sep #$20 rtl LKS_Clear_VRAM: SNES_VMADD $0000 ldy #$0000 ld...
generated-src/win-x86_64/crypto/fipsmodule/rdrand-x86_64.asm
jylama99/aws-lc
0
127218
; This file is generated from a similarly-named Perl script in the BoringSSL ; source tree. Do not edit by hand. default rel %define XMMWORD %define YMMWORD %define ZMMWORD %ifdef BORINGSSL_PREFIX %include "boringssl_prefix_symbols_nasm.inc" %endif section .text code align=64 global CRYPTO_rdran...
oeis/130/A130031.asm
neoneye/loda-programs
11
127219
; A130031: Row sums of triangle A129467. ; 1,1,-1,5,-55,1045,-30305,1242505,-68337775,4851982025,-431826400225,47069077624525,-6166049168812775,955737621165980125,-172988509431042402625,36154598471087862148625,-8640949034589999053521375,2341697188373889743504292625 mov $2,1 mov $3,3 lpb $0 sub $0,1 mul $3,$2 add...
dino/lcs/123p/AF.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
127220
<filename>dino/lcs/123p/AF.asm copyright zengfr site:http://github.com/zengfr/romhack 01A638 move.b D0, ($af,A6) 01A63C move.b D0, ($83,A6) 01A75C move.b ($af,A6), D0 01A760 move.b D0, ($af,A6) 01A764 cmpi.b #$4, D0 [123p+ AF] 01A93E move.b D0, ($af,A6) 01A942 moveq #$8, D0 copyright zengfr site:h...
src/test/ref/post-increment-problem-4.asm
jbrandwood/kickc
2
127221
// Illustrates a problem with post-incrementing inside the while loop condition // https://gitlab.com/camelot/kickc/-/issues/486 // Commodore 64 PRG executable file .file [name="post-increment-problem-4.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$...
data/mapObjects/route8gate.asm
adhi-thirumala/EvoYellow
16
127223
Route8GateObject: db $a ; border block db $4 ; warps db $3, $0, $1, $ff db $4, $0, $1, $ff db $3, $5, $3, $ff db $4, $5, $3, $ff db $0 ; signs db $1 ; objects object SPRITE_GUARD, $2, $1, STAY, DOWN, $1 ; person ; warp-to EVENT_DISP ROUTE_8_GATE_WIDTH, $3, $0 EVENT_DISP ROUTE_8_GATE_WIDTH, $4, $0 EVENT...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_886.asm
ljhsiun2/medusa
9
127224
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x727a, %rbp nop nop cmp $45727, %r10 mov (%rbp), %rcx nop nop nop nop nop inc %rsi lea addresses_A_ht+0x1c55a, %r12 nop cmp $19426, %r13 mov (%r12), %edx nop nop and %rsi, %r...
oeis/097/A097776.asm
neoneye/loda-programs
11
127225
<reponame>neoneye/loda-programs<filename>oeis/097/A097776.asm ; A097776: Pell equation solutions (14*b(n))^2 - 197*a(n)^2 = -1 with b(n)=A097775(n), n >= 0. ; Submitted by <NAME>(s2) ; 1,785,617009,484968289,381184458145,299610499133681,235493471134615121,185097568701308351425,145486453505757229604929,11435216735795648...
cs315/example_code/x86/hello_world/An Intel implementation.asm
tcsiwula/c_code
1
127227
<reponame>tcsiwula/c_code ; File: hello.asm ; Purpose: hello, world program that uses Intel syntax ; ; Assemble: nasm -f elf hello.asm ; Link: ld -melf_i386 -o hello hello.o ; Run: ./hello ; ; This is from the Linux Assembly Howto: ; ; http://www.tldp.org/HOWTO/Assembly-HOWTO/ section .text ...
oeis/345/A345367.asm
neoneye/loda-programs
11
127229
<gh_stars>10-100 ; A345367: a(n) = Sum_{k=0..n} binomial(4*k,k) / (3*k + 1). ; 1,2,6,28,168,1137,8221,62041,482773,3845033,31188921,256757719,2139691083,18015030073,153008796673,1309402039993,11279339531413,97724562251137,851035285261745,7445189624293545,65401191955640665,576639234410182210,5101317352349364430,45267961...
oeis/235/A235497.asm
neoneye/loda-programs
11
127230
<filename>oeis/235/A235497.asm ; A235497: 2n concatenated with n. ; Submitted by <NAME>(s1) ; 21,42,63,84,105,126,147,168,189,2010,2211,2412,2613,2814,3015,3216,3417,3618,3819,4020,4221,4422,4623,4824,5025,5226,5427,5628,5829,6030,6231,6432,6633,6834,7035,7236,7437,7638,7839,8040,8241,8442,8643,8844,9045,9246,9447,9648...
src/memmap.asm
geniiii/genesis-pong
0
127231
memmap_start: phase $FFFF0000 ram_start: equ * input_p1_press: ds.b 1 input_p1_held: ds.b 1 input_p2_press: ds.b 1 input_p2_held: ds.b 1 spr_num: ds.w 1 spr_table: ds.w spr_table_size_w entity_list: Entity [entity_max] ; Pointers to player objects p1: ds.l 1 p2: ds.l 1 p...
libsrc/stdlib/outp.asm
ahjelm/z88dk
640
127233
; CALLER linkage for function pointers SECTION code_clib PUBLIC outp PUBLIC _outp EXTERN asm_outp .outp ._outp pop af pop de pop bc push bc push de push af jp asm_outp
Mips Exersice/mips6.asm
Pandula1234/Machine-Instructions
0
127234
<reponame>Pandula1234/Machine-Instructions .text li $9,20 li $10,10 add $10,$9,$10 li $v0,10 syscall #adding number with system call li $t0, 3 li $t1, 5 add $a0, $t0,$t1 #mov $a0,$t2 li $v0,1 syscall li $v0,10 .data
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/cos.asm
Frodevan/z88dk
640
127236
SECTION code_fp_math32 PUBLIC cos EXTERN _m32_cosf defc cos = _m32_cosf ; SDCC bridge for Classic IF __CLASSIC PUBLIC _cos EXTERN cm32_sdcc_cos defc _cos = cm32_sdcc_cos ENDIF
programs/oeis/268/A268263.asm
karttu/loda
0
127237
; A268263: Number of length-(4+1) 0..n arrays with new repeated values introduced in sequential order starting with zero. ; 17,106,479,1610,4357,10082,20771,39154,68825,114362,181447,276986,409229,587890,824267,1131362,1524001,2018954,2635055,3393322,4317077,5432066,6766579,8351570,10220777,12410842,14961431,17915354,2...
oeis/135/A135809.asm
neoneye/loda-programs
11
127238
; A135809: Number of coincidence-free length n lists of 3-tuples with all numbers 1,...,n in tuple position k, for k=1,2,3. ; Submitted by <NAME> ; 1,0,7,194,13005,1660964,363083155,125447139558,64534483387801,47199368682436040,47309812970969661471,63078455495155600593290,109143265990975402533003877,2400338425422431243...
oeis/228/A228403.asm
neoneye/loda-programs
11
127239
<filename>oeis/228/A228403.asm ; A228403: The number of boundary twigs for complete binary twigs. A twig is a vertex with one edge on the boundary and only one other descendant. ; 1,4,10,28,84,264,858,2860,9724,33592,117572,416024,1485800,5348880,19389690,70715340,259289580,955277400,3534526380,13128240840,48932534040,...
oeis/283/A283419.asm
neoneye/loda-programs
11
127240
<reponame>neoneye/loda-programs ; A283419: a(n) is the multiplicative inverse of 3 modulo the n-th prime (n > 3). ; 2,5,4,9,6,13,8,10,21,25,14,29,16,18,20,41,45,24,49,53,28,30,65,34,69,36,73,38,85,44,46,93,50,101,105,109,56,58,60,121,64,129,66,133,141,149,76,153,78,80,161,84,86,88,90,181,185,94,189,98,205,104,209,106,2...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1168.asm
ljhsiun2/medusa
9
127241
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x8c71, %r12 nop nop inc %rdx mov (%r12), %r10d nop nop nop nop inc %r11 lea addresses_D_ht+0x18ad1, %rdx nop nop nop nop sub %rsi, %rsi vmovups (%rdx), %ymm7 vextracti128 $1,...
test/s/rect/RectL.asm
rolf0504/c2verilog
252
127242
<reponame>rolf0504/c2verilog<filename>test/s/rect/RectL.asm // This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by <NAME> Schocken, MIT Press. // File name: projects/06/rect/RectL.asm // Symbol-less version of the Rect.asm program. @0 D=M @23 D;JLE @16 M=D @16384 D=A @17...
programs/oeis/001/A001357.asm
neoneye/loda
22
127243
; A001357: Powers of 2 written in base 9. ; 1,2,4,8,17,35,71,152,314,628,1357,2725,5551,12212,24424,48848,108807,218715,438531,878162,1867334,3845668,7802447,16705005,34511011,70122022,150244044,310488088,621087187,1342185385,2684381781,5478773672,12068657454,24148426018,48307853037,107616816075,216334733161,4336705663...
f.asm
traidna/MUMPS-TI99-4A
0
127244
; for f.asm ; f var=1:1:10 ; f var=1:1 ; f ... For: push r11 ; should check if f space space bl @Set ; handels f var=val assigns val to var leaves on : after val mov @ErrNum,r1 ; get error status ci r1,0 ; if error is 0 jne forexit ; not zero so error clr r3 ; clr reg for...
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sccz80/p_forward_list_alt_remove_after_callee.asm
meesokim/z88dk
0
127246
<reponame>meesokim/z88dk ; void *p_forward_list_alt_remove_after(p_forward_list_alt_t *list, void *list_item) SECTION code_adt_p_forward_list_alt PUBLIC p_forward_list_alt_remove_after_callee p_forward_list_alt_remove_after_callee: pop af pop hl pop bc push af INCLUDE "adt/p_forward_list_alt/z80...
programs/oeis/239/A239443.asm
neoneye/loda
22
127247
<gh_stars>10-100 ; A239443: a(n) = phi(n^9), where phi = A000010. ; 1,256,13122,131072,1562500,3359232,34588806,67108864,258280326,400000000,2143588810,1719926784,9788768652,8854734336,20503125000,34359738368,111612119056,66119763456,305704134738,204800000000,453874312332,548758735360,1722841676182,880602513408,3051757...
P6/data_P6_2/cal_R_test13.asm
alxzzhou/BUAA_CO_2020
1
127248
lui $1,33820 ori $1,$1,43960 lui $2,3324 ori $2,$2,47321 lui $3,49975 ori $3,$3,35224 lui $4,1143 ori $4,$4,9377 lui $5,25192 ori $5,$5,16578 lui $6,48684 ori $6,$6,61249 mthi $1 mtlo $2 sec0: nop nop nop or $3,$6,$2 sec1: nop nop or $2,$6,$1 or $3,$6,$2 sec2: nop nop andi $2,$4,48405 or $0,$6,$2 sec3: nop...
programs/oeis/058/A058482.asm
neoneye/loda
22
127249
; A058482: Number of 3 X n binary matrices with no zero rows or columns. ; 1,25,265,2161,16081,115465,816985,5745121,40294561,282298105,1976795305,13839692881,96884227441,678208723945,4747518463225,33232801429441,232630126566721,1628412435648985,11398891698588745,79792255837258801,558545832702224401 lpb $0 sub $0,1 ...
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_1164.asm
ljhsiun2/medusa
9
127251
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_A_ht+0x11839, %rsi lea addresses_normal_ht+0x127d9, %rdi nop dec %r8 mov $59, %rcx rep movsl xor $57074, %r14 lea addresses_normal_ht+0x8839, %r9 clflush (%r...
sys/sdp/sbuf.asm
olifink/smsqe
0
127252
<gh_stars>0 ; DMP send buffer V2.01  1987 <NAME> QJUMP section sdp xdef sdp_sbuf xref sdp_save include dev8_keys_err include dev8_keys_qdos_io include dev8_sys_sdp_data reglist reg d1/d2/d3/a0/a1 ; trap #3 registers sdp_sbuf m...
project2/C851F381_ADC_any_pins.asm
jeffliou64/elec291
0
127253
;-------------------------------------------------------- ; File Created by C51 ; Version 1.0.0 #1069 (Apr 23 2015) (MSVC) ; This file was generated Sat Apr 02 16:55:19 2016 ;-------------------------------------------------------- $name C851F381_ADC_any_pins $optc51 --model-small $printf_float R_DSEG segme...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_477.asm
ljhsiun2/medusa
9
127254
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x2f82, %r11 clflush (%r11) nop nop nop nop nop mfence mov (%r11), %rdi nop inc %r9 lea addresses_WT_ht+0x82e2, %rsi lea addresses_D_ht+0xad42, %rdi nop nop ...
prove-esami/esame_22_dicembre_2020/_main.asm
unimoreinginfo/calcolatori
0
127256
<gh_stars>0 .586 .model flat .code _elimina_doppie proc push ebp mov ebp, esp push ebx push esi push edi mov eax, dword ptr[ebp + 8] ; stringa mov ebx, dword ptr[ebp + 12] ; char da trovare mov ecx, 0 ; coppie trovate mov edx, 0 ; carattere corrente mov esi, 0 ; La funzione deve cerc...
libsrc/target/z88/net/tcp_setctimeout.asm
jpoikela/z88dk
640
127257
<filename>libsrc/target/z88/net/tcp_setctimeout.asm ; ; This file is automatically generated ; ; Do not edit!!! ; ; djm 12/2/2000 ; ; ZSock Lib function: tcp_setctimeout SECTION code_clib PUBLIC tcp_setctimeout PUBLIC _tcp_setctimeout EXTERN no_zsock INCLUDE "packages.def" INCLUDE "zsock.def" .tcp_setc...
oeis/060/A060585.asm
neoneye/loda-programs
11
127258
<reponame>neoneye/loda-programs<filename>oeis/060/A060585.asm ; A060585: Write n in base 3, then (working from left to right) if the k-th digit of n is not equal to the digit to its left then the k-th digit of a(n) is 1, otherwise it is 0, and finally read the result as a base-2 number. ; Submitted by <NAME> ; 0,1,1,3,...
tests/pgm9.asm
stormalf/porth
0
127260
<reponame>stormalf/porth %define SYS_EXIT 60 BITS 64 segment .text global main extern printf print: mov rdi, format ; set 1st parameter (format) mov rsi, rax ; set 2nd parameter (current_number) xor rax, rax ; because printf is varargs ...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_720.asm
ljhsiun2/medusa
9
127261
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x207a, %rbp nop sub $28573, %r8 mov $0x6162636465666768, %rcx movq %rcx, %xmm1 and $0xffffffffffffffc0, %rbp vmovaps %ymm1, (%rbp) nop nop add $59468,...
programs/oeis/135/A135731.asm
jmorken/loda
1
127262
<filename>programs/oeis/135/A135731.asm ; A135731: a(1) = 3; thereafter a(n+1) = a(n) + nextprime(a(n)) - prevprime(a(n)). ; 3,6,8,12,14,18,20,24,30,32,38,42,44,48,54,60,62,68,72,74,80,84,90,98,102,104,108,110,114,128,132,138,140,150,152,158,164,168,174,180,182,192,194,198,200,212,224,228,230,234,240,242,252,258,264,27...
a51test/(95)SUBB_A_d.a51
Aimini/51cpu
0
127263
<filename>a51test/(95)SUBB_A_d.a51 MOV 0x43,#0x58 MOV 0x7D,#0x6D MOV 0x5B,#0x24 MOV 0x3F,#0x63 MOV 0x22,#0x47 MOV 0x46,#0x42 MOV 0x6A,#0x79 MOV 0x4E,#0x30 MOV 0x15,#0xFE DB 0xA5 SUBB A,0x43 ;A8 C=1 AC=1 SUBB A,0x7D ;3A OV=1 AC=1 SUBB A,0x5B ;16 SUBB A,0x3F ;B3 C=1 SUBB A,0x22 ;6B AC=1 OV=1 SUBB A,0x46 ;29 SUBB A,0x6A ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_109.asm
ljhsiun2/medusa
9
127264
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x3098, %r8 nop dec %r13 movw $0x6162, (%r8) nop nop nop nop nop cmp $18788, %rbp lea addresses_A_ht+0x1d758, %r13 nop add %r12, %r12 mov $0x6162636465666768, %r9 movq %r9, ...
test/unittest_draw_cross.asm
timont02/cesp_timon
0
127265
<gh_stars>0 #this is the unittest for the function "draw_cross". #input: # cross on field 3, 5 and 7 #expected output: # | | |X| # | |X| | # |X| | | utest_draw_cross: #draw a cross in the top right field li a3, 427 li a4, 85 li a7, 0xffffff jal draw_cross #draw a cross in the field in the middle l...
grep.asm
itouri/xv6
0
127266
<gh_stars>0 _grep: file format elf32-i386 Disassembly of section .text: 00000000 <grep>: char buf[1024]; int match(char*, char*); void grep(char *pattern, int fd) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 18 sub $0x18,%esp int n, m; c...
oeis/336/A336126.asm
neoneye/loda-programs
11
127267
<reponame>neoneye/loda-programs<filename>oeis/336/A336126.asm ; A336126: Lexicographically earliest infinite sequence such that a(i) = a(j) => A000035(i) = A000035(j) and A007814(1+A000265(i)) = A007814(1+A000265(j)), for all i, j >= 1. ; Submitted by <NAME> ; 1,2,3,2,1,4,5,2,1,2,3,4,1,6,7,2,1,2,3,2,1,4,5,4,1,2,3,6,1,8...
asm/inst_test_i2.asm
yoshiki9636/my-riscv-rv32i
1
127268
<reponame>yoshiki9636/my-riscv-rv32i<gh_stars>1-10 ;* ;* My RISC-V RV32I CPU ;* Test Code IF/ID Instructions : No.2 ;* RV32I code ;* @auther <NAME> <<EMAIL>> ;* @copylight 2021 <NAME> ;* @license https://opensource.org/licenses/MIT MIT license ;* @version 0.1 ;* nop nop ; clear LED to black addi x1, x0, 7 ...
MPI/Lab-7/output_8_2.asm
vishwas1101/Misc
0
127269
org 100h MOV AH, 01H INT 21H MOV AH, 02H INC AL MOV DL, AL INT 21H INC AL MOV DL, AL INT 21H ret
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1393.asm
ljhsiun2/medusa
9
127270
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x13b6e, %rsi lea addresses_WT_ht+0x1d1e4, %rdi nop and %r10, %r10 mov $119, %rcx rep movsl nop cmp $7099, %r9 lea addresses_WC_ht+0x1b044, %r9 nop nop nop nop nop inc...
Prim.asm
nandor-magyar/PrimeFinderAsm
0
127271
; Name: <NAME> ; EHA: MANUABT.SZE ; Code: IB414g-11 ; ; Application: Prime number finder ; ; Spefication: ; ~~~~~~~~~~~~ ; Find and print all the primes between 1 and 100 000. ; ; ; Usage: ; ~~~~~~ ; Compile & Run (MASM, Irvince32 library required) ; Line 22: "n = 100000" is the upper limit ; Line 23: "n = 316" is t...
init.asm
philiphossu/CS450-xv6
0
127272
_init: file format elf32-i386 Disassembly of section .text: 00000000 <main>: char *argv[] = { "sh", 0 }; int main(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 53 push %ebx 4: 83 e4 f0 and $0xfffffff0,%esp 7: 83 ec...
test/rtlargs/rtlargs.asm
orlandol/origow32
1
127273
<gh_stars>1-10 CPU 386 BITS 32 %include 'rtl.inc' segment .text use32 run: ..start: push ebp mov ebp, esp call InitRTL ; Duplicate InitRTL to test internal duplicate initialization guard call InitRTL push argCountText call echostring push dword [argc] call echouin...
programs/oeis/185/A185542.asm
neoneye/loda
22
127274
<reponame>neoneye/loda ; A185542: a(n) = m*(m+1)/2, where m = floor(n^(5/2)). ; 1,15,120,528,1540,3916,8385,16471,29646,50086,80601,124251,185745,269011,379756,524800,709836,944625,1237951,1599366,2041210,2577585,3216916,3980431,4884375,5939181,7172578,8605026,10253656,12149985,14313925,16776528,19565640,22717170,26263...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_5_272.asm
ljhsiun2/medusa
9
127275
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x18d52, %r9 nop nop sub $50732, %rdx movw $0x6162, (%r9) cmp $28062, %r11 lea addresses_UC_ht+0x7ad2, %rsi add %r13, %r13 movb $0x61, (%rsi) nop nop nop nop nop ...
oeis/220/A220755.asm
neoneye/loda-programs
11
127276
<filename>oeis/220/A220755.asm ; A220755: Numbers n such that n^2 + n(n+1)/2 is an oblong number (A002378). ; Submitted by <NAME> ; 0,1,28,117,2760,11481,270468,1125037,26503120,110242161,2597035308,10802606757,254482957080,1058545220041,24936732758548,103726628957277,2443545327380640,10164151092593121,2394425053505441...
progs/midterm-q01.asm
HKhademian/AssemblyDandamudi
1
127278
%include "lib.asm" extern ExitProcess global _start %macro puti 1 i2a DWORD %1, buffer puts buffer %endmacro %macro geti 0 fgets buffer, 12 a2i 12, buffer %endmacro section .bss buffer resb 1000 buffer2 resb 50 data resd 10 section .code NULL EQU 0 CRLF db 0DH, 0AH, NULL p01_start_p01: enter 12, 0 %define...
oeis/158/A158702.asm
neoneye/loda-programs
11
127279
<reponame>neoneye/loda-programs ; A158702: a(n) = Hermite(n, 19). ; Submitted by <NAME> ; 1,38,1442,54644,2067820,78140008,2948642104,111110719856,4180926365072,157097430355040,5894445678920224,220846987191867712,8262507708354728128,308674965224874843776,11514823478128021132160,428920393142568307396352,1595353023507375...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0_notsx.log_21829_972.asm
ljhsiun2/medusa
9
127280
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r8 push %rcx push %rdi push %rsi lea addresses_A_ht+0x7b7d, %rsi lea addresses_UC_ht+0xcf3d, %rdi nop nop nop cmp $2579, %r8 mov $108, %rcx rep movsw nop nop nop nop cmp %r13, %r13 lea addresses_WT_ht+0xe9dd, %rsi lea addresses_normal_ht+0...
codec/decoder/core/asm/block_add.asm
TechSmith/openh264
1
127281
;*! ;* \copy ;* Copyright (c) 2009-2013, Cisco Systems ;* All rights reserved. ;* ;* Redistribution and use in source and binary forms, with or without ;* modification, are permitted provided that the following conditions ;* are met: ;* ;* * Redistributions of source code must retain the abo...
oeis/142/A142644.asm
neoneye/loda-programs
11
127284
; A142644: Primes congruent to 9 mod 56. ; Submitted by <NAME> ; 233,401,457,569,1129,1297,1409,1801,1913,2081,2137,2417,2473,2753,3089,3257,3313,3593,3761,3929,4153,4657,4937,4993,5273,5441,6113,6337,6449,6673,6841,7121,7177,7457,7681,7793,8017,8297,8353,8521,8689,8969,9137,9473,9697,10313,10369,11321,11489,11657,1204...
Transynther/x86/_processed/US/_st_un_sm_/i3-7100_9_0x84_notsx.log_150_621.asm
ljhsiun2/medusa
9
127285
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x17fd0, %rsi lea addresses_WT_ht+0x1b1c8, %rdi clflush (%rdi) nop nop nop nop add %rbp, %rbp mov $44, %rcx rep movsq nop sub %rdi, %...
programs/oeis/256/A256135.asm
karttu/loda
0
127286
; A256135: a(n) = 5^A000120(n). ; 1,5,5,25,5,25,25,125,5,25,25,125,25,125,125,625,5,25,25,125,25,125,125,625,25,125,125,625,125,625,625,3125,5,25,25,125,25,125,125,625,25,125,125,625,125,625,625,3125,25,125,125,625,125,625,625,3125,125,625,625,3125,625,3125,3125,15625 mov $1,$0 mov $2,$0 mov $3,1 mul $3,$0 lpb $2,1 ...
text/menu.asm
Dimedime-d/kptranslation
3
127287
.loadtable "text/kp_eng.tbl" ;original table bugs out with capital M's ;menu description edits .org 0x08023288 bl MenuAddVW ;hack to above .org 0x080231BE b 0x08023288 .macro repointText,ptrLoc,msg .autoregion @txtPtr: .stringn msg+"<end>" :: .align 4 .endautoregion .org ptrLoc .word @txtPtr .endmacro rep...
Examples/conversion-routines/dwordbcd2ascii.asm
agguro/linux-nasm
6
127288
<filename>Examples/conversion-routines/dwordbcd2ascii.asm ;name: dwordbcd2ascii.asm ; ;description: convert 32 bit bcd in rdi to ascii in rax ; ;build: nasm -felf64 dwordbcd2ascii.asm -o dwordbcd2ascii.o bits 64 global dwordbcd2ascii section .text dwordbcd2ascii: push rcx push rdx mov eax,edi ...
gfx/PE_Icons.asm
tbsp/Adjustris
11
127289
; PE_ICONS.Z80 ; ; Tile Source File. ; ; Info: ; Section : Tiles ; Bank : 0 ; Form : All tiles as one unit. ; Format : Gameboy 4 color. ; Compression : None. ; Counter : None. ; Tile size : 16 x 16 ; ...
libsrc/stdlib/extract_bits_callee.asm
ahjelm/z88dk
640
127290
; ; Bit unpacking ; ; Stefano, 2012 ; ; unsigned long extract_bits(unsigned char *resp, unsigned int start, unsigned int size) ; SECTION code_clib PUBLIC extract_bits_callee PUBLIC _extract_bits_callee PUBLIC asm_extract_bits EXTERN extract_bits_sub .extract_bits_callee ._extract_bits_callee pop hl ...
programs/oeis/288/A288429.asm
neoneye/loda
22
127291
<filename>programs/oeis/288/A288429.asm<gh_stars>10-100 ; A288429: a(n) = 2*a(n-1) - a(n-2) + a(n-3) - a(n-4), where a(0) = 2, a(1) = 4, a(2) = 5, a(3) = 6. ; 2,4,5,6,9,13,18,26,38,55,80,117,171,250,366,536,785,1150,1685,2469,3618,5302,7770,11387,16688,24457,35843,52530,76986,112828,165357,242342,355169,520525,762866,1...
Transynther/x86/_processed/NC/_ht_zr_/i9-9900K_12_0xa0_notsx.log_21829_22.asm
ljhsiun2/medusa
9
127292
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x45b8, %rsi lea addresses_normal_ht+0x35f8, %rdi and $18980, %rbx mov $58, %rcx rep movsl nop nop nop nop nop xor %r8, %r8 lea addresses_A_ht+0x9af8, %rbp and ...
Assembly/room_header_table.asm
Berserker66/Enemizer
2
127293
<reponame>Berserker66/Enemizer<filename>Assembly/room_header_table.asm moved_room_header_bank_value_address: db #$36 ; use above to index to this room_header_table: skip $1180 ; new location for room header table
data/pokemon/base_stats/regice.asm
AtmaBuster/pokeplat-gen2
6
127294
<reponame>AtmaBuster/pokeplat-gen2<filename>data/pokemon/base_stats/regice.asm db 0 ; species ID placeholder db 80, 50, 100, 50, 100, 200 ; hp atk def spd sat sdf db ICE, ICE ; type db 3 ; catch rate db 216 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_UNKNOWN ; gender ratio db 80 ; step cycles ...
asm/exercise_8.1/duration.asm
severinkaderli/BTI7061-CSBas
1
127295
section .data Colon: db ":" section .bss SecondText: resb 16 MinuteText: resb 16 HourText: resb 16 section .text global _start EXTERN printText, printNewline, convertNumberToString ;****************************************************************************** ; Increments the chronometer by one second. ; ; ...
programs/oeis/014/A014690.asm
neoneye/loda
22
127296
<filename>programs/oeis/014/A014690.asm<gh_stars>10-100 ; A014690: a(n) = n + prime(n+1). ; 4,7,10,15,18,23,26,31,38,41,48,53,56,61,68,75,78,85,90,93,100,105,112,121,126,129,134,137,142,157,162,169,172,183,186,193,200,205,212,219,222,233,236,241,244,257,270,275,278,283,290,293,304,311,318,325,328 mov $1,$0 seq $1,9809...
libsrc/_DEVELOPMENT/stdlib/z80/__dtoa_round.asm
meesokim/z88dk
0
127298
SECTION code_stdlib PUBLIC __dtoa_round __dtoa_round: ; HL = buffer_dst * ; IX = buffer * ; (IX-6) = flags, bit 7 = 'N', bit 4 = '#', bit 0 = precision==0 ; (IX-5) = iz (number of zeroes to insert before .) ; (IX-4) = fz (number of zeroes to insert after .) ; (IX-3) = tz (number of zeroes ...
ffight/lcs/1p/2C.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
127299
copyright zengfr site:http://github.com/zengfr/romhack 003AF4 move.l ($2,A1), ($2a,A6) [1p+24, 1p+26, boss+24, boss+26, container+24, container+26, enemy+24, enemy+26, weapon+24, weapon+26] 003AFA move.w ($6,A1), ($30,A6) [1p+2A, 1p+2C, boss+2A, boss+2C, container+2A, container+2C, enemy+2A, enemy+2C, weapon+2A, w...
main.asm
iairu/tasm_counter
0
127300
<gh_stars>0 ; Napíšte program (v JSI) ktorý umožní používateľovi pomocou argumentov zadaných na príkazovom riadku pri ; spúšťaní programu vykonať pre zadaný súbor/súbory (vstup) vybranú funkciu (viď. nižšieúlohy 1-20). Ak bude ; zadaný prepínač '-h', program musí zobraziť informácie o programe a jeho použití. V progr...
fill/Fill.asm
anish-sk/Nand2Tetris-project4
0
127301
<reponame>anish-sk/Nand2Tetris-project4 // This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by <NAME>, MIT Press. // File name: projects/04/Fill.asm // Runs an infinite loop that listens to the keyboard input. // When a key is pressed (any key), the program blacken...
cmd/format/glblinit.asm
minblock/msdos
0
127303
<reponame>minblock/msdos<filename>cmd/format/glblinit.asm ;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ ;=========================================================================== ; ; FILE: GLBLI...
HW_Example/h702.asm
smallru8/smallMasmLib
0
127304
TITLE (.asm) INCLUDE Irvine32.inc INCLUDE Macros.inc .data MAX = 256 string BYTE MAX+1 DUP(0) freqTable DWORD 256 DUP(0) .code main PROC mWrite "Destination string : " mov edx,OFFSET string mov ecx,MAX call ReadString mov esi,OFFSET string mov edi,OFFSET freqTable call strlen mov e...
src/z3/ending.asm
PJBoy/alttp_sm_combo_randomizer_rom
31
127305
<gh_stars>10-100 ; prevent ending without beating both games ; org $02b797 ; Hook Link entering triforce room jml alttp_check_ending org $0ee645 jml alttp_setup_credits org $f7fe00 base $b7fe00 alttp_check_ending: lda.b #$01 sta.l !SRAM_ALTTP_COMPLETED lda.l !SRAM_SM_COMPLETED bne .sm_com...
oeis/169/A169687.asm
neoneye/loda-programs
11
127306
<gh_stars>10-100 ; A169687: a(n) = 3^n - 3*2^(n-2). ; 6,21,69,219,681,2091,6369,19299,58281,175611,528369,1588179,4770681,14324331,42997569,129041859,387223881,1161868251,3485997969,10458780339,31377913881,94136887371,282416953569,847263443619,2541815496681,7625496821691,22876591128369,68629974711699,205890326788281,61...
assembly_tests/testStack.asm
znjRoLS/ss
0
127307
<gh_stars>0 .data .int 0 a: .char 'F' .char 'O' .char 'O' .text .global main main: mov r0, 0x1 mov r1, a call equal add r0, 1, equal #B bne $t0, 42, foo #C equal: la $a0, TEXT jal printf #A mov pc, lr
programs/oeis/165/A165721.asm
karttu/loda
1
127308
<filename>programs/oeis/165/A165721.asm<gh_stars>1-10 ; A165721: Integers of the form k*(k+13)/12. ; 4,14,22,25,35,55,69,74,90,120,140,147,169,209,235,244,272,322,354,365,399,459,497,510,550,620,664,679,725,805,855,872,924,1014,1070,1089,1147,1247,1309,1330,1394,1504,1572,1595,1665,1785,1859,1884,1960,2090 add $0,3 ca...
tests/listing/sld/sld_tricky_instructions.asm
fengjixuchui/sjasmplus
220
127309
DEVICE ZXSPECTRUMNEXT ORG $8000 ; multi-argument instructions push af,hl,de ; 3x push instruction ld a,1,b,2,hl,$1234,de,$5678 ; 4x ld instruction ; all fake instructions nn EQU $56 mm EQU $78 rl bc ; rl c : rl b rl de ; rl e : rl d rl hl ; rl l : rl h ...
maps/GoldenrodDeptStoreRoof.asm
Dev727/ancientplatinum
28
127310
object_const_def ; object_event constants const GOLDENRODDEPTSTOREROOF_CLERK const GOLDENRODDEPTSTOREROOF_POKEFAN_F const GOLDENRODDEPTSTOREROOF_FISHER const GOLDENRODDEPTSTOREROOF_TWIN const GOLDENRODDEPTSTOREROOF_SUPER_NERD const GOLDENRODDEPTSTOREROOF_POKEFAN_M const GOLDENRODDEPTSTOREROOF_TEACHER const GOL...
smsq/java/driver/snd/sound.asm
olifink/smsqe
0
127311
<reponame>olifink/smsqe ; SOUND device driver open,close and io/routines v. 1.00 (c) W.Lenerz 2014 ; v. 1.00 2014 Jan 16 section sound include 'dev8_keys_java' include 'dev8_keys_err' include 'dev8_keys_qlv' include 'dev8_keys_qdos_sms' xdef snd_open xdef snd_close xdef snd_io ; open routine, chec...
oeis/011/A011659.asm
neoneye/loda-programs
11
127312
<gh_stars>10-100 ; A011659: A binary m-sequence: expansion of reciprocal of x^4+x+1. ; Submitted by <NAME> ; 0,0,0,1,1,1,1,0,1,0,1,1,0,0,1,0,0,0,1,1,1,1,0,1,0,1,1,0,0,1,0,0,0,1,1,1,1,0,1,0,1,1,0,0,1,0,0,0,1,1,1,1,0,1,0,1,1,0,0,1,0,0,0,1,1,1,1,0,1,0,1,1,0,0,1,0,0,0,1,1,1 mov $1,1 mov $5,1 lpb $0 sub $0,1 add $1,$3 ...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2168.asm
ljhsiun2/medusa
9
127313
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2168.asm .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r15 push %rbp push %rbx push %rsi // Faulty Load lea addresses_RW+0x15e79, %r15 nop nop nop xor $57619, %r10 movb (%r15),...