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
8_kyu/Grasshopper_Summation.asm
UlrichBerntien/Codewars-Katas
0
199318
section .text global summation ; input: ; rcx - value n ; output ; rax - sum of number 1..n ; Using Gauss formula summation: mov rax, rdi ; rax = n mov rcx, rdi inc rcx ; rcx = n+1 mul rcx ; rdx:rax = n*(n+1) sar rdx, 1 rcr rax, 1 ; rdx:rax = n*(n+1)/2 ...
Adding.asm
BitorqubitT/MIPS-basics
1
199321
#Loading two integer and adding them together and printing the result. .data number_a: .word 4 # Variable A. number_b: .word 5 # Variable B. .text main: lw $t1, number_a # Loading number_a into $t1. lw $t2, number_b # Loading number_b into $t2. add $t0, $t1, $t2 # Adding $t1 and $t2 and storing them in $t...
boot/floppyboot.asm
jpbottaro/minios
2
199323
%include "bios.mac" %include "fat12.mac" ; %include "definiciones.asm" ; Posiciones donde se cargan las cosas ;%define ADDR_DATA 0xB000 %define SEG_DATA 0x9B00 %define ADDR_STACK 0x5000 %define ADDR_KERN 0x1200 %define ADDR_BOOT 0x1000 %define ADDR_BOOTSEC 0x7c00 %define SEG_VIDEO 0xB800 BITS 16 ORG ADDR_BOOT ...
programs/oeis/029/A029927.asm
karttu/loda
0
199324
; A029927: Convert n from nautical miles to statute miles. ; 0,1,2,3,5,6,7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,28,29,30,31,32,33,35,36,37,38,39,40,41,43,44,45,46,47,48,49,51,52,53,54,55,56,58,59,60,61,62,63,64 mov $2,$0 mov $3,$0 div $0,2 add $0,$3 mov $1,$0 add $1,5 div $1,10 add $1,$2
programs/fib.asm
0xhh/TinyE8
59
199325
<gh_stars>10-100 LDI 1 STA 14 LDI 0 STA 15 OUT LDA 14 ADD 15 STA 14 OUT LDA 15 ADD 14 JC 13 JMP 3 HLT 0 1
oeis/010/A010036.asm
neoneye/loda-programs
11
199327
<filename>oeis/010/A010036.asm<gh_stars>10-100 ; A010036: Sum of 2^n, ..., 2^(n+1) - 1. ; 1,5,22,92,376,1520,6112,24512,98176,392960,1572352,6290432,25163776,100659200,402644992,1610596352,6442418176,25769738240,103079084032,412316598272,1649266917376,6597068718080,26388276969472,105553112072192,422212456677376,1688849...
src/firmware-tests/Platform/ShiftRegister/EnableDisable/EnableDisableSmpsTest.asm
pete-restall/Cluck2Sesame-Prototype
1
199329
#include "Platform.inc" #include "FarCalls.inc" #include "ShiftRegister.inc" #include "../../Smps/EnableDisableSmpsMocks.inc" #include "TestFixture.inc" radix decimal udata global numberOfEnableCalls global numberOfDisableCalls global expectedCalledEnableSmpsCount global expectedCalledDisableSmpsCount num...
programs/oeis/102/A102301.asm
karttu/loda
0
199331
; A102301: a(n) = ((3*n + 1)*2^(n+3) + 9 + (-1)^n)/18. ; 1,4,13,36,93,228,541,1252,2845,6372,14109,30948,67357,145636,313117,669924,1427229,3029220,6407965,13514980,28428061,59652324,124897053,260978916,544327453,1133394148,2356266781,4891490532,10140895005,20997617892,43426891549,89717094628,185160812317,381774870756,...
programs/oeis/248/A248184.asm
karttu/loda
1
199333
; A248184: Numbers k such that A248183(k+1) = A248183(k). ; 1,2,5,8,12,15,18,22,25,29,32,35,39,42,46,49,52,56,59,63,66,70,73,76,80,83,87,90,93,97,100,104,107,110,114,117,121,124,128,131,134,138,141,145,148,151,155,158,162,165,169,172,175,179,182,186,189,192,196,199,203,206,209,213,216,220,223,227,230,233,237,240,244,24...
u7-common/patch-eop-getPartyMemberIbo.asm
JohnGlassmyer/UltimaHacks
68
199334
<reponame>JohnGlassmyer/UltimaHacks ; Returns ibo of nth non-dead party member (ordered by NPC number). [bits 16] startPatch EXE_LENGTH, eop-getPartyMemberIbo startBlockAt addr_eop_getPartyMemberIbo push bp mov bp, sp ; bp-based stack frame: %assign arg_partyMemberIndex 0x04 %assign ____callerIp ...
asm/boot_sect_stack.asm
soragui/makeOS
0
199336
<filename>asm/boot_sect_stack.asm<gh_stars>0 mov ah, 0x0E ; tty mode mov bp, 0x8000 mov sp, bp push 'V' push 'I' push 'S' push 'U' push 'A' push 'L' mov al , [0x7FFE] int 0x10 pop bx mov al, bl int 0x10 pop bx mov al, bl int 0x10 pop bx mov al, bl int 0x10 pop bx mov al, bl int 0x10 pop bx mov al, bl int...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_821.asm
ljhsiun2/medusa
9
199337
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0xa619, %rsi lea addresses_normal_ht+0x1d219, %rdi clflush (%rdi) nop nop nop nop inc %r12 mov $82, %rcx rep movsb nop and %r8, %r8 lea addresses_A_ht+0x9999, %r...
oeis/054/A054968.asm
neoneye/loda-programs
11
199338
<gh_stars>10-100 ; A054968: 3*Fibonacci(n) - 11. ; 4,13,28,52,91,154,256,421,688,1120,1819,2950,4780,7741,12532,20284,32827,53122,85960,139093,225064,364168,589243,953422,1542676,2496109,4038796,6534916,10573723,17108650,27682384,44791045,72473440,117264496,189737947,307002454,496740412,803742877,1300483300,2104226188,...
src/kernel/drivers/soc/timer2_cseg.asm
rostislav-nikitin/socOS
1
199339
;======================================================================================================================= ; ; ; Name: socOS (System On Chip Operation System) ...
Transynther/x86/_processed/US/_zr_/i3-7100_9_0xca_notsx.log_21829_309.asm
ljhsiun2/medusa
9
199341
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r9 push %rcx push %rdi push %rsi lea addresses_normal_ht+0xa176, %rsi lea addresses_A_ht+0x135b6, %rdi nop nop inc %r12 mov $29, %rcx rep movsl nop nop nop sub %r9, %r9 lea addresses_D_ht+0x7fb6, %rsi and %r10, %r10 and $0xffffffffffffffc0, %rsi vmo...
gsconv850/examples/snoopy_c.asm
hwreverse/PocketComputerTools
4
199342
10 ORG 100H 20 JP MAIN 30GPF EQU 0BFD0H 40MAIN: LD HL,L0 50 LD B,48 60 LD DE,0 70 CALL GPF 80 LD HL,L1 90 LD B,48 100 LD DE,0100H 110 CALL GPF 120 LD HL,L2 130 LD B,48 140 LD DE,0200H 150 CALL GPF 160 LD HL,L3 170 LD B,48 180 LD DE,0300H 190 CALL GPF 200 LD HL,L4 210 LD B,48 220 LD DE,0400H 230 CALL GPF 240 LD HL,L5 25...
data/mapObjects/mtmoonpokecenter.asm
adhi-thirumala/EvoYellow
16
199343
MtMoonPokecenterObject: db $0 ; border block db $2 ; warps db $7, $3, $0, $ff db $7, $4, $0, $ff db $0 ; signs db $7 ; objects object SPRITE_NURSE, $3, $1, STAY, DOWN, $1 ; person object SPRITE_BUG_CATCHER, $4, $3, STAY, UP, $2 ; person object SPRITE_GENTLEMAN, $7, $3, STAY, UP, $3 ; person object SPRITE_F...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1253.asm
ljhsiun2/medusa
9
199344
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_normal_ht+0xcea2, %rdi nop nop nop nop sub %r9, %r9 mov (%rdi), %esi nop nop nop nop nop xor $65023, %r10 lea addresses_WT_ht+0x6fe2, %rcx clflush (%rcx) nop nop nop nop cmp %r13, %r13 mov (%rc...
oeis/055/A055533.asm
neoneye/loda-programs
11
199345
; A055533: Number of labeled order relations on n nodes in which longest chain has n-1 nodes. ; Submitted by <NAME>(s2) ; 1,12,108,960,9000,90720,987840,11612160,146966400,1995840000,28979596800,448345497600,7366565606400,128152088064000,2353813862400000,45527990796288000,925143000477696000 add $0,1 mov $1,1 add $1,$0...
Driver/Printer/PrintCom/printcomCanonRGBPage.asm
steakknife/pcgeos
504
199346
COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) MyTurn.com 2000 -- All Rights Reserved PROJECT: PC GEOS MODULE: printer drivers FILE: printcomCanonRGBPage.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- PrintStartPage initialize t...
compiler/ti-cgt-arm_18.12.4.LTS/lib/src/ull_div_t2.asm
JosiahCraw/TI-Arm-Docker
0
199347
;****************************************************************************** ;* ULL_DIV_T2.ASM - THUMB-2 STATE - * ;* * ;* Copyright (c) 1996 Texas Instruments Incorporated * ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1917.asm
ljhsiun2/medusa
9
199348
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1a3d8, %r10 nop sub $49909, %r15 movups (%r10), %xmm4 vpextrq $0, %xmm4, %rsi nop nop nop nop nop and $44133, %r9 lea addresses_D_ht+0x19d17, %rsi nop nop nop nop no...
multiplication_8bit.asm
Abhik-Kumar/8085
0
199349
<filename>multiplication_8bit.asm<gh_stars>0 //2K19/EE/009 <NAME> // Program to find multiplication of two 8 bit numbers. // Using addition method (Universal -> Answer 16bit) MVI A,00H //Clearing the accumulator MOV D, A // MOV is 1 bit instruction (MVI is 2 bit instruction) MVI B, FFH // Setting the data in registor...
audio/music/defeatedwildmon.asm
opiter09/ASM-Machina
1
199350
Music_DefeatedWildMon_Ch1:: tempo 112 volume 7, 7 execute_music duty_cycle 3 vibrato 6, 3, 4 toggle_perfect_pitch tempo 112 note_type 12, 11, 7 octave 3 note B_, 1 note A_, 1 note G#, 1 note F#, 1 note E_, 12 Music_DefeatedWildMon_branch_23b8b:: note_type 12, 6, 2 note E_, 2 note F#, 2 note E_, 2 no...
oeis/187/A187620.asm
neoneye/loda-programs
11
199351
<reponame>neoneye/loda-programs ; A187620: a(n) = n^6 - a(n-1), a(0)=1. ; Submitted by <NAME> ; 1,0,64,665,3431,12194,34462,83187,178957,352484,647516,1124045,1861939,2964870,4564666,6825959,9951257,14186312,19825912,27219969,36780031,48986090,64393814,83642075,107460901,136679724,172236052,215184437,266705867,32811745...
oeis/142/A142420.asm
neoneye/loda-programs
11
199353
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A142420: Primes congruent to 8 mod 49. ; Submitted by <NAME> ; 449,547,743,1429,1723,2017,2213,2311,2801,3389,4271,4663,4957,5153,5741,5839,6133,6329,6427,6917,7211,7309,7603,8093,8191,8387,8681,8779,9661,9857,10151,10739,10837,11131,11621,11719,12503,12601,13679,14071,...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_591.asm
ljhsiun2/medusa
9
199354
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1684d, %rbp clflush (%rbp) nop nop nop nop add %r12, %r12 mov (%rbp), %rdi cmp %rcx, %rcx lea addresses_normal_ht+0xc84d, %r14 nop nop nop cmp %r12...
Palmtree.Math.Core.Sint/vs_build/x64_Debug/pmc_memory.asm
rougemeilland/Palmtree.Math.Core.Sint
0
199356
<gh_stars>0 ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1 include listing.inc INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES _DATA SEGMENT COMM number_zero:BYTE:020H COMM number_one:BYTE:020H COMM number_minus_one:BYTE:020H COMM uint_number_zero:QWORD COMM uint_number_one:QWORD COMM hLocalH...
src/lib_load.asm
beckadamtheinventor/BOSos
1
199357
<filename>src/lib_load.asm ;@DOES load dynamic libraries, such as GraphX ;@INPUT A the file handle to the library to load ;@INPUT DE points to lib functions to load ;@OUTPUT C flag is set if failed ;@OUTPUT HL points to start of lib function jump table dynamic_lib_load: push de ld de,(free_RAM_ptr) call fs_Read ld...
programs/oeis/182/A182363.asm
karttu/loda
0
199358
<reponame>karttu/loda ; A182363: a(n+1) = a(n) + floor(a(n)/10) with a(0)=10. ; 10,11,12,13,14,15,16,17,18,19,20,22,24,26,28,30,33,36,39,42,46,50,55,60,66,72,79,86,94,103,113,124,136,149,163,179,196,215,236,259,284,312,343,377,414,455,500,550,605,665,731,804,884,972,1069,1175,1292 lpb $0,1 sub $0,1 add $2,1 mov ...
2020/19/monster_messages_p2.asm
ped7g/adventofcode
2
199359
<reponame>ped7g/adventofcode ; https://adventofcode.com/2020/day/19 (part 2) ; ; Technically this is the same file as "part 1 fix" (with minor patches/improvements), ; because there's no difference in the algorithm, the loops just work. ; Which leaves me wondering what kind of shortcut there may be in part 1 possible, ...
oeis/102/A102841.asm
neoneye/loda-programs
11
199361
<reponame>neoneye/loda-programs ; A102841: a(n) = ((9*n^2 + 33*n + 26)*2^n + (-1)^n)/27. ; Submitted by <NAME> ; 1,5,19,61,179,493,1299,3309,8211,19949,47635,112109,260627,599533,1366547,3089901,6937107,15476205,34331155,75769325,166451731,364127725,793500179,1723082221,3729512979,8048092653,17319057939,37173339629,795...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_290.asm
ljhsiun2/medusa
9
199362
<filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_290.asm .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0xda2b, %rbp nop nop nop cmp %r13, %r13 mov (%rbp), %rdi cmp $42231, %r15 lea addresses_D_ht...
oeis/142/A142193.asm
neoneye/loda-programs
11
199363
; A142193: Primes congruent to 27 mod 40. ; Submitted by <NAME>(s2) ; 67,107,227,307,347,467,547,587,787,827,907,947,1187,1307,1427,1627,1667,1747,1787,1867,1907,1987,2027,2267,2347,2467,2707,3067,3187,3307,3347,3467,3547,3907,3947,4027,4507,4547,4787,4987,5107,5147,5227,5347,5387,5507,5827,5867,5987,6067,6427,6547,682...
lib/cons_cells.asm
CaspianA1/RasmLISP
10
199365
<gh_stars>1-10 .global cons, car, cdr, list .text /* |objekt, pekare till nasta | 408383 string_hash(nil) Tag on cells, to see if it is a cons */ cons: # r12 = pair, r13 = tail push rbp mov rbp, rsp mov rdi, 16 and rsp, -16 call _GC_malloc mov r12, rax mov rsi, [rbp + 16] mov [r12], rsi mov r13, [rb...
Transynther/x86/_processed/NONE/_st_/i7-8650U_0xd2.log_1_1810.asm
ljhsiun2/medusa
9
199366
.global s_prepare_buffers s_prepare_buffers: push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x19dd1, %r9 nop nop nop nop sub $59543, %rax movw $0x6162, (%r9) nop add %rcx, %rcx lea addresses_UC_ht+0x4841, %rsi lea addresses_A_ht+0x7d91, %rdi nop add $34220, %rbp mov $81, %rcx rep movsq no...
oeis/165/A165804.asm
neoneye/loda-programs
11
199367
<filename>oeis/165/A165804.asm ; A165804: Numbers of the form i*8^j-1 (i=1..7, j >= 0). ; Submitted by <NAME> ; 0,1,2,3,4,5,6,7,15,23,31,39,47,55,63,127,191,255,319,383,447,511,1023,1535,2047,2559,3071,3583,4095,8191,12287,16383,20479,24575,28671,32767,65535,98303,131071,163839,196607,229375,262143,524287,786431,104857...
oeis/024/A024506.asm
neoneye/loda-programs
11
199368
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A024506: a(n) = [ C(2n,n)/2^(n+3) ]. ; Submitted by <NAME> ; 0,0,0,0,0,0,1,3,6,11,22,43,82,158,306,591,1146,2225,4327,8426,16432,32082,62707,122687,240263,470916,923720,1813228,3561699,7000581,13767809 seq $0,24504 ; a(n) = floor(C(2n,n)/2^(n+1)). div $0,4
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_68_1764.asm
ljhsiun2/medusa
9
199370
<filename>Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_68_1764.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_A_ht+0x10786, %r11 nop nop nop inc %r8 vmovups (%r11), %ymm5 vextracti128 $1, %ymm5, %xmm5 vpext...
data/mapHeaders/Route16FlyHouse.asm
AmateurPanda92/pokemon-rby-dx
9
199371
Route16FlyHouse_h: db HOUSE ; tileset db ROUTE_16_FLY_HOUSE_HEIGHT, ROUTE_16_FLY_HOUSE_WIDTH ; dimensions (y, x) dw Route16FlyHouse_Blocks ; blocks dw Route16FlyHouse_TextPointers ; texts dw Route16FlyHouse_Script ; scripts db 0 ; connections dw Route16FlyHouse_Object ; objects
SE-1/MAC/Assign13/cmdline.asm
Adityajn/College-Codes
1
199372
<gh_stars>1-10 %macro print 2 mov rax,1 mov rdi,1 mov rsi,%1 mov rdx,%2 syscall %endmacro section .data nl db 10 section .bss temp resb 1 count resb 1 section .text global _start _start: pop r8 mov al,r8b mov [count],al add r8b,30h mov [temp],r8b print temp,1 pop_again: print nl,1 pop r8 up: mov al,[r8] ...
Library/GrObj/UI/uiMoveInsideControl.asm
steakknife/pcgeos
504
199373
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: uiMoveInsideControl.asm AUTHOR: <NAME> METHODS: Name Description ---- ----------- FUNCTIONS: Scope Name Description ----- ---- --...
src/assembler/programs/addressing_modes.asm
hughcoleman/subleq
1
199375
;------------------------------------------------------------------------------ ; addressing_modes.asm ; A demonstration of the addressing_modes offered by the SUBLEQ assembler ;------------------------------------------------------------------------------ #set ENTRY=main m: int 17 n: int 189 main: ; print the val...
Driver/IFS/DOS/MSNet/msnetInitExit.asm
steakknife/pcgeos
504
199376
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: msnetInitExit.asm AUTHOR: <NAME>, Mar 29, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Descrip...
src/break.asm
Flodur871/Atari-Breakout
2
199377
<gh_stars>1-10 IDEAL MODEL small STACK 100h DATASEG ; -------------------------- filename db 'pic.bmp', 0 filename3 db 'pic4.bmp', 0 filename2 db 'pic2.bmp', 0 filename1 db 'pic1.bmp',0 filehandle dw ? Header db 54 dup (0) Palette db 256*4 dup (0) ScrLine db 320 dup (0) ErrorMsg db 'Error', 13, 10,'$' pa...
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_IterateUpdateSpr.asm
meesokim/z88dk
0
199378
<filename>libsrc/_DEVELOPMENT/temp/sp1/zx/c/sccz80/sp1_IterateUpdateSpr.asm ; void sp1_IterateUpdateSpr(struct sp1_ss *s, void *hook2) ; CALLER linkage for function pointers SECTION code_temp_sp1 PUBLIC sp1_IterateUpdateSpr EXTERN asm_sp1_IterateUpdateSpr sp1_IterateUpdateSpr: pop bc pop ix pop hl push...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0.log_21829_555.asm
ljhsiun2/medusa
9
199379
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1a45f, %rsi lea addresses_UC_ht+0x170d3, %rdi nop add $628, %rbx mov $0, %rcx rep movsl nop nop cmp $45226, %r12 lea addresses_A_ht+0x49d3, %rsi lea ...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_1345.asm
ljhsiun2/medusa
9
199380
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r8 push %rcx push %rdi push %rsi lea addresses_D_ht+0x101e8, %rsi lea addresses_normal_ht+0xd120, %rdi nop nop add %r11, %r11 mov $11, %rcx rep movsw nop nop nop add %rdi, %rdi lea addresses_normal_ht+0x4d58, %rsi lea addresses_normal_ht+0...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_1494_2887.asm
ljhsiun2/medusa
9
199382
<filename>Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_1494_2887.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_normal_ht+0x44a3, %rcx nop nop nop nop cmp $15463, %r8 mov $0x6162636465666768, %r11 movq %r11, %xmm1 and $0xffffff...
ASM_x86/LinuxAPI_05_fctl.asm
XlogicX/Learn
43
199383
<gh_stars>10-100 ;Example of fcntl API. API calls found in this example program: ; open, close, fcntl, exit ; High level description of what theis example program does: ; Opens a file with the open() API. ; Changes the flags for the file to NOATIME, APPEND, and WRONLY using fcntl()_SETFD ; Checks the flags of the file...
programs/oeis/225/A225826.asm
neoneye/loda
22
199384
; A225826: Number of binary pattern classes in the (2,n)-rectangular grid: two patterns are in same class if one of them can be obtained by a reflection or 180-degree rotation of the other. ; 1,3,7,24,76,288,1072,4224,16576,66048,262912,1050624,4197376,16785408,67121152,268468224,1073790976,4295098368,17180065792,68720...
Transynther/x86/_processed/NC/_ht_zr_/i7-8650U_0xd2.log_651_1832.asm
ljhsiun2/medusa
9
199385
<filename>Transynther/x86/_processed/NC/_ht_zr_/i7-8650U_0xd2.log_651_1832.asm .global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x16a7d, %rsi lea addresses_WC_ht+0xc64d, %rdi nop nop and $46400, %rbp mov $74, %rcx rep movsw no...
oeis/225/A225601.asm
neoneye/loda-programs
11
199386
; A225601: a(n) = A000172(n)^n, where A000172(n) = Sum_{k=0..n} binomial(n,k)^3 forms the Franel numbers. ; Submitted by <NAME> ; 1,2,100,175616,14331920656,57921784155180032,12255108779062338588246016,140335244044685299494850396160000000,89108073653130217591789722357691598453905367296,319444325535442832161150521348152...
oeis/211/A211789.asm
neoneye/loda-programs
11
199387
; A211789: Row sums of A211788. ; Submitted by <NAME> ; 1,2,9,50,310,2056,14273,102410,753390,5651948,43074218,332553252,2595442616,20443630100,162308182577,1297503030106,10435055801110,84371602316812,685424273207630,5592040955107420,45798007929729828,376384417859408704,3103058803838308954,25656870788281498180,21270086...
binutils-2.21.1/gcc-4.5.1/gcc/config/mcore/crtn.asm
cberner12/xv6
51
199388
<filename>binutils-2.21.1/gcc-4.5.1/gcc/config/mcore/crtn.asm<gh_stars>10-100 # crtn.asm for ELF based systems # Copyright (C) 1992, 1999, 2000, 2008, 2009 Free Software Foundation, Inc. # Written By <NAME>, June 1992 # # This file is free software; you can redistribute it and/or modify it # under the terms of the ...
Tests/src/Main/fIllegalInstruction.asm
SkyLined/mBugId
22
199389
IFDEF x86 .586 OPTION CASEMAP :NONE .MODEL flat, stdcall ENDIF _TEXT SEGMENT PUBLIC fIllegalInstruction IFDEF x86 fIllegalInstruction PROC ; Create stack frame (because there are no arguments) PUSH EBP MOV EBP, ESP ELSE fIllegalInstruction PROC FRAME ; Create stack...
Microprocessor lab/positiveNegative/PositiveNegative.nasm
IamVaibhavsar/Second_Year_Lab_Assignments
34
199390
;Write X86/64 ALP to count number of positive and negative numbers from the array global _start _start: section .text %macro disp 2 mov rax,1 mov rdi,1 mov rsi,%1 mov rdx,%2 syscall %endmacro disp msg1,lenm mov rsi,arr l2: push rsi mov rax,[rsi] call display disp msg,len pop rsi add rsi,8 dec byte[cnt] jnz l2 mo...
Friend_William_project_4.asm
William0Friend/my_masm
0
199391
<gh_stars>0 ;function mergesort(m) ; var list left, right, result ; if length(m) ≤ 1 ; return m ; else ; var middle = length(m) / 2 ; for each x in m up to middle - 1 ; add x to left ; for each x in m at and after middle ; add x to right ; left = merges...
bootloader/x86_64/startup-common.asm
ticki/redox
1
199392
SECTION .text USE16 startup: ; enable A20-Line via IO-Port 92, might not work on all motherboards in al, 0x92 or al, 2 out 0x92, al ; loading kernel to 1MiB ; move part of kernel to startup_end via bootsector#load and then copy it up ; repeat until all of the kernel is loaded ; buffersize in multiple...
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_1909_1186.asm
ljhsiun2/medusa
9
199393
<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_1909_1186.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0xc8a9, %rsi lea addresses_D_ht+0x1a45b, %rdi nop nop nop nop and %r12, %r12 mov $39, %rcx ...
master/rcpod-1.0/rcpod-1.0/firmware/usb_main.asm
AlexRogalskiy/DevArtifacts
4
199394
<filename>master/rcpod-1.0/rcpod-1.0/firmware/usb_main.asm ;################################################################################ ; ; usb_main.asm - Main loop and interrupt service routine for the rcpod project. ; ; This file is part of the rcpod project. This file is based on the revision 2.00 ; USB firmwar...
Driver/Printer/HP/QuietJet/quietjetCursor.asm
steakknife/pcgeos
504
199395
<filename>Driver/Printer/HP/QuietJet/quietjetCursor.asm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: quietjet print driver FILE: quietjetCursor.asm AUTHOR: <NAME> ROUTINES: Name ...
oeis/098/A098359.asm
neoneye/loda-programs
11
199397
; A098359: Multiplication table of the square numbers read by antidiagonals. ; Submitted by <NAME> ; 1,4,4,9,16,9,16,36,36,16,25,64,81,64,25,36,100,144,144,100,36,49,144,225,256,225,144,49,64,196,324,400,400,324,196,64,81,256,441,576,625,576,441,256,81,100,324,576,784,900,900,784,576,324,100,121,400,729 seq $0,3991 ; ...
cpython/Modules/_ctypes/libffi_msvc/arm.asm
ms-iot/python
70
199400
<reponame>ms-iot/python FFI_TYPE_VOID EQU 0 FFI_TYPE_INT EQU 1 FFI_TYPE_FLOAT EQU 2 FFI_TYPE_DOUBLE EQU 3 ;FFI_TYPE_LONGDOUBLE EQU 4 FFI_TYPE_UINT8 EQU 5 FFI_TYPE_SINT8 EQU 6 FFI_TYPE_UINT16 EQU 7 FFI_TYPE_SINT16 EQU 8 FFI_TYPE_UINT32 EQU 9 FFI_TYPE_SINT32 EQU 10 FFI_TYPE...
code/lcd.asm
nodiz/projectMatrix
0
199401
<filename>code/lcd.asm ; file lcd.asm target ATmega128L-4MHz-STK300 ; purpose LCD HD44780U library ; ATmega 128 and Atmel Studio 7.0 compliant ; === definitions === .equ LCD_IR = 0x8000 ; address LCD instruction reg .equ LCD_DR = 0xc000 ; address LCD data register ; === subroutines === LCD_wr_ir: ; in w ...
assembly/hello_world.asm
ChrisJBurns/mergesort-challenge
0
199402
<reponame>ChrisJBurns/mergesort-challenge<filename>assembly/hello_world.asm SYS_EXIT equ 0x02000001 SYS_WRITE equ 0x02000004 SYS_READ equ 0x02000003 STDOUT equ 1 STDIN equ 0 %macro write_string 2 mov rax, SYS_WRITE mov rdi, STDOUT mov rsi, %1 ...
routines/gui.asm
PeterTillema/Age-Of-CEmpires-I
20
199404
DrawGUI: ld de, 0 ; Black ld b, 225 ld hl, (currDrawingBuffer) ld sp, lcdWidth * lcdHeight add hl, sp ld sp, hl ld hl, 0010101h ; White .fill: ; (53 * 3) + 3 - 1 + (53 * 3) = lcdWidth db 53 dup 0D5h ; push de push hl inc sp db 53 dup 0D5h ; push de djnz .fill ; Draw minimap ld sp, 140 ...
src/wax4k.asm
Chysn/wAx
5
199405
<gh_stars>1-10 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; ; wAx 4K ; Integrated Monitor Tools ; (c)2020, <NAME> ; ; Release 1 - May 16, 2020 ; Release 2 - May 23, 2020 ;...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_554.asm
ljhsiun2/medusa
9
199406
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r14 push %r15 push %rbp push %rbx push %rdi // Load lea addresses_PSE+0x14d, %rbp dec %rdi vmovups (%rbp), %ymm0 vextracti128 $0, %ymm0, %xmm0 vpextrq $0, %xmm0, %rbx nop nop nop xor %r14, %r14 // Load...
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/ToolUnitTests/test_ip_access_app_intel64.asm
ArthasZhang007/15418FinalProject
0
199407
<reponame>ArthasZhang007/15418FinalProject ; ; Copyright (C) 2008-2012 Intel Corporation. ; SPDX-License-Identifier: MIT ; PUBLIC TestIpRead PUBLIC TestIpWrite PUBLIC Dummy .code TestIpRead PROC mov eax, DWORD PTR [mylabelR] mylabelR: ret TestIpRead ENDP TestIpWrite PROC mov BYTE P...
Transynther/x86/_processed/US/_st_4k_sm_/i7-8650U_0xd2.log_2184_487.asm
ljhsiun2/medusa
9
199408
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x1cd3e, %rsi nop nop and $31722, %r11 and $0xffffffffffffffc0, %rsi vmovaps (%rsi), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $0, %xmm1, %r9 nop xor %r13, %r13 lea addresses_...
benchmarks/simpl/x264/src/x264/common/x86/dct-a.asm
nicholasjalbert/Thrille
2
199411
;***************************************************************************** ;* dct-a.asm: h264 encoder library ;***************************************************************************** ;* Copyright (C) 2003-2008 x264 project ;* ;* Authors: <NAME> <<EMAIL>> ;* <NAME> <<EMAIL>> ;* <NAME> <<EMAIL...
programs/Servo.asm
TheLogicMaster/lm8
10
199412
; Servo test --- A worse version of the Arduino sweep example ; Set servo pin (Arduino 3) to output mode ldr $3,B out {arduino_output},B ; Setup timer 0 for 20ms cycles ldr {milliseconds},A out {timer_unit_0},A ldr #20,A out {timer_count_0},A ; Setup timer 1 for pulse ldr {centimillisecon...
oeis/023/A023952.asm
neoneye/loda-programs
11
199413
<filename>oeis/023/A023952.asm ; A023952: Expansion of 1/((1-x)(1-6x)(1-7x)(1-11x)). ; Submitted by <NAME> ; 1,25,416,5822,74319,898779,10511446,120335968,1358681621,15202492877,169098946380,1873624439778,20707233183547,228476788273759,2518219270791458,27735798399148292,305344872665615937,3360571543238002065,3697885445...
project.asm
Tazmain/AsmStuff
0
199414
<reponame>Tazmain/AsmStuff bits 16 org 0x100 ; This program accepts a number from the user as input ; and displays a message to say if the number if a multiple of 3 ; ;--------------------- Jump over data declarations jmp main ; ;prompt message: db 'Please enter the number you select $' ; Input_buffer i...
KavernsA81.1.asm
savetz/Kaverns-1
1
199415
; KAVERNS OF KFEST 1.1 ; by <NAME> ; KansasFest 2016 hackfest winner ; ported to the Atari February 2017 ; with massive help from <NAME> ; ; An Apple // is Atari 800 without the best chips ; MADS compatible source code for use in WUDSN IDE ; Set "Preferences / General / Editors / Text Editors / Displayed Tab Width" to...
multiply/multiply/multiply.asm
Shivaakriti/Basic_Assembly_Program
0
199416
.include "m128def.inc" .cseg .org 0x00 ldi r16,02 ldi r17,05 ldi r18,00 label: add r18,r16 dec r17 cpi r17,0 breq label1 jmp label label1: end : rjmp end
TestData/nano_jpeg.cfg.64.asm
robertmuth/Cwerg
171
199418
<reponame>robertmuth/Cwerg .mem __static_2__malloc_end 8 RW .data 8 "\x00" .mem __static_1__malloc_start 8 RW .data 8 "\x00" .mem __static_4_counts 1 RW .data 16 "\x00" .mem nj 8 RW .data 525032 "\x00" .mem njZZ 1 RW .data 1 "\x00\x01\x08\x10\x09\x02\x03\n\x11\x18 \x19\x12\x0b\x04\x05\x0c\x13\x1a!(0...
lib/am335x_sdk/ti/drv/icss_emac/firmware/icss_dualemac/src/emac_tts.asm
brandonbraun653/Apollo
2
199419
; ; TEXAS INSTRUMENTS TEXT FILE LICENSE ; ; Copyright (c) 2017 Texas Instruments Incorporated ; ; All rights reserved not granted herein. ; ; Limited License. ; ; Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive ; license under copyrights and patents it now or hereafter own...
Library/Text/UI/uiParaBGColor.asm
steakknife/pcgeos
504
199422
<filename>Library/Text/UI/uiParaBGColor.asm COMMENT @----------------------------------------------------------------------- Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: Text Library FILE: uiParaBGColorControl.asm ROUTINES: Name Description ---- ----------- GLB P...
P6/data_P6_2/MDTest8.asm
alxzzhou/BUAA_CO_2020
1
199423
<reponame>alxzzhou/BUAA_CO_2020<gh_stars>1-10 ori $ra,$ra,0xf addiu $4,$5,17646 sll $4,$4,9 mfhi $4 mtlo $6 ori $3,$0,2213 divu $2,$ra addiu $2,$0,22932 addiu $4,$4,-16327 sb $4,1($0) divu $0,$ra ori $3,$3,16915 srav $4,$4,$0 divu $4,$ra mult $5,$5 sll $5,$5,30 mthi $4 lb $0,6($0) lb $1,9($0) multu $5,$2 multu $5,$6 mt...
programs/oeis/122/A122794.asm
neoneye/loda
22
199424
; A122794: Connell (3,2)-sum sequence (partial sums of the (3,2)-Connell sequence). ; 1,3,8,16,25,37,52,70,91,113,138,166,197,231,268,308,349,393,440,490,543,599,658,720,785,851,920,992,1067,1145,1226,1310,1397,1487,1580,1676,1773,1873,1976,2082,2191,2303,2418,2536,2657,2781,2908,3038,3171,3305,3442,3582,3725,3871,4020...
oeis/036/A036709.asm
neoneye/loda-programs
11
199425
<filename>oeis/036/A036709.asm<gh_stars>10-100 ; A036709: a(n)=number of Gaussian integers z=a+bi satisfying |z|<=n+1/2, a>=0, b>=0. ; Submitted by <NAME> ; 1,4,8,13,22,30,41,52,65,83,98,117,135,158,181,203,232,261,290,320,349,386,422,459,496,539,581,622,669,713,764,813,861,914,971,1028,1086,1143,1206,1266,1333,1396,14...
Day2/day2_part1_asm.asm
svnesbo/advent_of_code_2020
0
199426
; file: day2_part1_asm.asm ; Verify that input string contains a count of search character ; in the range specified by [min,max] segment .text global day2_part1_asm ; Parameters: ; #1: (EBP+8): String pointer ; #2: (EBP+12): Search character ; #3: (EBP+16): Min count of search character ; #4: (EBP+20): Max c...
45/beef/cw/kernel/gwinterf.asm
minblock/msdos
0
199428
<reponame>minblock/msdos<gh_stars>0 ;* ;* COW : Character Oriented Windows ;* ;* gwinterf.asm : Global memory allocator - Windows interface procs .xlist include kernel.inc include galloc.inc .list IFDEF DEBUG CheckHeap MACRO n local ok cmp fCheckCwHeap,0 je ok cCall CheckGlobalHeap or ax,ax jz ok push ax ...
fpga/tb/rom.asm
zxrepo/UzixLS.zx-sizif-xxs
0
199429
<gh_stars>0 DEVICE ZXSPECTRUM48 ORG #8000 // mapped #0000 Start: nop jp #1000 ORG #8038 Int1: reti ORG #8066 Nmi: retn ORG #9000 Main: im 2 ei ld bc, #7ffd ld a, #83 .200 out (c), a //.72 nop //ld a, 7 //out (#fe), a //ld hl, #4000 //ld de,...
libsrc/_DEVELOPMENT/stdlib/c/sdcc_iy/utoa_callee.asm
jpoikela/z88dk
640
199430
; char *utoa_callee(unsigned int num, char *buf, int radix) SECTION code_clib SECTION code_stdlib PUBLIC _utoa_callee EXTERN asm_utoa _utoa_callee: pop af pop hl pop de pop bc push af jp asm_utoa
sbsext/ext/pusing.asm
olifink/smsqe
0
199431
<reponame>olifink/smsqe * Formatted print V0.01  1985 <NAME> QJUMP * * PRINT_USING #channel, format, items formatted PRINT command * section exten * xdef print_using * xref ut_chan1 get channel (default #1) xref ut_chkri check for room on RI stack xref ut_gtst1 get one string on RI stack xref ut_gtf...
x86_64/MatrixMul/MatrixMul_.asm
brucexia1/x86assembly
1
199432
<reponame>brucexia1/x86assembly<filename>x86_64/MatrixMul/MatrixMul_.asm ;======================================================================================== ; --Register-----|--Callee Save--|----------------------------Description---------------- ; | %rax | | 函数返回值寄存器;也用于idiv and imul指令 ;...
Day_2/code/print_integers.asm
hayrapetyan-armine/Assembly_ITC
0
199433
<reponame>hayrapetyan-armine/Assembly_ITC section .bss digitSpace resb 100 digitSpacePos resb 8 section .text global _start _start: mov rax, 1337 call _printRAX mov rax, 60 mov rdi, 0 syscall _printRAX: mov rcx, digitSpace mov rbx, 10 mov [rcx], rbx inc rcx mov [digitSpacePos], rcx _printRAXLoop: mov...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_942.asm
ljhsiun2/medusa
9
199434
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1bae8, %rsi lea addresses_UC_ht+0x1d856, %rdi nop nop and $22933, %rbx mov $109, %rcx rep movsw nop add %r8, %r8 lea addresses_A_ht+0x11e56, %rsi lea addresses_UC_ht+0x2256, %rdi add $...
cstartup.asm
jiangdb/acorn
0
199435
;===================================================================== ; File Name : cstartup.asm ; Description : Startup routine for csu8rp3216 ; This file contains the CSCC startup routine ; and must usually be tailored to suit customer's hardware ; Body Name : csu8rp3216 ;...
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0.log_21829_952.asm
ljhsiun2/medusa
9
199436
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x7657, %rsi lea addresses_D_ht+0x11937, %rdi nop nop nop sub $55403, %rdx mov $116, %rcx rep movsw nop nop nop nop xor %r13, %r13 lea addresses_UC_ht...
TestData/add_const.asm
robertmuth/Cwerg
171
199437
.fun const_1 NORMAL [S32] = [] .bbl start pusharg 1:S32 ret .fun const_2 NORMAL [S32] = [] .bbl start pusharg 2:S32 ret .fun add_them NORMAL [S32] = [S32 S32] .bbl start poparg dummy2:S32 poparg dummy3:S32 add res:S32 dummy2 dummy3 pusharg res ret .fun compute NORMAL [S32] = [] .reg S32 [tmp] .bbl...
Examples/ch15/Pixel1.asm
satadriver/LiunuxOS_t
0
199438
TITLE DrawLine Program (Pixel1.asm) ; This program draws a straight line, using INT 10h ; function calls. ; Last update: 12/14/01 INCLUDE Irvine16.inc ;------------ Video Mode Constants ------------------- Mode_06 = 6 ; 640 X 200, 2 colors Mode_0D = 0Dh ; 320 X 200, 16 colors Mode_0E = 0Eh ; 640 X 2...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_356_559.asm
ljhsiun2/medusa
9
199439
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1a1e8, %rsi lea addresses_WT_ht+0x649c, %rdi nop and %r11, %r11 mov $78, %rcx rep movsq nop nop nop nop inc %r14 lea addresses_WT_ht+0xedb8, %rsi lea addresses_WC_ht+0x1a57c, %rdi nop...
oeis/147/A147845.asm
neoneye/loda-programs
11
199441
; A147845: Odd positive integers a(n) such that for every odd integer m>=7 there exists a unique representation of the form m=a(p)+2a(q)+4a(r) ; Submitted by <NAME> ; 1,3,17,19,129,131,145,147,1025,1027,1041,1043,1153,1155,1169,1171,8193,8195,8209,8211,8321,8323,8337,8339,9217,9219,9233,9235,9345,9347,9361,9363,65537,6...
savefile/maps/2478_DesolatedCabin.asm
stranck/fools2018-1
35
199442
<reponame>stranck/fools2018-1 SECTION "Map_2478", ROM0[$B800] Map_2478_Header: hdr_tileset 8 hdr_dimensions 5, 4 hdr_pointers_a Map_2478_Blocks, Map_2478_TextPointers hdr_pointers_b Map_2478_Script, Map_2478_Objects hdr_pointers_c Map_2478_InitScript, Map_2478_RAMScript ...
libsrc/target/px8/adcvrt.asm
UnivEngineer/z88dk
4
199443
SECTION code_clib PUBLIC adcvrt PUBLIC _adcvrt PUBLIC subcpu_7508 PUBLIC _subcpu_7508 adcvrt: _adcvrt: ; BIOS ADCVRT call, Analog to digital conversion ex de,hl ld hl,(1) ; Use WBOOT address to find the first entry in the BIOS jp table ld a,$6f ...
cmd/fdisk/bootrec.asm
minblock/msdos
0
199445
;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1983 - 1991 ; * All Rights Reserved. ; */ ;****************************************************************************** ; ; Change Log: ; ; Date Who # Des...