max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
libsrc/_DEVELOPMENT/l/sccz80/8-8080/l_div.asm
z88dk/z88dk
640
42730
SECTION code_clib SECTION code_l_sccz80 PUBLIC l_div EXTERN l_deneg EXTERN l_bcneg EXTERN l_rlde EXTERN l_cmpbcde ; HL = DE / HL, DE = DE % HL l_div: ccdiv: LD bc,hl LD a,d XOR b PUSH AF LD a,d OR a CALL M,l_deneg LD a,b OR a CALL M...
mc-sema/validator/x86/tests/FBSTP.asm
randolphwong/mcsema
2
42732
<gh_stars>1-10 BITS 32 ;TEST_FILE_META_BEGIN ;TEST_TYPE=TEST_F ;TEST_IGNOREFLAGS= ;TEST_FILE_META_END FLDPI ;TEST_BEGIN_RECORDING lea edi, [esp-0x10] mov dword [edi+00], 0x0 mov dword [edi+04], 0x0 mov dword [edi+08], 0x0 FBSTP tword [edi] mov eax, [edi+00] mov ebx, [edi+04] mov ecx, [edi+08] mov edi, 0 ;TEST_END_REC...
programs/oeis/040/A040094.asm
karttu/loda
1
42734
; A040094: Continued fraction for sqrt(105). ; 10,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4,20,4 sub $0,1 mod $0,2 mul $0,10 add $0,2 pow $0,2 mov $1,$0 div $1,17 mul $1,2 add $1,4
oeis/027/A027877.asm
neoneye/loda-programs
11
42735
<reponame>neoneye/loda-programs ; A027877: a(n) = Product_{i=1..n} (9^i - 1). ; Submitted by <NAME> ; 1,8,640,465920,3056435200,180476385689600,95912370410881024000,458745798479390789599232000,19747501938318761090457052119040000,7650586837724400321220283274999910891520000,26675946836622770539385872686850599297942028288...
overlays/allocate.asm
DigitalMars/optlink
28
42737
TITLE ALLOCATE - Copyright (c) SLR Systems 1990 INCLUDE MACROS INCLUDE SECTS if any_overlays PUBLIC ALLOCATE_ALLOCATABLES .DATA SOFT EXTW LIBALLOC_STUFF,PUBALLOC_STUFF,ALLO_LAST_BLOCK SOFT EXTD FIRST_MODULE .CODE MIDDLE_TEXT SOFT EXTP RETURN_LOWEST_SECTION,INSTALL_LIBALLOC,GET_NEW_LOG_BLK,ALLO_PO...
talk.asm
dgchurchill/nanowasp-tools
2
42738
<gh_stars>1-10 ; simple talk program, characters received are shown on screen ; and then echoed back to sender org 100h ld (oldsp),sp ld sp,stacktop call clearrxbuf call init_comms ld hl,0F000h mainloop: call ringget jr c,mainloop call xmitbyte ld (hl),a inc hl cp 'X' jr nz,mainloop call deinit_c...
test/ifenv.asm
km2m/nasm
2,219
42739
%macro import 1 %defstr %%incfile %!PROJECTBASEDIR/%{1}.inc %defstr %%decfile %!'PROJECTBASEDIR'/%{1}.dec db %%incfile, `\n` db %%decfile, `\n` %endmacro %ifenv PROJECTBASEDIR import foo %else %warning No PROJECTBASEDIR defined %endif %ifenv %!PROJECTBASEDIR import foo %else %warning No PROJECTBASEDIR defined %en...
oeis/173/A173321.asm
neoneye/loda-programs
11
42740
<gh_stars>10-100 ; A173321: a(n) = 4*n! - 1. ; Submitted by <NAME> ; 3,3,7,23,95,479,2879,20159,161279,1451519,14515199,159667199,1916006399,24908083199,348713164799,5230697471999,83691159551999,1422749712383999,25609494822911999,486580401635327999,9731608032706559999,204363768686837759999,4496002911110430719999,103408...
Assembler/AssemblyCode/ADD.asm
KPU-RISC/KPU
8
42742
<gh_stars>1-10 MOV D, 00000001b MOV E, 00000001b ADD D, E ; Write register D to the Output Port OUTB D HLT
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1104.asm
ljhsiun2/medusa
9
42743
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x9589, %rsi lea addresses_UC_ht+0x96d9, %rdi nop nop nop xor $14192, %rdx mov $90, %rcx rep movsb nop nop nop nop xor $36796, %rdx lea addresses_normal_ht+0x1ad19, %r10 no...
programs/oeis/314/A314167.asm
karttu/loda
1
42744
; A314167: Coordination sequence Gal.6.638.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,11,16,22,28,34,40,46,52,57,63,68,73,79,84,90,96,102,108,114,120,125,131,136,141,147,152,158,164,170,176,182,188,193,199,204,209,215,220,...
oeis/055/A055600.asm
neoneye/loda-programs
11
42745
; A055600: Numbers of form 2^i*3^j+1 with i, j >= 0. ; Submitted by <NAME> ; 2,3,4,5,7,9,10,13,17,19,25,28,33,37,49,55,65,73,82,97,109,129,145,163,193,217,244,257,289,325,385,433,487,513,577,649,730,769,865,973,1025,1153,1297,1459,1537,1729,1945,2049,2188,2305,2593,2917,3073,3457,3889 seq $0,3586 ; 3-smooth numbers: n...
Drawing.asm
sleepingburrito/BackIsle
1
42746
SECTION "MAIN", ROM0[$0150] include "graphics/BackgroundHelper.asm" include "graphics/SpriteHelper.asm" ;inti graphics ;============== ;clobbers all regs InitGraphics: ;disable display DisableDisplayMacro ;load font ld A, VRAM_TEXT0_BANK RomBankSwitchMacro ld HL, TEXT0_GFX l...
zos/old/boot16.asm
zzh8829/OSPP
0
42747
[bits 16] [org 0x7c00] KERNEL_OFFSET equ 0x9c00 jmp main16 main16: xor ax, ax mov ds, ax mov ss, ax mov es, ax mov bp, 0x9c00 ; set stack position mov sp, bp mov [BOOT_DRIVE], dl ; boto drive mov bx, KERNEL_OFFSET mov dh, 2 mov dl, [BOOT_DRIVE] call loadDisk mov ax, KERNEL_OFFSE...
4klang.asm
w23/bepct4k
30
42748
bits 32 %define WRK ebp ; // alias for unit workspace %define VAL esi ; // alias for unit values (transformed/untransformed) %define COM ebx ; // alias for instrument opcodes %include "4klang.inc" ;// conditional defines %ifdef GO4K_USE_VCO_SHAPE %define INCLUDE_WAVESHAPER %endif %ifdef GO4K_USE_DST %def...
src/BreathOfTheWild/Mods/FPS++/patch_FenceMethod.asm
slashiee/cemu_graphic_packs
1,002
42750
<reponame>slashiee/cemu_graphic_packs [BotW_FenceMethod_V208] moduleMatches = 0x6267BFD0 .origin = codecave 0x031FAB00 = fullFenceAddr: 0x031FAB04 = skipFenceAddr: conditionalFence: # Check which fence it's running li r11, $fenceMethod cmpwi r11, 1 beq performanceFence li r11, $fenceMethod cmpwi r11, 2 beq accurate...
programs/oeis/250/A250756.asm
jmorken/loda
1
42751
<reponame>jmorken/loda<filename>programs/oeis/250/A250756.asm<gh_stars>1-10 ; A250756: Number of (1+1) X (n+1) 0..2 arrays with nondecreasing x(i,j)-x(i,j-1) in the i direction and nondecreasing x(i,j)+x(i-1,j) in the j direction. ; 32,72,129,203,294,402,527,669,828,1004,1197,1407,1634,1878,2139,2417,2712,3024,3353,369...
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_1166.asm
ljhsiun2/medusa
9
42754
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xd06d, %r14 nop nop nop dec %r9 mov $0x6162636465666768, %rsi movq %rsi, %xmm7 vmovups %ymm7, (%r14) nop and %r13, %r13 lea addresses_D_ht+0x193b9, %r13 nop nop nop n...
nine/prg_rom/utils_static.asm
sgadrat/super-tilt-bro
91
42755
fetch_controllers: .( ; Fetch controllers state lda #$01 sta CONTROLLER_A lda #$00 sta CONTROLLER_A ; x will contain the controller number to fetch (0 or 1) ldx #$00 fetch_one_controller: ; Save previous state of the controller lda controller_a_btns, x sta controller_a_last_frame_btns, x ; Reset the con...
data/maps/objects/CeladonMart4F.asm
opiter09/ASM-Machina
1
42758
<gh_stars>1-10 CeladonMart4F_Object: db $f ; border block def_warps warp 12, 1, 0, CELADON_MART_3F warp 16, 1, 1, CELADON_MART_5F warp 1, 1, 0, CELADON_MART_ELEVATOR def_signs sign 14, 1, 4 ; CeladonMart4Text4 def_objects object SPRITE_CLERK, 5, 7, STAY, NONE, 1 ; person object SPRITE_SUPER_NERD, 15, ...
test/xorMI.asm
killvxk/AssemblyLine
147
42759
<filename>test/xorMI.asm<gh_stars>100-1000 xor r14, 0xffffffffffffffff xor rax, 0xffffffffffffffff xor r12, 0xffffffffffffffff xor rbp, 0xffffffffffffffff xor rdx, 0xffffffffffffffff xor rdi, 0xffffffffffffffff xor r15, 0xffffffffffffffff xor rcx, 0xffffffffffffffff xor rbx, 0xffffffffffffffff xor rsi, 0xffffffffffffff...
programs/oeis/027/A027964.asm
jmorken/loda
1
42760
; A027964: T(n,n+4), T given by A027960. ; 1,7,26,73,174,373,743,1404,2552,4506,7784,13226,22193,36889,60882,99947,163430,266455,433495,704150,1142496,1852212,3001056,4860468,7869649,12739243,20619098,33369709,54001422,87385081,141401879,228803856,370224248,599048334,969294632,1568366942,2537687585,4106082685,664380069...
oeis/210/A210278.asm
neoneye/loda-programs
11
42761
; A210278: (5n)!/5^n. ; Submitted by <NAME> ; 1,24,145152,10461394944,3892643213082624,4963587213865915514880,16976183027980227752723742720,132264293969742655099733137120296960,2088743125114618199924764850166056689336320,61246577083125859615725138685776750112964471685120,311440314385544991166593107620503232966427049666...
programs/oeis/031/A031339.asm
neoneye/loda
22
42762
<filename>programs/oeis/031/A031339.asm ; A031339: a(n) = prime(6*n). ; 13,37,61,89,113,151,181,223,251,281,317,359,397,433,463,503,557,593,619,659,701,743,787,827,863,911,953,997,1033,1069,1109,1163,1213,1249,1291,1321,1399,1439,1481,1511,1559,1601,1627,1693,1733,1783,1831,1877,1931,1987,2017,2069,2111,2143,2213,2267,...
x86/src/ffi.asm
sneakin/north
2
42763
<filename>x86/src/ffi.asm %ifndef FFI_H %define FFI_H 1 %macro defcvar 1 extern %1 constant c%1, %1 %endmacro %ifidni PLATFORM,windows %if BITS == 32 %define HAS_DEFC 1 %macro defc 4 extern _%4 create c%1, fficall_op_%2_%3_asm, _%4 %endmacro %endif %endif %ifndef HAS_DEFC %macro defc 4 extern %4 create c%1, ff...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1569.asm
ljhsiun2/medusa
9
42764
<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1569.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x2a3a, %r12 nop xor $9059, %r9 mov (%r12), %bp nop nop nop nop nop xor $2237, %rax lea...
examples/assets/sprite.asm
michielvoo/snes
51
42765
Sprite: ; Character 4 plane 0 + 1 (sprite part AA) .db $00, $00, $00, $7F, $00, $40, $00, $40, $00, $40, $00, $40, $00, $40, $00, $40 ; Character 4 plane 2 + 3 (sprite part AA) .db $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00, $00 ; Character 5 plane 0 + 1 (sprite par...
Test/TEST/test2-Z180.asm
sparks-c16/zasm
43
42766
<reponame>sparks-c16/zasm #!/usr/local/bin/zasm --z180 -o original/ #target ram ; –––––––––––––––––––––––––– ; dummy 'real code': ; –––––––––––––––––––––––––– #code CODE, 0, * jp $ .org 0x38 L1: push hl ld hl,(systime) inc hl ld (systime),hl pop hl ei ret systime: dw 0 ; ---------------------------...
programs/oeis/047/A047260.asm
neoneye/loda
22
42767
<reponame>neoneye/loda ; A047260: Numbers that are congruent to {0, 1, 4, 5} mod 6. ; 0,1,4,5,6,7,10,11,12,13,16,17,18,19,22,23,24,25,28,29,30,31,34,35,36,37,40,41,42,43,46,47,48,49,52,53,54,55,58,59,60,61,64,65,66,67,70,71,72,73,76,77,78,79,82,83,84,85,88,89,90,91,94,95,96,97,100,101,102,103,106,107,108,109,112,113,11...
oeis/222/A222390.asm
neoneye/loda-programs
11
42768
<reponame>neoneye/loda-programs ; A222390: Nonnegative integers m such that 10*m*(m+1)+1 is a square. ; Submitted by <NAME>(s1) ; 0,3,15,132,588,5031,22347,191064,848616,7255419,32225079,275514876,1223704404,10462309887,46468542291,397292260848,1764580902672,15086643602355,67007605759263,572895164628660,254452443794934...
progs/chap04p08-num2oct.asm
HKhademian/AssemblyDandamudi
1
42769
%include "lib.asm" extern ExitProcess ; windows syscall to exit section .text N equ 33 ; up to 32 bits (11 octal digit) section .data section .bss buffer resb 25 section .code global _start _start: fgets buffer, 12 ; fill buffer with 12 decimal a2i 12, buffer ; eax = buffer as number mov cl, N-3 tes...
oeis/063/A063929.asm
neoneye/loda-programs
11
42771
; A063929: Radius of A-excircle of Pythagorean triangle with a = (n+1)^2 - m^2, b = 2*(n+1)*m and c = (n+1)^2 + m^2. ; Submitted by <NAME> ; 2,6,3,12,8,4,20,15,10,5,30,24,18,12,6,42,35,28,21,14,7,56,48,40,32,24,16,8,72,63,54,45,36,27,18,9,90,80,70,60,50,40,30,20,10,110,99,88,77,66,55,44,33,22,11,132,120,108,96,84,72,60...
Language/Assembly/calcFinal.asm
Romilj012/Hacktoberfest2020-3
47
42772
section .data scan_format db "%f", 0 scan_char_format db "%c", 0 printf_format db "%f", 10, 0 mensagem1 : db "Primeiro numero: ", 0 mensagem2 : db "Segundo numero: ", 0 mensagem3 : db "entre com o operador: ", 0 mensagem4 : db "Nao eh possivel fazer divisao por zero ", 0 mensagem5 : db "Operador Invalido ...
oeis/072/A072731.asm
neoneye/loda-programs
11
42773
<gh_stars>10-100 ; A072731: Difference of numbers of composite and prime numbers <= n. ; Submitted by <NAME>(s4) ; 0,-1,-2,-1,-2,-1,-2,-1,0,1,0,1,0,1,2,3,2,3,2,3,4,5,4,5,6,7,8,9,8,9,8,9,10,11,12,13,12,13,14,15,14,15,14,15,16,17,16,17,18,19,20,21,20,21,22,23,24,25,24,25,24,25,26,27,28,29,28,29,30,31,30,31,30,31,32,33,34...
src/io/InputOnChar.asm
jhm-ciberman/calculator-asm
2
42774
proc InputOnChar, char:WORD cmp cl, 0 ; NULL (0x00) = Backspace character je .done cmp cl, 8 ; BS (0x08) = Backspace character je .backspace cmp cl, 10 ; LF (0x0A) = Line feed character je .linefeed cmp cl, 13 ; CR (0x0D) = Carriage return je .linefeed fastcall InputBuff...
oeis/186/A186512.asm
neoneye/loda-programs
11
42775
; A186512: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) after g(j) when f(i)=g(j), where f(i)=i^2 and g(j)=-4+5j^2. Complement of A186511. ; Submitted by <NAME>(m4) ; 1,5,9,12,15,19,22,25,29,32,35,38,41,45,48,51,54,58,61,64,67,71,74,77,80,84,87,90,93,97,100,103,106,109,113,116,119,122,126,129,132,135,13...
attacklab/rtarget.asm
zjyjshtxdy/CS-APP3e-labs
61
42776
0000000000401994 <start_farm>: 401994: b8 01 00 00 00 mov $0x1,%eax 401999: c3 retq 000000000040199a <getval_142>: 40199a: b8 fb 78 90 90 mov $0x909078fb,%eax 40199f: c3 retq 00000000004019a0 <addval_273>: 4019a0: 8d 87 48 89 c7 c3 lea -...
programs/oeis/304/A304376.asm
karttu/loda
1
42777
; A304376: a(n) = 60*2^n - 48 (n>=1). ; 72,192,432,912,1872,3792,7632,15312,30672,61392,122832,245712,491472,982992,1966032,3932112,7864272,15728592,31457232,62914512,125829072,251658192,503316432,1006632912,2013265872,4026531792,8053063632,16106127312,32212254672,64424509392,128849018832,257698037712,515396075472,1030...
libsrc/graphics/undrawr.asm
meesokim/z88dk
0
42778
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by <NAME> - 30/9/98 ; ; ; $Id: undrawr.asm,v 1.5 2015/01/19 01:32:46 pauloscustodio Exp $ ; ;Usage: undrawr(struct *pixels) PUBLIC undrawr EXTERN ...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2549.asm
ljhsiun2/medusa
9
42781
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r9 push %rbx push %rsi lea addresses_WT_ht+0xa110, %r14 clflush (%r14) nop nop nop add %r12, %r12 movb $0x61, (%r14) nop nop nop add $19084, %rsi lea addresses_normal_ht+0xae10, %r9 nop nop nop cmp $20421, %r12 mov (%r9), %r10d nop and %r1...
Working Disassembly/General/Sprites/Level Misc/Map - Bumper.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
42782
Map_2322CE: dc.w Frame_2322D2-Map_2322CE dc.w Frame_2322E0-Map_2322CE Frame_2322D2: dc.w 2 dc.b $F0, 7, 0, 0,$FF,$F0 dc.b $F0, 7, 8, 0, 0, 0 Frame_2322E0: dc.w 2 dc.b $F0, 7, 0, 8,$FF,$F0 dc.b $F0, 7, 8, 8, 0, 0
oscomp/build/asm/openat.asm
wei-huan/MyOS
2
42784
/home/weihuan/Documents/testsuits-for-oskernel-preliminary/riscv-syscalls-testing/user/build/riscv64/openat: file format elf64-littleriscv Disassembly of section .text: 0000000000001000 <_start>: .section .text.entry .globl _start _start: mv a0, sp 1000: 850a mv a0,sp tail __start_ma...
third_party/virtualbox/src/VBox/Runtime/common/string/strcmp.asm
Fimbure/icebox-1
521
42786
<reponame>Fimbure/icebox-1 ; $Id: strcmp.asm $ ;; @file ; IPRT - No-CRT strcmp - AMD64 & X86. ; ; ; Copyright (C) 2006-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Source Edition (OSE), as ; available from http://www.virtualbox.org. This file is free software; ; you can redistribute it and/or modif...
Driver/Printer/PrintCom/Graphics/graphicsCapslCommon.asm
steakknife/pcgeos
504
42788
<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: lbp print driver FILE: graphicsCapslCommon.asm AUTHOR: <NAME> 1 March 1990 ROUTINES: Name Description ---- -...
test1/Sources/main.asm
JiriS97/BMIC-Projects
0
42789
<reponame>JiriS97/BMIC-Projects ; The MIT License (MIT) ; ; Copyright (c) 2018 <NAME> (https://github.com/JiriS97/) ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Software"), to deal ; in the Software without restriction, incl...
programs/oeis/062/A062026.asm
jmorken/loda
1
42790
; A062026: a(n) = n(n+1)(n^2 -3n +6)/4 ; 0,2,6,18,50,120,252,476,828,1350,2090,3102,4446,6188,8400,11160,14552,18666,23598,29450,36330,44352,53636,64308,76500,90350,106002,123606,143318,165300,189720,216752,246576,279378,315350,354690,397602,444296,494988,549900,609260,673302,742266,816398,895950,981180,1072352,1169736...
tests/cycle_test.asm
MIPT-ILab/mdsp
2
42791
<gh_stars>1-10 main: ld $0, %r0 brm %r0, (%r0) ld $1, %r1 ld $10, %r2 label1: add %r0, %r1, %r0 sub %r0, %r2, %r3 jgt label_out1 jmp label1 label_out1: ld $0, %r2 sub %r0, %r1, %r0 label2: sub %r0, %r1, %r0 sub %r2, %r0, %r3 jgt label_out2 jmp la...
Lab02/Write an Assembly program read two decimal digits . Then display those two numbers and their sum on the next line, with an appropriate message.asm
Deboraj-roy/COMPUTER-ORGANIZATION-AND-ARCHITECTURE-C-
0
42792
<filename>Lab02/Write an Assembly program read two decimal digits . Then display those two numbers and their sum on the next line, with an appropriate message.asm ;Write an Assembly program read two decimal digits . Then display those two numbers and their sum on the next line, with an appropriate message. For example...
lib/io_port.asm
marklang1993/OS
0
42794
<filename>lib/io_port.asm<gh_stars>0 global io_out_byte global io_in_byte global io_bulk_out_word global io_bulk_in_word [section .text] ; # void io_out_byte(uint16 io_port, uint8 data); ; @ io_port: io port number ; @ data: data to be written (only lower 8 bits will be written) io_out_byte: push ebp ...
asm/battle_levelup.asm
unknownbrackets/tomatotrans
14
42795
<filename>asm/battle_levelup.asm ; This just tweaks it so the numbers are a bit farther to the right. .org 0x08050D10 dw 0x06001560 .org 0x08050D14 dw 0x06001960 .org 0x08050D78 dw 0x06000C20 .org 0x08050DEC dw 0x06000C20 .ifdef NameMaxLength ; This is part of the larger 08050BB8, where it shows the "leveled up" mess...
Universe/Ships/AIRuntimeData.asm
TinfoilAsteroid/EliteNext
9
42796
;-Camera Position of Ship---------------------------------------------------------------------------------------------------------- StartOfShipRuntimeData EQU $ UBnKxlo DB 0 ; INWK+0 UBnKxhi DB 0 ; there are hi medium low as some...
oeis/092/A092807.asm
neoneye/loda-programs
11
42798
<filename>oeis/092/A092807.asm ; A092807: Expansion of (1-6*x+4*x^2)/((1-2*x)*(1-6*x)). ; Submitted by <NAME> ; 1,2,8,40,224,1312,7808,46720,280064,1679872,10078208,60467200,362799104,2176786432,13060702208,78364180480,470185017344,2821109972992,16926659575808,101559956930560,609359740534784 mov $1,$0 sub $0,1 trn $1,...
programs/oeis/063/A063459.asm
neoneye/loda
22
42799
; A063459: A Beatty sequence: a(n) = floor(n*(Pi - 1)). ; 0,2,4,6,8,10,12,14,17,19,21,23,25,27,29,32,34,36,38,40,42,44,47,49,51,53,55,57,59,62,64,66,68,70,72,74,77,79,81,83,85,87,89,92,94,96,98,100,102,104,107,109,111,113,115,117,119,122,124,126,128,130,132,134,137,139,141,143,145,147,149,152,154,156,158,160,162,164,16...
program/led.asm
doowzs/BuggyOS
7
42800
<reponame>doowzs/BuggyOS<filename>program/led.asm ledctr: sw $ra, ($sp) subi $sp, $sp, 0x4 add $t0, $zero, $a0 addi $t1, $zero, 0x1 _ledctr_loop: beq $t0, $zero, _ledctr_handle sll $t1, $t1, 0x1 subi $t0, $t0, 0x1 j _ledctr_loop _ledctr_handle: addi $a0, $zero, 0x1000D000 addi $a0, $a0, 0x18 addi $a1, $zero, 0x10002A4...
programs/oeis/209/A209661.asm
neoneye/loda
22
42801
; A209661: a(n) = (-1)^A083025(n). ; 1,1,1,1,-1,1,1,1,1,-1,1,1,-1,1,-1,1,-1,1,1,-1,1,1,1,1,1,-1,1,1,-1,-1,1,1,1,-1,-1,1,-1,1,-1,-1,-1,1,1,1,-1,1,1,1,1,1,-1,-1,-1,1,-1,1,1,-1,1,-1,-1,1,1,1,1,1,1,-1,1,-1,1,1,-1,-1,1,1,1,-1,1,-1,1,-1,1,1,1,1,-1,1,-1,-1,-1,1,1,1,-1,1,-1,1,1,1 seq $0,7913 ; Squarefree part of n: a(n) is th...
src/hexedits.asm
spannerisms/lttphack
6
42802
!VERSIONTEXT = "v" !RANDO ?= 0 if stringsequal("!VERSION", "DEBUG") !VERSIONTEXT = "" endif !VERSIONTEXT += "!{VERSION}" pushtable cleartable org $00FFC0 db " " ; empty this org $00FFC0 db "ALTTPRAC !VERSIONTEXT" warnpc $00FFD5 pulltable org $00FFD5 : db $23, $35 ; SA-1 org $00FFD7 : db 11 ; 2...
scripts/CeruleanMart.asm
AmateurPanda92/pokemon-rby-dx
9
42803
<reponame>AmateurPanda92/pokemon-rby-dx CeruleanMart_Script: jp EnableAutoTextBoxDrawing CeruleanMart_TextPointers: dw CeruleanCashierText dw CeruleanMartText2 dw CeruleanMartText3 CeruleanMartText2: TX_FAR _CeruleanMartText2 db "@" CeruleanMartText3: TX_FAR _CeruleanMartText3 db "@"
test/ir/squareRoot.asm
kpsunil/gogo
2
42804
<filename>test/ir/squareRoot.asm # Test to find square root (floor value) of a number .data nStr: .asciiz "Enter n: " x: .word 0 ans: .word 0 start: .word 0 end: .word 0 mid: .word 0 temp: .word 0 str: .asciiz "Square root of n: " .text .globl main .ent main main: li $v0, 4 la $a0, nStr syscall li $v0, 5 s...
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_21829_1043.asm
ljhsiun2/medusa
9
42805
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r8 lea addresses_D_ht+0xa843, %r8 add %r12, %r12 mov $0x6162636465666768, %r14 movq %r14, %xmm7 movups %xmm7, (%r8) nop nop cmp $32695, %r11 pop %r8 pop %r14 pop %r12 pop %r11 ret .global s_faulty_load s_faulty_load: push %r8 push %rb...
Lib/dosext.asm
PluMGMK/DOS32pae
20
42806
<filename>Lib/dosext.asm<gh_stars>10-100 ;--- extend int 21h for file io .386 .model flat option proc:private option casemap:none include dpmi.inc ?TLBSIZE equ 2000h PUSHADS struct rEDI dd ? rESI dd ? rEBP dd ? dd ? rEBX dd ? rEDX dd ? rECX dd ? rEAX dd ? PUSHADS ends @dprintf macro ...
codigo/x86/NASM/hola.asm
AlainPlusPlus/assembly-course
0
42807
; ; Copyright (c) 2021 Alain (@AlainPlusPlus) ; ; Programa básico de "hello, world!" en español. ; ;Define variables en sección de datos section .data hello db '¡Hola, mundo!',10 ;nuestra cadena helloLen equ $- hello ;longitud de nuestra cadena ;Código va en la sección de texto section .text global _st...
bootdict/tc/file.asm
ikysil/ikforth
8
42809
<gh_stars>1-10 ;****************************************************************************** ; ; file.asm ; IKForth ; ; Unlicense since 1999 by <NAME> ; ;****************************************************************************** ; FILE access words ;************************************************************...
src/bootloader/modules/misc.asm
FranchuFranchu/fran-os
1
42810
; IN = AL: Number to write ; OUT = AL: As a character kernel_string_convert_1hex: and al, 0xF ; Mask out higher nibble push ax sub al, 0x9 jng .number .notnumber: ; A-F pop ax ; ascii 41 = A sub al, 0xA add al, "A" jmp .done .number: pop ax add al, "0" .done: ret ; ...
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sccz80/round.asm
ahjelm/z88dk
640
42811
SECTION code_fp_am9511 PUBLIC round EXTERN cam32_sccz80_round defc round = cam32_sccz80_round ; SDCC bridge for Classic IF __CLASSIC PUBLIC _round EXTERN cam32_sdcc_round defc _round = cam32_sdcc_round ENDIF
linux64/lesson16.asm
mashingan/notes-asmtutor
1
42812
format ELF64 executable 3 entry start include 'procs.inc' segment readable banner db '<lesson16> <arg1> <arg2> ...:', 0Ah, 0 gotMinus db 'minus: ', 0 segment readable executable start: mov rax, banner call sprint pop rbx pop rdx ; second value on the stack is program name dec ...
programs/oeis/064/A064201.asm
karttu/loda
1
42813
<reponame>karttu/loda<gh_stars>1-10 ; A064201: 9 times octagonal numbers: a(n) = 9n(3n-2). ; 0,9,72,189,360,585,864,1197,1584,2025,2520,3069,3672,4329,5040,5805,6624,7497,8424,9405,10440,11529,12672,13869,15120,16425,17784,19197,20664,22185,23760,25389,27072,28809,30600,32445,34344,36297,38304,40365,42480,44649,46872,4...
Hanoi_8086.asm
River-UW/Hanoi_8086_Assembly
0
42814
stack segment stack db 512 dup(?) stack ends data segment string1 db "Enter a decimal number(Recommendation: 1~23)", 0ah, 0dh, '$' string2 db "Press any key to continue!", 0ah, 0dh, '$' string3 db "Invalid input, please enter a decimal number again:(Recommendation: 1~23)", 0ah, 0d...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_1765.asm
ljhsiun2/medusa
9
42815
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x4dd2, %rbp nop nop nop nop dec %rdi mov $0x6162636465666768, %r15 movq %r15, %xmm3 movups %xmm3, (%rbp) nop nop nop nop nop sub %r8, %r8 lea addresses_D_ht+0x1d...
programs/oeis/284/A284624.asm
jmorken/loda
1
42816
<filename>programs/oeis/284/A284624.asm ; A284624: Positions of 1 in A284749. ; 2,5,9,12,16,20,23,27,30,34,38,41,45,49,52,56,59,63,67,70,74,77,81,85,88,92,96,99,103,106,110,114,117,121,125,128,132,135,139,143,146,150,153,157,161,164,168,172,175,179,182,186,190,193,197,200,204,208,211,215,219,222,226,229,233,237,240,244...
unused/develop/obj/spritesheet_8_tiles.asm
pau-tomas/gbvm
33
42817
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.1.4 #12246 (Mac OS X x86_64) ;-------------------------------------------------------- .module spritesheet_8_tiles .optsdcc -mgbz80 ;-------------------------------------------------------...
sound_zx.asm
jorgicor/altair
0
42819
; ---------------------------------------------------------------------------- ; Altair, CIDLESA's 1981 arcade game remade for the ZX Spectrum and ; Amstrad CPC. ; ---------------------------------------------------------------------------- ; ------------- ; 'update_beep' ; ------------- ; Updates sound channels for t...
programs/oeis/056/A056527.asm
karttu/loda
0
42820
; A056527: Numbers where iterated sum of digits of square settles down to a cyclic pattern (in fact 13, 16, 13, 16, ...). ; 2,4,5,7,11,13,14,16,20,22,23,25,29,31,32,34,38,40,41,43,47,49,50,52,56,58,59,61,65,67,68,70,74,76,77,79,83,85,86,88,92,94,95,97,101,103,104,106,110,112,113,115,119,121,122,124,128,130,131,133,137,...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_1286.asm
ljhsiun2/medusa
9
42821
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r15 push %r9 push %rbp push %rcx push %rdi push %rdx lea addresses_A_ht+0x4e8c, %r9 nop nop nop nop and $24149, %rdi mov (%r9), %ecx nop nop dec %r15 lea addresses_D_ht+0x1068c, %r9 nop xor $14427, %rdx movups (%r9), %xmm1 vpextrq $1, %xmm1, %rcx nop add...
src/include/memutils.asm
rondnelson99/sram-39sf-flasher
0
42822
Multiple_Strcpy::;copy C destination prefixed strings from de ld a, [de] inc de ld l, a ld a, [de] inc de ld h, a call Strcpy dec c jr nz, Multiple_Strcpy UnconditionalRet:: ;this can be called in order to efficiently delay ret StrcpyAboveProgressBar:: ld hl,$9...
oeis/167/A167307.asm
neoneye/loda-programs
11
42823
; A167307: Totally multiplicative sequence with a(p) = 6*(p+2) for prime p. ; Submitted by <NAME> ; 1,24,30,576,42,720,54,13824,900,1008,78,17280,90,1296,1260,331776,114,21600,126,24192,1620,1872,150,414720,1764,2160,27000,31104,186,30240,198,7962624,2340,2736,2268,518400,234,3024,2700,580608,258,38880,270,44928,37800,...
DZ4/DZ4.asm
nesdoug/NESIFIER
17
42827
<gh_stars>10-100 ; DZ4 v 5 ; by <NAME> 2021 ; NES compression system ; decompression code, asm for ca65 ; writes directly to the PPU $2007 ; block header, 1 byte format ; MMM C CCCC +1 = 1-32 count ; 00 M=0 literal, followed by the literal bytes ; 20 M=1 RLE (1 byte), followed by 1 byte ; 40 M=2 SEQUENTIAL (+1 each l...
src/test/ref/noop-cast-elimination.asm
jbrandwood/kickc
2
42829
// Test elimination of noop-casts (signed byte to byte) // Commodore 64 PRG executable file .file [name="noop-cast-elimination.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .se...
Transynther/x86/_processed/NC/_st_zr_sm_/i9-9900K_12_0xa0_notsx.log_3330_788.asm
ljhsiun2/medusa
9
42830
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0xb9a4, %r11 nop nop nop nop nop dec %rax movups (%r11), %xmm0 vpextrq $0, %xmm0, %r9 nop nop and $44175, %r8 lea addresses_WT_ht+0x6fa4, %r12 nop and %r15, %r15 mov (%...
programs/oeis/168/A168333.asm
neoneye/loda
22
42831
<reponame>neoneye/loda ; A168333: a(n) = (14*n + 7*(-1)^n + 1)/4. ; 2,9,9,16,16,23,23,30,30,37,37,44,44,51,51,58,58,65,65,72,72,79,79,86,86,93,93,100,100,107,107,114,114,121,121,128,128,135,135,142,142,149,149,156,156,163,163,170,170,177,177,184,184,191,191,198,198,205,205,212,212,219,219,226,226,233,233,240,240,247,24...
MushCore/boot/kernel_gate.asm
MilesArtemius/OS
3
42832
[bits 32] [extern _start] ; External C function from kernel.c ; It may be not the first function in kernel, so we ensure to launch the right one. call _start ; Calling function. jmp $ ; Hanging CPU up. TODO replace with hlt.
10_8BitSubtraction.asm
furkanisitan/ExampleProgramsFor8085Microprocessor
0
42833
MVI C, 00 ; Borç LDA 0200H ; Adresteki veriyi akümülatöre yükle MOV B, A ; B = A LDA 0201H ; Adresteki veriyi akümülatöre yükle SUB B ; A -= B JNC NXT ; Elde yoksa atla CMA ; Tümle INR A ; 1 arttır (2 ye tümleme) INR C ; 1 arttır NXT: STA 0202H ; Sonucu kaydet MOV A, C STA 0203H ; Borcu kaydet HLT ;0201H daki ve...
programs/oeis/158/A158773.asm
karttu/loda
1
42834
<filename>programs/oeis/158/A158773.asm ; A158773: a(n) = 1600*n^2 - 40. ; 1560,6360,14360,25560,39960,57560,78360,102360,129560,159960,193560,230360,270360,313560,359960,409560,462360,518360,577560,639960,705560,774360,846360,921560,999960,1081560,1166360,1254360,1345560,1439960,1537560,1638360,1742360,1849560,1959960...
programs/oeis/305/A305158.asm
neoneye/loda
22
42835
<reponame>neoneye/loda<filename>programs/oeis/305/A305158.asm ; A305158: a(n) = 21*2^n - 15. ; 6,27,69,153,321,657,1329,2673,5361,10737,21489,42993,86001,172017,344049,688113,1376241,2752497,5505009,11010033,22020081,44040177,88080369,176160753,352321521,704643057,1409286129,2818572273,5637144561,11274289137,2254857828...
masm/hw2.asm
userElaina/MicrocomputerLab
0
42836
.386 DATA SEGMENT USE16 MESG DB 'helloworld!', 0AH, '$' DATA ENDS CODE SEGMENT USE16 ASSUME CS: CODE, DS: DATA BEG: MOV AX, DATA MOV DS, AX LAST: MOV AH, 9 MOV DX, OFFSET MESG INT 21H LOOP LAST MOV AH, 4CH INT ...
unittests/ASM/OpSize/66_57.asm
cobalt2727/FEX
628
42837
<gh_stars>100-1000 %ifdef CONFIG { "RegData": { "XMM0": ["0x2424242424242424", "0x2424242424242424"], "XMM1": ["0x2424242424242424", "0x2424242424242424"], "XMM2": ["0x1818181818181818", "0x1818181818181818"] }, "MemoryRegions": { "0x100000000": "4096" } } %endif mov rdx, 0xe0000000 mov rax, 0...
libsrc/math/mbf32/c/sccz80/l_f32_le.asm
jpoikela/z88dk
640
42838
<reponame>jpoikela/z88dk SECTION code_fp_mbf32 PUBLIC l_f32_le EXTERN l_f32_yes EXTERN l_f32_no EXTERN ___mbf32_setup_comparison ; Stack <= registers l_f32_le: call ___mbf32_setup_comparison ; 0b00000000 = stack == register ; 0b00000001 = stack < register ; 0b11111111 = stack > register inc a jp z,l_f32_n...
programs/oeis/257/A257445.asm
neoneye/loda
22
42839
<filename>programs/oeis/257/A257445.asm<gh_stars>10-100 ; A257445: Number of (n+2) X (6+2) 0..1 arrays with no 3 x 3 subblock diagonal sum 0 and no antidiagonal sum 3 and no row sum 1 and no column sum 1. ; 90,95,104,116,134,161,200,257,341,464,644,908,1295,1862,2693,3911,5696,8312,12146,17765,26000,38069,55757,81680,1...
source/texmap/tmap_flt.asm
arbruijn/d2gl
0
42841
<gh_stars>0 ; THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX ; SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO ; END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ; ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS ; I...
flight_controller_firmware/168mathlib_ram_macros_v1.asm
AirsickPayload/DPRI_Engineering_Project_related_stuff
0
42842
<filename>flight_controller_firmware/168mathlib_ram_macros_v1.asm .macro b16ldi rcall b16_sr ldi t,@0 rcall b16_getregadd ldi t,high(int(@1+0x8000)-0x8000) st z+,t ldi t,low(int(@1+0x8000)-0x8000) st z+,t ldi t,int(frac(@1)*0x100+0x100)-0x100 st z+,t rcall b16_lr .endmacro .macro b16cl...
PhaseThree/Project Main.asm
gabrielcammany/Hangman
1
42843
<gh_stars>1-10 LIST P=18F4321, F=INHX32 #include <P18F4321.INC> ;****************** ;* CONFIGURACIONS * ;****************** CONFIG OSC = HSPLL CONFIG PBADEN = DIG CONFIG WDT = OFF ;************* ;* VARIABLES * ;************* LINIASL EQU 0x03 LINIASH EQU 0x04 COLOR EQU 0x05 ;variable la cual modificamos ...
programs/oeis/002/A002662.asm
neoneye/loda
22
42844
<gh_stars>10-100 ; A002662: a(n) = 2^n - 1 - n*(n+1)/2. ; 0,0,0,1,5,16,42,99,219,466,968,1981,4017,8100,16278,32647,65399,130918,261972,524097,1048365,2096920,4194050,8388331,16776915,33554106,67108512,134217349,268435049,536870476,1073741358,2147483151,4294966767,8589934030,17179868588,34359737737,68719476069,13743895...
Lab_3/Task_1.a51
SSaxena2001/8051_Programs
0
42845
;Write a program to clear accumulator [A], then add 5 to the accumulator 20 times. ORG 0000H CLR A MOV R0,#20 LOOP:ADD A,#05 DJNZ R0,LOOP MOV R5,A END; <NAME>
src/test/ref/function-pointer-noarg-3.asm
jbrandwood/kickc
2
42846
<gh_stars>1-10 // Tests creating and assigning pointers to non-args no-return functions - plus inline kickasm-based calling // Commodore 64 PRG executable file .file [name="function-pointer-noarg-3.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801]...
oeis/197/A197194.asm
neoneye/loda-programs
11
42847
<filename>oeis/197/A197194.asm ; A197194: Binomial(n+9, 9)*9^n ; 1,90,4455,160380,4691115,118216098,2659862205,54717165360,1046465787510,18836384175180,322102169395578,5270762771927640,83014513657860330,1264374900327411180,18694686026269579590,269203478778281946096,3785673920319589866975,52108688079693178168950,7034672...
Engine Hacks/DragonVeins/asm/DragonVeinHealTileExt.asm
sme23/Christmas2
3
42848
<reponame>sme23/Christmas2 .macro blh to, reg ldr \reg, =\to mov lr, \reg .short 0xF800 .endm .thumb .global DrawingOffset_External .type DrawingOffset_External, %function DrawingOffset_External: cmp r0, #0x0D beq Label1 ldr r1, =DVTrapIDLink ldrb r1, [ r1 ] cmp r0, r1 beq Label2 ldr r1, =HealTileTrapIDL...
oeis/011/A011552.asm
neoneye/loda-programs
11
42850
; A011552: Decimal expansion of phi rounded to n places. ; Submitted by <NAME>(s4) ; 2,16,162,1618,16180,161803,1618034,16180340,161803399,1618033989,16180339887,161803398875,1618033988750,16180339887499,161803398874989,1618033988749895,16180339887498948 mov $2,1 mov $3,$0 mul $3,4 lpb $3 mul $1,2 add $1,$2 add ...
Irvine/Examples/ch04/32 bit/AdditionTest.asm
alieonsido/ASM_TESTING
0
42851
<reponame>alieonsido/ASM_TESTING ; Addition and Subtraction (AddSubTest.asm) ; Chapter 4 example. Demonstration of ADD, SUB, ; INC, DEC, and NEG instructions, and how ; they affect the CPU status flags. .386 .model flat,stdcall .stack 4096 ExitProcess proto,dwExitCode:dword .data Rval SDWORD ? Xval SDWORD 26...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_965.asm
ljhsiun2/medusa
9
42853
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r9 push %rbp push %rbx push %rcx push %rdx push %rsi // Store lea addresses_normal+0x1c213, %r11 nop nop nop nop nop and %rbp, %rbp movb $0x51, (%r11) and %rsi, %rsi // Store lea addresses_D+0xbb13, %r9 nop nop ...
engine/events/elevator.asm
Dev727/ancientplatinum
28
42855
<reponame>Dev727/ancientplatinum Elevator:: call .LoadPointer call .FindCurrentFloor jr c, .quit ld [wElevatorOriginFloor], a call Elevator_AskWhichFloor jr c, .quit ld hl, wElevatorOriginFloor cp [hl] jr z, .quit call Elevator_GoToFloor and a ret .quit scf ret .LoadPointer: ld a, b ld [wElevatorPoint...
oeis/017/A017897.asm
neoneye/loda-programs
11
42857
; A017897: Expansion of 1/((1-3x)(1-5x)(1-9x)). ; Submitted by <NAME> ; 1,17,202,2090,20251,189707,1745332,15900020,144066901,1301455397,11737424062,105758621150,952437144751,8574983669087,77190104636392,694787214149480,6253466332501801,56283104147438777,506557473488982322,4559064943373269010,41031822903708346051,36928...