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/target/multi8/stdio/generic_console.asm
ahjelm/z88dk
640
40401
<filename>libsrc/target/multi8/stdio/generic_console.asm ; ; The Multi8 can operate in multiple modes ; ; - Text/character based - 40x25, 80x25 there's attributes there as well ; - Full RGB - they actually end up being superimposed on each other (when in text mode) ; ; ; Text mode = two bytes get written 2k apart ; ...
KMP/asm/kmp.asm
valinet/ssa
0
40403
; Code by <NAME>, license is GPLv3 ; Faculty of Automatic Control and Computer Science ; University Politehnica of Bucharest ; References: ; [1] https://ocw.cs.pub.ro/courses/iocla ; [2] http://www.nasm.us/doc/nasmdoc3.html ; [3] https://stackoverflow.com/questions/8006711/whats-the-difference-between-equ-and-db-in-na...
lab1/countOdd.asm
AriaPahlavan/CompArch
0
40404
.ORIG x3000 AND R1, R1, #0 AND R2, R2, #0 AND R5, R5, #0 ;counter LEA R0, TOTAL LDW R3, R0, #0 ;R3=256 LEA R0, NUMSLOC LDW R0, R0, #0 ;R0=x4000 FETCH LDB R1, R0, #0 LDB R2, R0, #1 ADD R0, R0,...
savefile/maps/116E_HarborHouse.asm
stranck/fools2018-1
35
40405
<reponame>stranck/fools2018-1<filename>savefile/maps/116E_HarborHouse.asm SECTION "Map_116E", ROM0[$B800] Map_116E_Header: hdr_tileset 8 hdr_dimensions 4, 4 hdr_pointers_a Map_116E_Blocks, Map_116E_TextPointers hdr_pointers_b Map_116E_Script, Map_116E_Objects hdr_pointers_c ...
firmware/emrom.asm
rksdna/emrom
0
40406
<reponame>rksdna/emrom<gh_stars>0 .EQU size, 0x20 .EQU buffer, 0x3E .FLAG LE0, P3.2 .FLAG LE1, P3.3 .FLAG AEN, P3.5 .FLAG MRD, P3.6 .FLAG MWR, P3.7 .ORG 0x0000 entry: mov TL1, #0xFF mov TH1, #0xFF mov TMOD, #0x20 mov TCON, #0x40 mov PCON, #0x80 mov SCON, #0x52 loop: clr LE0 setb LE1 clr AEN clr MR...
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_21829_878.asm
ljhsiun2/medusa
9
40408
<filename>Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_21829_878.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r9 push %rbx push %rcx push %rsi lea addresses_WC_ht+0x1d95f, %rsi nop nop add %rbx, %rbx mov $0x6162636465666768, %r12 movq %r12, (%rsi) n...
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_4k_/i3-7100_9_0x84_notsx.log_21829_2592.asm
ljhsiun2/medusa
9
40409
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x3bac, %rdi nop nop nop and %rbp, %rbp movw $0x6162, (%rdi) nop nop nop nop nop cmp $24947, %r13 lea addresses_normal_ht+0xb6cc, %r15 nop nop xor %rsi, %rsi movb (%r15), %bl no...
Transynther/x86/_processed/US/_ht_/i9-9900K_12_0xca.log_21829_124.asm
ljhsiun2/medusa
9
40410
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x8cbe, %rsi lea addresses_WC_ht+0x19a36, %rdi nop nop nop add %r12, %r12 mov $87, %rcx rep movsl nop nop nop nop nop and $37947, %r10 lea addresses_normal_ht+0x147a2, %rdx no...
libsrc/target/rex/syscallexl.asm
jpoikela/z88dk
640
40411
; ; System Call for REX6000 ; ; ; extern LONG SYSCALLEXL( int, ... ); ; ; $Id: syscallexl.asm,v 1.6 2015-01-19 01:33:06 pauloscustodio Exp $ PUBLIC syscallexl ; we supply a pointer to a pointer to the args push'd ; ; We need to repush our arguments in the correct order (well, correct for ; the SDK) ; .syscallexl...
u7bg/eop-frameLimiter.asm
ptrie/UltimaHacks
1
40412
; Adds an adjustable frame limiter similar to U7SI's. Delays calling drawWorld ; until the 60 Hz timer has fired N times since the last call, limiting the ; the maximum update rate to 60/N fps. %include "include/u7bg-all-includes.asm" defineAddress 30, 0x018A, drawWorldCall defineAddress 30, 0x018F, drawW...
oeis/135/A135742.asm
neoneye/loda-programs
11
40413
<filename>oeis/135/A135742.asm ; A135742: E.g.f.: A(x) = Sum_{n>=0} exp( n*(n-1)/2 * x ) * x^n / n!. ; Submitted by <NAME> ; 1,1,1,4,19,131,1156,12622,166825,2600677,47038456,974165336,22829939089,599668759483,17512623094240,564613124026876,19972670155565761,771019774737952313,32326390781950804048,146571334134575375814...
oeis/003/A003725.asm
neoneye/loda-programs
11
40414
<reponame>neoneye/loda-programs<filename>oeis/003/A003725.asm<gh_stars>10-100 ; A003725: E.g.f.: exp( x * exp(-x) ). ; Submitted by <NAME> ; 1,1,-1,-2,9,-4,-95,414,49,-10088,55521,-13870,-2024759,15787188,-28612415,-616876274,7476967905,-32522642896,-209513308607,4924388011050,-38993940088199,11731860520780,38071542708...
ESEMPI/11.2.mulIO.asm
Porchetta/py-pdp8-tk
8
40416
<gh_stars>1-10 ORG 100 LDA I OUT LDA N OUT LDA ONE OUT LDA QUEST OUT LDA SPC OUT FIRST, INP OUT STA CIFRA STA IN1SUB LDA CR STA IN2SUB BSA SUB LDA OUTSUB SZA BUN NEXT1 LDA I OUT LDA N OUT LDA TWO OUT LDA QUEST OUT LDA SPC OUT ...
os/src/task/switch.asm
buhe/buguOS
5
40417
<filename>os/src/task/switch.asm<gh_stars>1-10 .altmacro .macro SAVE_SN n sd s\n, (\n+1)*8(sp) .endm .macro LOAD_SN n ld s\n, (\n+1)*8(sp) .endm .section .text .globl __switch __switch: # __switch( # current_task_cx_ptr2: &*const TaskContext, # next_task_cx_ptr2: &*const TaskContext ...
lib/target/altair8800/classic/altair8800_crt0.asm
dikdom/z88dk
1
40418
module altair8800_crt0 ;-------- ; Include zcc_opt.def to find out some info ;-------- defc crt0 = 1 INCLUDE "zcc_opt.def" ;-------- ; Some scope definitions ;-------- EXTERN _main ;main() is always external to crt0 code EXTERN asm_im1_handler PUBLIC cleanup ;jp...
programs/oeis/184/A184628.asm
karttu/loda
1
40419
; A184628: Floor(1/frac((4+n^4)^(1/4))), where frac(x) is the fractional part of x. ; 2,8,27,64,125,216,343,512,729,1000,1331,1728,2197,2744,3375,4096,4913,5832,6859,8000,9261,10648,12167,13824,15625,17576,19683,21952,24389,27000,29791,32768,35937,39304,42875,46656,50653,54872,59319,64000,68921,74088,79507,85184,91125,...
kernel/asm/utils.asm
mikegedelman/alloy
0
40421
<reponame>mikegedelman/alloy bits 32 section .text extern _syscall global int128 int128: mov ebp, esp push ebx push eax call _syscall pop eax pop ebx iret ; This macro creates a routine that will call our isr_handler function ; in Rust, passing the number of the interrupt recieved. extern...
libsrc/stdio/tiki100/generic_console_set_paper.asm
jpoikela/z88dk
38
40422
SECTION code_graphics PUBLIC generic_console_set_paper EXTERN __MODE3_attr EXTERN __MODE2_attr generic_console_set_paper: and 15 ld (__MODE3_attr + 1),a and 3 ld (__MODE2_attr + 1),a ret
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_648.asm
ljhsiun2/medusa
9
40424
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_D_ht+0x19be3, %rsi nop nop nop nop nop cmp %r14, %r14 vmovups (%rsi), %ymm5 vextracti128 $0, %ymm5, %xmm5 vpextrq $0, %xmm5, %rcx nop nop inc %rcx lea addresses_WC_ht+0xaeab, %rcx nop nop cmp $...
oeis/332/A332697.asm
neoneye/loda-programs
11
40425
<reponame>neoneye/loda-programs ; A332697: a(n) = (n^4 + 5*n^3 + 11*n^2 + 7*n)/6. ; Submitted by <NAME>(s2.) ; 0,4,19,56,130,260,469,784,1236,1860,2695,3784,5174,6916,9065,11680,14824,18564,22971,28120,34090,40964,48829,57776,67900,79300,92079,106344,122206,139780,159185,180544,203984,229636,257635,288120,321234,357124...
oeis/117/A117473.asm
neoneye/loda-programs
11
40426
<reponame>neoneye/loda-programs ; A117473: The values of 'a' in a^2 + b^2 = c^2, where b - a = 17 and gcd(a, b, c) = 1. ; Submitted by <NAME> ; 7,28,88,207,555,1248,3276,7315,19135,42676,111568,248775,650307,1450008,3790308,8451307,22091575,49257868,128759176,287095935,750463515,1673317776,4374021948,9752810755,2549366...
data/pokemon/dex_entries/voltorb.asm
AtmaBuster/pokeplat-gen2
6
40427
db "BALL@" ; species name db "During the study" next "of this #MON," next "it was discovered" page "that its compo-" next "nents are not" next "found in nature.@"
programs/oeis/333/A333772.asm
neoneye/loda
22
40428
; A333772: a(n) = n * 2^n * (n!)^2. ; 2,32,864,36864,2304000,199065600,22759833600,3329438515200,606790169395200,134842259865600000,35895009576222720000,11277559372311429120000,4129466323494701629440000,1743270091026070964797440000,840505222458998500884480000000 add $0,1 mov $1,$0 lpb $1 mul $0,$1 mul $0,2 mul $...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_2134.asm
ljhsiun2/medusa
9
40429
<filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_2134.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xce57, %r8 sub $64293, %r11 mov (%r8), %bx nop nop dec %rax lea addresses_normal_ht+0xf98c, ...
data/mcp/asm/prog_06_05.asm
colinw7/CZ80
0
40430
<filename>data/mcp/asm/prog_06_05.asm<gh_stars>0 0D00 DD 21 00 0F 0D04 FD 21 00 0E 0D08 DD 46 00 0D0B FD 70 00 0D0E DD 23 0D10 FD 23 0D12 DD 46 00 0D15 FD 70 00 0D18 DD 23 0D1A FD 23 0D1C DD 46 00 0D1F FD 70 00 0D22 76 0E00 00 0E01 00 0E02 00 0F00 1A 0F01 2B 0F02 3C
tests/z80n/op_next_syntax.asm
cizo2000/sjasmplus
220
40432
OPT --zxnext=cspect --syntax=af ORG $0405 label: ; test *OTHER* syntax of various instructions ; (only variants, multi-arguments and error messages) swapnib a ; #ED23 swapnib b : swapnib 5 : swapnib label : swapnib a,,a ; syntax errors mirror a ...
game.asm
sampaio23/nesgame
16
40433
;;; Some instructions ;;;;; ; LDX: load x ; STX: store x ; SEI: set interrupt disable ; CLD: clear decimal ; TXS: transfer X to stack pointer ;;; ; Variables char_vel_x = $0001 char_vel_y = $0002 ;;; Important Registers ; PPU PPU_CTRL = $2000 PPU_MASK = $2001 PPU_STATUS = $2002 OAM_ADDR = $2003 O...
oeis/262/A262440.asm
neoneye/loda-programs
11
40434
; A262440: a(n) = Sum_{k=0..n}(binomial(n,k)*binomial(n+k-1,n-k)). ; Submitted by <NAME> ; 1,1,5,22,101,476,2282,11075,54245,267592,1327580,6617128,33110090,166215895,836761343,4222640822,21354409445,108193910000,549084400088,2790744368660,14203023709276,72371208424880,369170645788840,1885051297844624,9634239580091210,...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_1_1427.asm
ljhsiun2/medusa
9
40435
.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_normal_ht+0x11901, %rsi nop nop cmp $6753, %rdx movl $0x61626364, (%rsi) xor %rsi, %rsi lea addresses_A_ht+0x1e9b1, %rsi lea addresses_normal_ht+0x2eb1, %rdi nop nop xor $21429, %rbp...
programs/oeis/214/A214659.asm
jmorken/loda
1
40436
<filename>programs/oeis/214/A214659.asm ; A214659: a(n) = n*(7*n^2 - 3*n - 1)/3. ; 0,1,14,53,132,265,466,749,1128,1617,2230,2981,3884,4953,6202,7645,9296,11169,13278,15637,18260,21161,24354,27853,31672,35825,40326,45189,50428,56057,62090,68541,75424,82753,90542,98805,107556,116809,126578,136877 mov $2,$0 lpb $0 sub ...
runtime/sourcore.asm
paulscottrobson/xcpl
1
40437
<reponame>paulscottrobson/xcpl<filename>runtime/sourcore.asm<gh_stars>1-10 ; ***************************************************************************** ; ***************************************************************************** ; ; Name: sourcore.asm ; Purpose: Main command decoder and execution for Sour16 ; ...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1872.asm
ljhsiun2/medusa
9
40438
.global s_prepare_buffers s_prepare_buffers: push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x16b40, %r8 nop nop nop cmp %rax, %rax movups (%r8), %xmm6 vpextrq $0, %xmm6, %r9 lfence lea addresses_D_ht+0xadcc, %rsi lea addresses_A_ht+0x18a4c, %rdi clflush (%rdi) nop sub...
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0.log_21829_643.asm
ljhsiun2/medusa
9
40439
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0xfa65, %rsi nop nop nop nop add %r12, %r12 mov $0x6162636465666768, %r10 movq %r10, %xmm6 and $0xffffffffffffffc0, %rsi movntdq %xmm6, (%rsi) nop nop nop nop xor $31848, ...
WRK-V1.2/TOOLS/crt/src/AMD64/amdsecgs.asm
intj-t/openvmsft
0
40441
;*** ;amdsecgs.asm - amd64 -GS cookie check compiler helper ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ;Purpose: ; AMD64 security cookie checking routine ; ;******************************************************************************* TITLE "AMD64 GS Security Check Com...
programs/oeis/265/A265187.asm
karttu/loda
1
40443
<filename>programs/oeis/265/A265187.asm ; A265187: Nonnegative m for which 2*floor(m^2/11) = floor(2*m^2/11). ; 0,1,2,4,5,6,7,9,10,11,12,13,15,16,17,18,20,21,22,23,24,26,27,28,29,31,32,33,34,35,37,38,39,40,42,43,44,45,46,48,49,50,51,53,54,55,56,57,59,60,61,62,64,65,66,67,68,70,71,72,73,75,76,77,78,79,81,82,83,84,86,87,...
Altair101/asm/programsUntested/opMviSetReg.asm
tigerfarm/arduino
2
40446
; -------------------------------------- ; Set registers to sequential values. Start: mvi a,1 ; Move an immediate number to each register. mvi b,2 mvi c,3 mvi d,4 mvi e,5 mvi h,6 ...
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_25_509.asm
ljhsiun2/medusa
9
40447
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xdea, %rsi lea addresses_A_ht+0x37ea, %rdi nop nop nop nop and %r8, %r8 mov $31, %rcx rep movsw nop nop nop dec %rdx lea addresses_A_ht+0x492a, %r12 nop nop no...
Fire Alarm - Smoke Detector/assets/alarm_4.asm
sanils2002/ASSEMBLY-PROJECTS
0
40449
MVI A,00H START: STC CMC RIM RAL JNC START MVI C,03H MVI A,E7H MID: SIM DCR C JNZ MID JMP START
programs/oeis/277/A277314.asm
neoneye/loda
22
40450
<filename>programs/oeis/277/A277314.asm ; A277314: Number of nonzero coefficients in Stern polynomial B(n,t). ; 0,1,1,2,1,2,2,3,1,3,2,3,2,3,3,4,1,4,3,3,2,3,3,4,2,4,3,4,3,4,4,5,1,5,4,4,3,4,3,4,2,4,3,4,3,4,4,5,2,5,4,4,3,4,4,5,3,5,4,5,4,5,5,6,1,6,5,5,4,5,4,5,3,5,4,4,3,4,4,5,2,5,4,4,3,4,4,5,3,5,4,5,4,5,5,6,2,6,5,5 lpb $0 ...
programs/oeis/166/A166978.asm
neoneye/loda
22
40451
; A166978: a(n) = 4*( 1-(-1)^n) -2^n. ; -1,6,-4,0,-16,-24,-64,-120,-256,-504,-1024,-2040,-4096,-8184,-16384,-32760,-65536,-131064,-262144,-524280,-1048576,-2097144,-4194304,-8388600,-16777216,-33554424,-67108864,-134217720,-268435456,-536870904,-1073741824,-2147483640,-4294967296,-8589934584,-17179869184,-34359738360,-...
26_DIV.asm
aleattene/lc2-exams
0
40452
<reponame>aleattene/lc2-exams<filename>26_DIV.asm ; ************ DESCRIZIONE SOTTOPROGRAMMA ************ Il seguente sottoprogramma denominato DIV riceve nei registri R0 e R1 i due numeri N e D, entrambi positivi codificati in complemento a due (quindi compresi fra 1 e 32767). Il sottoprogramma inoltre restituisce nel...
Transynther/x86/_processed/AVXALIGN/_zr_un_/i7-7700_9_0xca.log_21829_1642.asm
ljhsiun2/medusa
9
40454
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1b96, %r8 and %rax, %rax mov (%r8), %r10d nop nop nop nop sub $11043, %rbx lea addresses_D_ht+0x46d6, %rsi lea addresses_D_ht+0x1ed6, %rdi nop nop no...
oeis/188/A188382.asm
neoneye/loda-programs
11
40455
<reponame>neoneye/loda-programs<filename>oeis/188/A188382.asm ; A188382: Primes of the form 8*n^2 + 2*n + 1. ; Submitted by <NAME>(w1) ; 11,37,79,137,211,821,991,1597,1831,2081,2347,2927,3571,3917,4657,5051,6329,8779,9871,11027,14197,14879,17021,20101,21737,26107,27967,28921,33931,34981,39341,40471,41617,50087,51361,59...
Diatomic Series - MASM/DiatomicSeries/DiatomicSeries/Source.asm
aberuwu/Diatomic-Series-x86-Assembly
0
40457
<gh_stars>0 TITLE <NAME> (aberuwu) / Diatomic Series - This Program Uses the Irvine Library INCLUDE Irvine32.inc .data array DWORD 100 dup (0) index DWORD OFFSET array .code main PROC mov edi, 0 ;Index counter mov eax, 0 ;Move first value into index 0, display and increment mov esi, [index] mov [...
PCMgrKernel32/internalcall_x64.asm
fengjixuchui/PCMgr
40
40458
.data extern PsGetNextProcessThread:qword .code KxGetNextProcessThread_x64Call PROC arg_0= qword ptr 8 arg_8= qword ptr 10h mov [rsp+arg_8], rdx mov [rsp+arg_0], rcx sub rsp, 28h mov rdx, [rsp+28h+arg_8] mov rcx, [rsp+28h+arg_0] mov rbx, rdx call PsGetNextProcessThread mov rbx, rax m...
programs/oeis/132/A132465.asm
karttu/loda
1
40459
<filename>programs/oeis/132/A132465.asm ; A132465: Let df(n,k) = Product_{i=0..k-1} (n-i) be the descending factorial and let P(m,n) = df(n-1,m-1)^2*(2*n-m)/((m-1)!*m!). Sequence gives P(7,n). ; 0,0,0,0,0,0,1,63,1232,13104,94500,518364,2317392,8833968,29630601,89464375,247351104,634542272,1526183568,3470399856,75116880...
ch09/32 bit/Length.asm
William0Friend/my_masm
0
40461
; String Length (Length.asm) ; This program tests the Str_length procedure, ; which returns the length of a string. INCLUDE Irvine32.inc Str_length PROTO, pString:PTR BYTE ; pointer to string .data string_1 BYTE "Hello",0 string_2 BYTE "#",0 string_3 BYTE 0 .code main PROC cal...
src/veterancy_crate_check_trainable.asm
mvdhout1992/ts-patches
33
40462
<reponame>mvdhout1992/ts-patches %include "macros/patch.inc" ;@LJMP 0x0045882C, _Crate_Goodie_Veterancy_Crate_Add_Trainable_Check ; In the original games, objects with Trainable=no still gain veterancy from ; veterancy crates. This fixes it. ; Author: Iran hack 0x0045882C _Crate_Goodie_Veterancy_Crate_Add_Trainable...
libsrc/_DEVELOPMENT/adt/wv_priority_queue/c/sccz80/wv_priority_queue_empty.asm
jpoikela/z88dk
640
40464
<gh_stars>100-1000 ; int wv_priority_queue_empty(wv_priority_queue_t *q) SECTION code_clib SECTION code_adt_wv_priority_queue PUBLIC wv_priority_queue_empty EXTERN asm_wv_priority_queue_empty defc wv_priority_queue_empty = asm_wv_priority_queue_empty ; SDCC bridge for Classic IF __CLASSIC PUBLIC _wv_priority_queu...
programs/com_in.asm
feliposz/FelipOS
0
40466
%include 'felipos.inc' main: mov ax, 1 call os_serial_port_enable mov si, help_msg call os_print_string .loop: call os_check_for_key cmp al, 27 ; ESCAPE je .exit call os_get_via_serial test ah, 10000000b jnz .error or al, al jz .loop mov si, output mov [si]...
8088/bus_test/8253.asm
reenigne/reenigne
92
40468
%include "../defaults_bin.asm" in al,0x61 or al,1 ; Speaker off but gate high out 0x61,al mov cx,200 mov al,TIMER2 | BOTH | MODE0 | BINARY out 0x43,al mov al,1 out 0x42,al out 0x42,al ; mov al,TIMER2 | MSB | MODE3 | BINARY ; out 0x43,al ; mov al,0x00 ; out 0x42,al looptop: mov al,TIMER2 ...
libsrc/_DEVELOPMENT/arch/sms/PSGlib/z80/asm_PSGlib_SFXGetStatus.asm
jpoikela/z88dk
640
40469
<reponame>jpoikela/z88dk ; PSGlib - C programming library for the SEGA PSG ; ( part of devkitSMS - github.com/sverx/devkitSMS ) ; ************************************************** INCLUDE "PSGlib_private.inc" SECTION code_clib SECTION code_PSGlib PUBLIC asm_PSGlib_SFXGetStatus EXTERN __PSGlib_SFXStatus asm_PSGlib...
libsrc/_DEVELOPMENT/arch/zxn/esxdos/z80/asm_p3dos_edrv_from_pdrv.asm
jpoikela/z88dk
640
40470
<reponame>jpoikela/z88dk<filename>libsrc/_DEVELOPMENT/arch/zxn/esxdos/z80/asm_p3dos_edrv_from_pdrv.asm ; unsigned char p3dos_edrv_from_pdrv(unsigned char pdrv) SECTION code_esxdos PUBLIC asm_p3dos_edrv_from_pdrv EXTERN asm_toupper asm_p3dos_edrv_from_pdrv: ; enter: l = plus 3 drive 'A'..'P' or 'a'..'p' ; ...
non_regression/switch_x86_macosx_4.o.asm
LRGH/plasmasm
1
40471
<reponame>LRGH/plasmasm .section __TEXT,__text,regular,pure_instructions .align 4, 0x90 .globl _xstrtoimax _xstrtoimax: pushl %ebp movl %esp, %ebp pushl %ebx pushl %edi pushl %esi subl $76, %esp call L0000000E L0000000E: popl %eax movl %eax, -32(%ebp) movl ...
boot2/asm/interrupt_stubs.asm
hyfloac/Kernel
0
40472
<reponame>hyfloac/Kernel isr_no_err_stub 0 isr_no_err_stub 1 isr_no_err_stub 2 isr_no_err_stub 3 isr_no_err_stub 4 isr_no_err_stub 5 isr_no_err_stub 6 isr_no_err_stub 7 isr_err_stub 8 isr_no_err_stub 9 isr_err_stub 10 isr_err_stub 11 isr_err_stub 12 isr_err_stub 13 isr_err_stub 14 isr_no_err_stub 15 i...
Modules/Module4/InputOutput/output.asm
hackettccp/CSCI213
0
40473
<reponame>hackettccp/CSCI213<filename>Modules/Module4/InputOutput/output.asm #Demonstrates printing output of different types .text lw $a0, integer #Loads 44 into $a0 li $v0, 1 #Sets the system call code for printing an int syscall la $a0, newline #Loads the starting address of the newline string to $a0 li $...
oeis/104/A104670.asm
neoneye/loda-programs
11
40474
<reponame>neoneye/loda-programs<filename>oeis/104/A104670.asm ; A104670: a(n) = binomial(n+2, 2)*binomial(n+7, n). ; Submitted by <NAME> ; 1,24,216,1200,4950,16632,48048,123552,289575,629200,1283568,2482272,4585308,8139600,13953600,23193984,37509021,59183784,91333000,138138000,205134930,299562120,430775280,610740000,85...
release/src/router/gmp/mpn/ia64/mod_34lsub1.asm
ghsecuritylab/Toastman-Tinc
5
40476
<reponame>ghsecuritylab/Toastman-Tinc<gh_stars>1-10 dnl IA-64 mpn_mod_34lsub1 dnl Contributed to the GNU project by <NAME>. dnl Copyright 2003-2005, 2010 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or modify...
quake2/source/ref_soft/r_scana.asm
WarlockD/quake2-stm32
3
40477
<gh_stars>1-10 .386P .model FLAT ; ; d_scana.s ; x86 assembly-language turbulent texture mapping code ; include qasm.inc include d_if.inc if id386 _DATA SEGMENT _DATA ENDS _TEXT SEGMENT ;---------------------------------------------------------------------- ; turbulent texture mapping code ;-------------------...
programs/oeis/182/A182986.asm
jmorken/loda
1
40478
<filename>programs/oeis/182/A182986.asm<gh_stars>1-10 ; A182986: Zero together with the prime numbers (A000040). ; 0,2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269 sub...
asm/k32baddr.asm
gregzakh/sketches
1
40479
; locates kernel32.dll base address ; requires legacy_stdio_definitions.lib while linking global main extern printf section .data fmt: db "%p", 0xA, 0 section .text main: push r15 ; usage of not clobber registers seems push r12 ; so hacky (requires releasing) sub rsp, 38h ; re...
data/pokemon/base_stats/geodude.asm
AtmaBuster/pokeplat-gen2
6
40480
<reponame>AtmaBuster/pokeplat-gen2<gh_stars>1-10 db 0 ; species ID placeholder db 40, 80, 100, 20, 30, 30 ; hp atk def spd sat sdf db ROCK, GROUND ; type db 255 ; catch rate db 86 ; base exp db NO_ITEM, EVERSTONE ; items db GENDER_F50 ; gender ratio db 15 ; step cycles to hatch INCBIN "gfx/pokem...
lz48decrunch_v006_.asm
uniabis/z80depacker
25
40481
<reponame>uniabis/z80depacker ; ; LZ48 decrunch ; ; In ; HL=compressed data address ; ; DE=output data address ; Out ; HL last address of compressed data read (you must inc once for LZ48 stream) ; ; DE last address of decrunched data write +1 ; ; BC always 3 ; ; A always zero ; ; IXL undeterm...
software/pcx86/bdsrc/dos/fcbio.asm
fatman2021/basicdos
59
40482
; ; BASIC-DOS FCB Services ; ; @author <NAME> <<EMAIL>> ; @copyright (c) 2020-2021 <NAME> ; @license MIT <https://basicdos.com/LICENSE.txt> ; ; This file is part of PCjs, a computer emulation software project at pcjs.org ; include macros.inc include devapi.inc include dos.inc include dosapi.inc DOS s...
Invaders/invaders.asm
adithyabsk/LC3Programs
1
40483
<gh_stars>1-10 ;-------------------------------------------------------------------------- ; ; Program: invaders.asm ; Name: <NAME> ; Date: 29 Nov 2017 ; Version: 1.0 ; ; Description: A rendition of the classic space invaders game coded using the ; LC3 ISA ; Note: The laser width was chagned from instruc...
programs/oeis/154/A154958.asm
neoneye/loda
22
40484
<reponame>neoneye/loda<filename>programs/oeis/154/A154958.asm ; A154958: Antidiagonal sums of number triangle A154957 regarded as a lower triangular infinite matrix. ; 1,1,2,1,2,1,3,2,4,2,4,2,5,3,6,3,6,3,7,4,8,4,8,4,9,5,10,5,10,5,11,6,12,6,12,6,13,7,14,7,14,7,15,8,16,8,16,8,17,9,18,9,18,9,19,10,20,10,20,10,21,11,22,11,...
stressfs.asm
chen-cohen/xv6_2
0
40486
_stressfs: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "fs.h" #include "fcntl.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 81 ec 30 02 00 00...
Assembly/enemizerflags.asm
CaitSith2/Enemizer
2
40487
<gh_stars>1-10 ; ;Enemizer Flags EnemizerFlags: .randomize_bushes db #$00 ;408100 : 200100 ; Enable random enemy under bushes .close_blind_door db #$00 ;408101 : 200101 ; Enable blind's door closing for other bosses .moldorm_eye_count db #$01 ;408102 : 200102 ; Moldorm eye count, default to 2 eyes (1) .randomize_sprite...
programs/oeis/105/A105426.asm
jmorken/loda
1
40488
<filename>programs/oeis/105/A105426.asm ; A105426: a(0)=1, a(1)=5, a(n)=8*a(n-1)-a(n-2). ; 1,5,39,307,2417,19029,149815,1179491,9286113,73109413,575589191,4531604115,35677243729,280886345717,2211413522007,17410421830339,137071961120705,1079165267135301,8496250175961703,66890836140558323 mov $3,1 lpb $0 sub $0,1 ad...
data/baseStats/ponyta.asm
etdv-thevoid/pokemon-rgb-enhanced
1
40489
<reponame>etdv-thevoid/pokemon-rgb-enhanced<filename>data/baseStats/ponyta.asm db PONYTA ; pokedex id db 50 ; base hp db 85 ; base attack db 55 ; base defense db 90 ; base speed db 65 ; base special db FIRE ; species type 1 db FIRE ; species type 2 db 190 ; catch rate db 152 ; base exp yield INCBIN "pic/gsmon/ponyta.pi...
oeis/291/A291699.asm
neoneye/loda-programs
11
40491
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A291699: a(n) = n^n*(2*n)!/(n!*(n + 1)!). ; Submitted by <NAME> ; 1,1,8,135,3584,131250,6158592,353299947,23991418880,1883638417518,167960000000000,16772331868538246,1854655886442627072,225005916687384753700,29718395534545380311040,4245313393689422607421875,652233889532...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xca.log_21829_39.asm
ljhsiun2/medusa
9
40493
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1ef73, %rcx clflush (%rcx) nop nop nop nop and %rax, %rax vmovups (%rcx), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $1, %xmm1, %rsi nop add %r9, %r9 lea addresses_normal_ht...
programs/oeis/000/A000554.asm
neoneye/loda
22
40495
<filename>programs/oeis/000/A000554.asm<gh_stars>10-100 ; A000554: Number of labeled trees of diameter 3 with n nodes. ; 12,60,210,630,1736,4536,11430,28050,67452,159588,372554,859950,1965840,4456176,10026702,22412970,49806980,110100060,242220594,530578950,1157627352,2516581800,5452594550,11777604930,25367149836,544923...
oeis/324/A324338.asm
neoneye/loda-programs
11
40496
<filename>oeis/324/A324338.asm ; A324338: a(n) = A002487(1+A006068(n)). ; Submitted by <NAME>(s1) ; 1,1,1,2,1,3,3,2,1,4,5,3,4,3,2,5,1,5,7,4,7,5,3,8,5,4,3,7,2,7,8,5,1,6,9,5,10,7,4,11,9,7,5,12,3,11,13,8,6,5,4,9,3,10,11,7,2,9,12,7,11,8,5,13,1,7,11,6,13,9,5,14,13,10,7,17,4,15,18,11,11,9,7,16,5,17,19,12,3,14,19,11,18,13,8,2...
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0xca.log_21829_956.asm
ljhsiun2/medusa
9
40497
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1d30a, %rsi lea addresses_WC_ht+0x1690a, %rdi nop dec %r8 mov $13, %rcx rep movsb nop nop nop nop and %rdx, %rdx lea addresses_A_ht+0x13b0a, %rbp sub $2998, %r15 movb $0x61, (...
programs/oeis/269/A269237.asm
neoneye/loda
22
40498
<reponame>neoneye/loda ; A269237: a(n) = (n + 1)^2*(5*n^2 + 10*n + 2)/2. ; 1,34,189,616,1525,3186,5929,10144,16281,24850,36421,51624,71149,95746,126225,163456,208369,261954,325261,399400,485541,584914,698809,828576,975625,1141426,1327509,1535464,1766941,2023650,2307361,2619904,2963169,3339106,3749725,4197096 add $0,1 ...
oeis/134/A134045.asm
neoneye/loda-programs
11
40499
; A134045: Let P(A) be the power set of an n-element set A. Then a(n) = the number of pairs of elements {x,y} of P(A) for which either 0) x and y are disjoint and for which either x is a subset of y or y is a subset of x, or 1) x and y are intersecting but for which x is not a subset of y and y is not a subset of x, or...
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0.log_21829_1812.asm
ljhsiun2/medusa
9
40500
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1ab1b, %rsi lea addresses_WT_ht+0xe51b, %rdi nop nop nop nop nop and $40099, %r12 mov $98, %rcx rep movsl nop nop nop nop dec %r8 lea addresses_WC_ht+0x7dcf, %r11 clflush (%r1...
oeis/035/A035599.asm
neoneye/loda-programs
11
40502
; A035599: Number of points of L1 norm 5 in cubic lattice Z^n. ; 0,2,20,102,360,1002,2364,4942,9424,16722,28004,44726,68664,101946,147084,207006,285088,385186,511668,669446,864008,1101450,1388508,1732590,2141808,2625010,3191812,3852630,4618712,5502170,6516012,7674174,8991552,10484034,12168532,14063014,16186536,18559274...
oeis/156/A156266.asm
neoneye/loda-programs
11
40503
; A156266: a(n) = 7^n*Catalan(n). ; Submitted by <NAME>(s1) ; 1,7,98,1715,33614,705894,15529668,353299947,8243665430,196199237234,4744454282204,116239129913998,2879153833254412,71978845831360300,1813866914950279560,46026872966863343835,1175038992212864189670,30159334133463514201530,777793353968269576776300,201448478677...
src/apple2/penetrator.asm
StewBC/penetrator-apple2
14
40504
<filename>src/apple2/penetrator.asm<gh_stars>10-100 ;----------------------------------------------------------------------------- ; penetrator, the zx spectrum game, made for Apple II ; ; <NAME>, 2019 ; This is free and unencumbered software released into the public domain. ; ; Use the ca65 assembler and make to build...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_21829_318.asm
ljhsiun2/medusa
9
40505
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x2e9e, %rsi lea addresses_A_ht+0xf31e, %rdi cmp %r8, %r8 mov $120, %rcx rep movsl cmp $21102, %rcx lea addresses_D_ht+0x1ecde, %rbx cmp %r15, %r15 mov $0x6162636465666768, %r11...
oeis/066/A066779.asm
neoneye/loda-programs
11
40506
<reponame>neoneye/loda-programs ; A066779: Sum of squarefree numbers <= n. ; Submitted by <NAME> ; 1,3,6,6,11,17,24,24,24,34,45,45,58,72,87,87,104,104,123,123,144,166,189,189,189,215,215,215,244,274,305,305,338,372,407,407,444,482,521,521,562,604,647,647,647,693,740,740,740,740,791,791,844,844,899,899,956,1014,1073,107...
src/asm/win64/m34str.asm
Pantarheon/libkoliba
0
40507
;; m34str.asm ;; ;; Copyright 2021 G. <NAME> ;; All rights reserved ;; ;; nasm -f win64 m34str.asm section .text default rel EXTERN KOLIBA_PrintM34tFormat, KOLIBA_ScanM34tFormat EXTERN KOLIBA_DoublesToString, KOLIBA_StringToDoubles GLOBAL KOLIBA_MatrixToString, KOLIBA_StringToMatrix KOLIBA_MatrixToString: ; On E...
libsrc/_DEVELOPMENT/arch/hbios/c/sccz80/hbios_e_de_callee.asm
Frodevan/z88dk
640
40508
; uint8_t hbios_e_de(uint16_t func_device, uint16_t arg) __smallc __z88dk_callee SECTION code_clib SECTION code_arch PUBLIC hbios_e_de_callee EXTERN asm_hbios_e .hbios_e_de_callee pop af pop de pop bc push af jp asm_hbios_e
oeis/125/A125396.asm
neoneye/loda-programs
11
40509
; A125396: Number of base 8 circular n-digit numbers with adjacent digits differing by 6 or less. ; Submitted by <NAME> ; 1,8,62,470,3650,28358,220394,1712894,13312610,103465622,804135002,6249738734,48572981138,377509300358,2934002989322,22803076727390,177225555027650,1377397345557878,10705134749071034,8320032731684449...
modules/libc/posix/1_iodir.nasm
r-tty/radios
0
40510
;------------------------------------------------------------------------------- ; posix/1_iodir.nasm - POSIX directory routines. ;------------------------------------------------------------------------------- module libc.iodir exportproc _opendir, _closedir, _readdir, _readdir_r, _rewinddir section .text ; DIR ...
oeis/022/A022418.asm
neoneye/loda-programs
11
40511
<reponame>neoneye/loda-programs ; A022418: Kim-sums: "Kimberling sums" K_n + K_7. ; Submitted by <NAME>(s1) ; 6,18,21,23,26,29,31,34,36,39,42,44,47,50,52,55,57,60,63,65,68,70,73,76,78,81,84,86,89,91,94,97,99,102,105,107,110,112,115,118,120,123,125,128,131,133,136,139,141,144,146,149,152,154,157,159,162,165,167,170 mul...
oeis/167/A167345.asm
neoneye/loda-programs
11
40512
<reponame>neoneye/loda-programs<filename>oeis/167/A167345.asm ; A167345: Totally multiplicative sequence with a(p) = (p-1)*(p-2) = p^2-3p+2 for prime p. ; Submitted by <NAME> ; 1,0,2,0,12,0,30,0,4,0,90,0,132,0,24,0,240,0,306,0,60,0,462,0,144,0,8,0,756,0,870,0,180,0,360,0,1260,0,264,0,1560,0,1722,0,48,0,2070,0,900,0,480...
src/alloc.asm
codebje/losp
0
40513
;; Allocator and garbage collector ;; ;; Every object is either a pair or an atom. Pairs consume 32 bits of space, thus pointers only require 14 bits each. ;; A pair contains two pointers; in the car pointer bit 15 is used for GC marking of the pair. ;; ;; Version 1 uses the simplest approach to atoms - if bit 14 of ca...
oeis/021/A021815.asm
neoneye/loda-programs
11
40514
<reponame>neoneye/loda-programs ; A021815: Decimal expansion of 1/811. ; Submitted by <NAME> ; 0,0,1,2,3,3,0,4,5,6,2,2,6,8,8,0,3,9,4,5,7,4,5,9,9,2,6,0,1,7,2,6,2,6,3,8,7,1,7,6,3,2,5,5,2,4,0,4,4,3,8,9,6,4,2,4,1,6,7,6,9,4,2,0,4,6,8,5,5,7,3,3,6,6,2,1,4,5,4,9,9,3,8,3,4,7,7,1,8,8,6,5,5,9,8,0,2,7,1 seq $0,42 ; Unary represen...
RESULTS_ARCHIVE/18-08-2017/asm/net461-Safe.asm
Kosat/MixingLangsBenchmark
0
40515
<filename>RESULTS_ARCHIVE/18-08-2017/asm/net461-Safe.asm Normal JIT generated code Export_CSharp.Lev.levenshtein_safe(System.String, System.String, Int32, Int32, Int32, Int32) Begin 00007ffe187a59104157 *** WARNING: Unable to verify checksum for levenshtein-CSharp.dll C:\temp\MixingLangsBenchmark\levenshtein-CSharp\le...
programs/oeis/087/A087066.asm
karttu/loda
0
40516
; A087066: Sum{Floor(n*(r^k): r=sqrt(5)-2, k>=0). ; 0,1,2,3,4,6,7,8,9,11,12,13,14,16,17,18,19,21,23,24,25,26,28,29,30,31,33,34,35,36,38,39,40,41,43,44,46,47,48,50,51,52,53,55,56,57,58,60,61,62,63,65,66,67,69,70,72,73,74,75,77,78,79,80,82,83,84,85,87,88,89,90 mov $1,$0 div $1,18 mov $2,$0 sub $0,2 sub $0,$1 lpb $0,1 ...
Modules/nettle/sparc64/arcfour-crypt.asm
blondfrogs/ravenwallet-ios
278
40518
C sparc64/arcfour-crypt.asm ifelse(< Copyright (C) 2002, 2005 <NAME> This file is part of GNU Nettle. GNU Nettle is free software: you can redistribute it and/or modify it under the terms of either: * the GNU Lesser General Public License as published by the Free Software Foundation; either ...
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i3-7100_9_0xca_notsx.log_1888_247.asm
ljhsiun2/medusa
9
40519
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0xd2c0, %r15 nop nop and $42213, %r8 mov (%r15), %r12w nop nop nop nop add $5563, %rax lea addresses_UC_ht+0x12a93, %rsi lea addresses_A_ht+0x16e3f, %rdi nop nop ...
src/stars/tests/tests/pseudoOps/abs_test.asm
kevintmcdonnell/stars
9
40520
.text main: # Testing with positive and negative values li $t0, 30000 li $t1, -30000 abs $a0, $t0 li $v0, 1 syscall li $a0, ' ' li $v0, 11 syscall abs $a0, $t1 li $v0, 1 syscall
programs/oeis/215/A215108.asm
neoneye/loda
22
40521
<reponame>neoneye/loda ; A215108: a(n) = A215082(2*n) ; 0,1,4,8,17,35,66,124,229,414,742,1318,2320,4059,7062,12224,21071,36185,61930,105678,179847,305326,517212,874380,1475472,2485573,4180648,7021544,11777117,19728911,33011202 mov $5,2 mov $6,$0 lpb $5 mov $0,$6 mov $3,0 sub $5,1 add $0,$5 sub $0,1 lpb $0 ...
std/int.asm
mossx-dev/Mycore
0
40522
<reponame>mossx-dev/Mycore ;; Author: <NAME> ;; Data: 13-Oct-21 %ifndef _Mycelium_std_int_ %define _Mycelium_std_int_ %include "std/out.asm" ; Args ; rax: out string ; rbx: number ; Return ; rsi: number of digits int~to_cstring: push rbp mov rbp, rsp push rdx ; Save the registers we...
Library/Config/Utils/utilsManager.asm
steakknife/pcgeos
504
40523
<reponame>steakknife/pcgeos COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC/GEOS MODULE: Config -- Utils FILE: utilsManager.asm AUTHOR: <NAME>, October 26, 1992 REVISION HISTORY: Name Date Description --...
src/drivers/SCCPlus.asm
sharksym/vgmplay-sharksym
6
40524
<reponame>sharksym/vgmplay-sharksym<gh_stars>1-10 ; ; K052539 Konami SCC+ ; SCCPlus_REGISTER_BASE: equ 0B800H SCCPlus_WAVEFORM: equ 0B800H SCCPlus_FREQUENCY: equ 0B8A0H SCCPlus_AMPLITUDE: equ 0B8AAH SCCPlus_MIXER: equ 0B8AFH SCCPlus_DEFORMATION: equ 0B8C0H SCCPlus_BANK_SELECT: equ 0B000H SCCPlus_BANK: equ 80H SCCPlus_B...