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/adt/b_array/c/sdcc_iy/b_array_back.asm
meesokim/z88dk
0
121105
<reponame>meesokim/z88dk ; int b_array_back(b_array_t *a) SECTION code_adt_b_array PUBLIC _b_array_back EXTERN asm_b_array_back _b_array_back: pop af pop hl push hl push af jp asm_b_array_back
src/features/cpuid.asm
FranchuFranchu/fran-os
1
121106
<filename>src/features/cpuid.asm ; OUT: EAX != 0 if cpuid available kernel_cpuid_available: pushfd pushfd ;Store EFLAGS xor dword [esp],0x00200000 ;Invert the ID bit in stored EFLAGS popfd ;Load stored EFLAGS (with ID bit inverted) ...
oeis/147/A147658.asm
neoneye/loda-programs
11
121108
<filename>oeis/147/A147658.asm ; A147658: (1, 2, -4, 6, -8,...) interleaved with (3, -3, 3, -3, 3,...). ; Submitted by <NAME> ; 1,3,2,-3,-4,3,6,-3,-8,3,10,-3,-12,3,14,-3,-16,3,18,-3,-20,3,22,-3,-24,3,26,-3,-28,3,30,-3,-32,3,34,-3,-36,3,38,-3,-40,3,42,-3,-44,3,46,-3,-48,3,50,-3,-52,3,54,-3,-56,3,58,-3,-60,3,62,-3,-64 l...
untested/x86/cute_alloc.asm
GabrielRavier/Generic-Assembly-Samples
0
121110
%include "macros.inc" global _ca_stack_create global _ca_stack_alloc global _ca_stack_free global _ca_stack_bytes_left global _ca_frame_create global _ca_frame_alloc global _ca_frame_free global _ca_alloc_head global _ca_leak_check_alloc global _ca_leak_check_calloc global _ca_leak_check_free global _CUTE_ALLOC_BYTES_...
libsrc/math/mbf32/c/sccz80/fp_return.asm
jpoikela/z88dk
38
121111
<gh_stars>10-100 SECTION code_fp_mbf32 PUBLIC ___mbf32_return EXTERN ___mbf32_FPREG ; Return the value that's in the DAC ___mbf32_return: IF __CPU_INTEL__ ld hl,(___mbf32_FPREG+2) ex de,hl ELSE pop ix ld de,(___mbf32_FPREG+2) ENDIF ld hl,(___mbf32_FPREG) ret
programs/oeis/045/A045899.asm
neoneye/loda
22
121113
<filename>programs/oeis/045/A045899.asm ; A045899: Numbers k such that k+1 and 3*k+1 are perfect squares. ; 0,8,120,1680,23408,326040,4541160,63250208,880961760,12270214440,170902040408,2380358351280,33154114877520,461777249934008,6431727384198600,89582406128846400,1247721958419651008,17378525011746267720,2420516282060...
libsrc/_DEVELOPMENT/drivers/terminal/console_01/output/console_01_output_terminal_char/console_01_output_char_proc_move_up.asm
jpoikela/z88dk
640
121114
<gh_stars>100-1000 SECTION code_driver SECTION code_driver_terminal_output PUBLIC console_01_output_char_proc_move_up console_01_output_char_proc_move_up: ; move character coordinates up one row, snap to window ; ; enter : d = y coord ; b = window.height ; ; exit : d = new y coord ;...
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_21829_456.asm
ljhsiun2/medusa
9
121115
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x356e, %rbp nop nop nop nop nop cmp $48604, %r8 mov $0x6162636465666768, %r11 movq %r11, %xmm2 and $0xffffffffffffffc0, %rbp vmovntdq %ymm2, (%rbp) and %r14, %r1...
programs/oeis/024/A024174.asm
neoneye/loda
22
121116
<filename>programs/oeis/024/A024174.asm ; A024174: a(n) is floor((4th elementary symmetric function of 1,2,..,n)/(3rd elementary symmetric function of 1,2,...,n)). ; 0,0,1,2,3,4,6,8,10,13,16,19,22,25,29,33,37,42,47,52,57,62,68,74,80,87,94,101,108,115,123,131,139,148,157,166,175,184,194,204,214,225,236,247,258,269,281,2...
oeis/067/A067534.asm
neoneye/loda-programs
11
121117
<filename>oeis/067/A067534.asm ; A067534: a(n) = 4^n * sum_{i=1,n} i^4/4^i. ; Submitted by <NAME>(s1) ; 1,20,161,900,4225,18196,75185,304836,1225905,4913620,19669121,78697220,314817441,1259308180,5037283345,20149198916,80596879185,322387621716,1289550617185,5158202628740,20632810709441 mov $3,$0 add $3,1 mov $5,$0 lpb...
programs/oeis/122/A122046.asm
neoneye/loda
0
121118
<filename>programs/oeis/122/A122046.asm ; A122046: Partial sums of floor(n^2/8). ; 0,0,0,1,3,6,10,16,24,34,46,61,79,100,124,152,184,220,260,305,355,410,470,536,608,686,770,861,959,1064,1176,1296,1424,1560,1704,1857,2019,2190,2370,2560,2760,2970,3190,3421,3663,3916,4180,4456,4744,5044,5356,5681,6019,6370,6734,7112,7504,...
programs/oeis/164/A164950.asm
karttu/loda
0
121119
; A164950: 1 if there is a winning strategy for misère Sprouts with n initial points, else 0. ; 1,0,0,0,1,1,0,0,0,1,1,1,0,0,0,1,1,1,0,0 mov $1,1 mov $2,$0 lpb $2,1 add $3,$2 add $5,5 add $6,$0 lpb $4,1 trn $2,2 trn $6,$3 add $4,$6 trn $4,$3 lpe mov $4,$6 lpb $5,1 add $0,2 add $4,2...
RunOnReal/disk/disk_load_all_dmaerror.asm
SwordYork/slef
8
121120
;load DH sectors to MEM ES:BX [bits 16] RCYLS equ 10 disk_load: pusha mov ax, 0x0820 mov es, ax mov dl, [BOOT_DRIVE] mov ah, 0x02 ;read flag mov al, 17 ;number of sectors mov ch, 0x00 ;cylinder 0 mov dh, 0x00 ;pointer 0 ; mov dl, 0x00 mov cl, 0x02 ;sector 2 (start from 1) mov bx, 0 int 0x13 ;int...
libsrc/gfx/common/clg.asm
ahjelm/z88dk
640
121121
SECTION code_graphics PUBLIC clg PUBLIC _clg EXTERN swapgfxbk EXTERN __graphics_end EXTERN cleargraphics INCLUDE "graphics/grafix.inc" .clg ._clg IF !__CPU_INTEL__ & !__CPU_GBZ80__ push ix ENDIF IF NEED_swapgfxbk = 1 call swapgfxbk ENDIF call clea...
oeis/192/A192234.asm
neoneye/loda-programs
11
121122
<gh_stars>10-100 ; A192234: a(n) = 2*(a(n-1) + a(n-2) + a(n-3)) - a(n-4) for n >= 4, with initial terms 0,1,0,1. ; Submitted by <NAME> ; 0,1,0,1,4,9,28,81,232,673,1944,5617,16236,46921,135604,391905,1132624,3273345,9460144,27340321,79014996,228357577,659965644,1907336113,5512303672,15930853281,46041020488,133061018769,...
FeaturePatches/ItemMemory/ItemMemory.asm
xragey/smw
4
121123
; ---------------------------------------------------------------------------------------------------------------------------------- ; ; "Item Memory" ; by Ragey <<EMAIL>> ; https://github.com/xragey/smw ; ; Replaces the item memory system in Super Mario World with a different system that assigns a bit to every indivi...
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2.log_21829_295.asm
ljhsiun2/medusa
9
121124
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x11a, %r10 nop nop add %rcx, %rcx movb (%r10), %r9b nop nop dec %r12 lea addresses_WC_ht+0x1bf1a, %r13 clflush (%r13) nop nop xor $20208, %r11 mov $0x616263646566676...
uti/edit.asm
olifink/smsqe
0
121125
<gh_stars>0 ; standard editor section utility include dev8_keys_k include dev8_keys_err include dev8_keys_qdos_io include dev8_uti_edit_data xdef ut_edit,prt_text,pos_curs ;+++ ; Standard text editor. ; ; Entry Exit ; A...
oeis/077/A077070.asm
neoneye/loda-programs
11
121127
<filename>oeis/077/A077070.asm ; A077070: Triangle read by rows: T(n,k) is the power of 2 in denominator of coefficients of Legendre polynomials, where n >= 0 and 0 <= k <= n. ; Submitted by <NAME> ; 0,1,1,3,2,3,4,4,4,4,7,5,6,5,7,8,8,7,7,8,8,10,9,10,8,10,9,10,11,11,11,11,11,11,11,11,15,12,13,12,14,12,13,12,15,16,16,14,...
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_16362_1420.asm
ljhsiun2/medusa
9
121128
<filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_16362_1420.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r8 push %r9 push %rax push %rdi lea addresses_A_ht+0x34ae, %rax nop nop nop nop nop xor %rdi, %rdi movb (%rax), %r12b nop nop nop nop nop add %r13, ...
dynld/asm/entry.asm
madd-games/glidix
98
121129
; Glidix dynamic linker ; ; Copyright (c) 2014-2017, <NAME>. ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; * Redistributions of source code must retain the above copyright notice, this ; ...
oeis/318/A318250.asm
neoneye/loda-programs
11
121130
; A318250: a(n) = (n - 1)! * sigma_2(n), where sigma_2(n) = sum of squares of divisors of n (A001157). ; Submitted by <NAME> ; 1,5,20,126,624,6000,36000,428400,3669120,47174400,442713600,8382528000,81430272000,1556755200000,22666355712000,445916959488000,6067609067520000,161837779783680000,2317659281473536000,664182248...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_27_141.asm
ljhsiun2/medusa
9
121133
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0xd597, %r11 nop nop nop nop nop dec %r9 mov $0x6162636465666768, %r10 movq %r10, (%r11) nop nop nop nop nop add $22946, %r15 lea addresses_normal_ht+...
_build/dispatcher/jmp_ippsHashUnpack_d0c793f8.asm
zyktrcn/ippcp
1
121134
extern m7_ippsHashUnpack:function extern n8_ippsHashUnpack:function extern y8_ippsHashUnpack:function extern e9_ippsHashUnpack:function extern l9_ippsHashUnpack:function extern n0_ippsHashUnpack:function extern k0_ippsHashUnpack:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function segment .data a...
cli.asm
mlavik1/osdev-realmode
1
121136
<reponame>mlavik1/osdev-realmode ; ***** CLI (Command Line Interface ***** ; -------------------- [ Routine: cli_init ] -------------------- ; ----------- Initialises the Command Line Interface ------------ cli_init: call cli_clear ret ; -------------------- [ Routine: cli_user_input ] -------------------- ; ----...
projects/04/fill/Fill.asm
l-const/nand2tetris
0
121137
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by <NAME>, MIT Press. // File name: projects/04/Fill.asm // Runs an infinite loop that listens to the keyboard input. // When a key is pressed (any key), the program blackens the screen, // i.e. writes "black" in ...
basic/06_variabel/variabel_asm.asm
bellshade/Assembly
6
121138
; contoh penerapan variabel dari assembly ; compile dengan cara ; nasm -f elf32 -o namafile.o namafile.asm ; ld -m elf_i386 -o namafile namafile.o ; ./namafile section .text global _start _start: mov edx, 1 ; panjang dari pesan mov ecx, huruf ; pesan yang akan ditulis mov...
libsrc/target/sos/sos/sos_variables.asm
ahjelm/z88dk
640
121139
; ; S-OS system variables ; by <NAME>, 2020 ; ; $Id: sos_variables.asm $ ; SECTION code_clib PUBLIC _SOS_MXLIN PUBLIC _SOS_WIDTH PUBLIC _SOS_DSK PUBLIC _SOS_FATPS PUBLIC _SOS_DIRPS PUBLIC _SOS_FATBF PUBLIC _SOS_DTBUF PUBLIC _SOS_MXTRK PUBLIC _SOS_DIRNO PUBLIC _SOS_WKSIZ PUBLIC _SOS_MEMAX PUBLIC _SOS...
oeis/154/A154247.asm
neoneye/loda-programs
11
121140
<filename>oeis/154/A154247.asm ; A154247: a(n) = ( (6 + sqrt(7))^n - (6 - sqrt(7))^n )/(2*sqrt(7)). ; Submitted by <NAME> ; 1,12,115,1032,9049,78660,681499,5896848,50998705,440975868,3812747971,32964675480,285006414601,2464101386292,21304030612075,184189427142432,1592456237959009,13767981468377580,119034546719719699,10...
programs/oeis/020/A020987.asm
neoneye/loda
22
121141
<reponame>neoneye/loda ; A020987: Zero-one version of Golay-Rudin-Shapiro sequence (or word). ; 0,0,0,1,0,0,1,0,0,0,0,1,1,1,0,1,0,0,0,1,0,0,1,0,1,1,1,0,0,0,1,0,0,0,0,1,0,0,1,0,0,0,0,1,1,1,0,1,1,1,1,0,1,1,0,1,0,0,0,1,1,1,0,1,0,0,0,1,0,0,1,0,0,0,0,1,1,1,0,1,0,0,0,1,0,0,1,0,1,1,1,0,0,0,1,0,1,1,1,0 lpb $0 lpb $0 dif...
oeis/036/A036908.asm
neoneye/loda-programs
11
121142
; A036908: Number of different compact source directed animals with 1 point on the bottom line. ; Submitted by <NAME> ; 1,2,5,14,40,116,339,996,2937,8684,25729,76352,226868,674806,2008907,5984886,17841024,53212500,158784033,473995320,1415449578,4228149450,12633596331,37758241434,112873961079,337492122822,1009283640669,...
libsrc/_DEVELOPMENT/compress/zx0/c/sccz80/dzx0_standard_callee.asm
w5Mike/z88dk
0
121143
; void dzx0_standard_callee(void *src, void *dst) SECTION code_clib SECTION code_compress_zx0 PUBLIC dzx0_standard_callee EXTERN asm_dzx0_standard dzx0_standard_callee: pop hl pop de ex (sp),hl jp asm_dzx0_standard
Windows/FastMaxIdxU64.asm
clayne/FastExtrema
6
121144
; /******************************************************************* ; * ; * Author: <NAME> ; * <EMAIL> ; * https://github.com/komrad36 ; * ; * Last updated Oct 11, 2020 ; *******************************************************************/ _TEXT$FastMaxIdxU64 SEGMENT ALIGN(64) FastMaxIdxU64 PROC sub ...
tests/string_encoding/1.asm
dommilosz/customasm
0
121145
#d "abc" ; = 0x61_62_63 #d utf8("abc") ; = 0x61_62_63 #d ascii("abc") ; = 0x61_62_63 #d utf16be("abc") ; = 0x0061_0062_0063 #d utf16le("abc") ; = 0x6100_6200_6300 #d utf32be("abc") ; = 0x00000061_00000062_00000063 #d utf32le("abc") ; = 0x61000000_62000000_63000000 #d "àÿĀ" ; = 0xc3a0_c3bf_c480 #d utf8("àÿĀ") ; = 0xc3a...
jbtr.asm
kwino/sample
0
121146
<filename>jbtr.asm<gh_stars>0 org 0x100 ; ; int 21h needs... mov dx, msg ; mov cx, len mov bx, 1 ; mov ah, 0x40 ; int 0x21 ; mov ah, 0x4c ; int 0x21 ; msg db 'New hello, World!', 0x0d, 0x0a ; len equ $ - msg...
pwnlib/shellcraft/templates/arm/linux/thumb_setreuid.asm
alexpark07/pwntools
1
121147
<reponame>alexpark07/pwntools <% from pwnlib.shellcraft import arm, common %> <% from pwnlib.asm import cpp %> <%docstring>setreuid(0, 0) in thumb mode</%docstring> <%page args="ruid=0, euid=0"/> <%docstring> setreuid to escalate privilege to ruid/euid in thumb mode Args: ruid (str/int): real uid euid (str/int):...
kernel/vga.asm
iocoder/upcr
0
121148
;############################################################################### ;# FILE NAME: KERNEL/VGA.ASM ;# DESCRIPTION: KERNEL DISPLAY DRIVER ;# AUTHOR: <NAME>. ;############################################################################### ;# ;# UPCR OPERATING SYSTEM FOR X86_64 ARCHITECTURE ;# COPYRIG...
full_linux.asm
muxamed666/asmkursach
0
121149
<reponame>muxamed666/asmkursach<filename>full_linux.asm format ELF executable 3 ; Используется формат ELF 3 jmp main ; Переходим сразу к началу ; ----------------------------------------------------------------------------- ; Макрос для вывода строки на экран ; -----------------------...
hldr64/hldr64.asm
fadinglr/pe_to_shellcode
1,230
121150
<filename>hldr64/hldr64.asm bits 64 %include "hldr64.inc" ;----------------------------------------------------------------------------- ;here begins HLDR64 ;----------------------------------------------------------------------------- hldr64_begin: push rbx push rsi push rdi ...
20Nov2019/task1.asm
candh/8086-programs
0
121151
<reponame>candh/8086-programs<gh_stars>0 .stack 100h .model small .code main proc mov bx, 0 ; clear bits mov ah, 1 ; input mode input_loop: int 21h cmp al, 0Dh je exit ; if char between 30h to 39h then ; it is a digit cmp al, 30h jl else cmp al, 39h jg else ...
debug.asm
irql/nos64
0
121152
<gh_stars>0 PRINT_DELAY equ 1 ; 1 is equiv to no delay, 0x100000 is about 100ms video_memory equ 0xB8000 dump_registers_di_offset equ video_memory + 0xA0 * 2 FG_COLOR equ 0x7 ; Grey BG_COLOR equ 0x0 ; Black COLOR equ (BG_COLOR << 4) | FG_COLOR ; Modifies rdi print_newline: push rdx push r...
ia.asm
rafaelszt/order_memory
0
121153
<filename>ia.asm ;nome: <NAME> setDifficult proc mov dh, 8 call clearScreen mov dh, 4 mov dl, 5 mov bp, offset selectdif call printString inc dh mov bp, offset easyDif call printString inc dh mov bp, offset mediumDif call printString inc dh mov bp, offset HardDif call printString mov ah, 00h i...
programs/oeis/299/A299259.asm
neoneye/loda
22
121154
<reponame>neoneye/loda ; A299259: Coordination sequence for 3D uniform tiling formed by stacking parallel layers of the 4.8.8 2D tiling (cf. A008576). ; 1,5,13,26,45,69,98,133,173,218,269,325,386,453,525,602,685,773,866,965,1069,1178,1293,1413,1538,1669,1805,1946,2093,2245,2402,2565,2733,2906,3085,3269,3458,3653,3853,4...
Elements-of-Computing-Systems/multiply.asm
theDrake/python-experiments
1
121155
// Filename: multiply.asm // Description: Stores the value of R0 * R1 into R2. // Author: <NAME> (https://davidcdrake.com) @R2 M=0 @R0 D=M @END D;JLE @R1 D=M @END D;JLE (LOOP) @R0 D=M @R2 M=D+M @R1 MD=M-1 @END D;JLE @LOOP 0;JMP (E...
assembler/test8.asm
dpolad/dlx
1
121156
<gh_stars>1-10 addi r1,r0,1 addi r2,r0,-2 addi r3,r0,3 addi r4,r0,-32767 addi r5,r0,5 addi r10,r0,10 nop multu r31,r1,r2 nop multu r31,r1,r3 nop multu r31,r1,r4 mult r31,r1,r2 mult r31,r1,r3 mult r31,r1,r4 nop
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_332.asm
ljhsiun2/medusa
9
121157
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_A_ht+0xeaac, %rsi lea addresses_UC_ht+0x19a2c, %rdi nop nop add %r14, %r14 mov $98, %rcx rep movsq nop nop xor $6455, %r13 lea addresses_normal_ht+0x179ac, %rsi lea addresses_D_ht+0x...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1210.asm
ljhsiun2/medusa
9
121158
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1210.asm .global s_prepare_buffers s_prepare_buffers: push %r9 push %rbx push %rcx push %rdx lea addresses_D_ht+0x3497, %r9 nop nop nop sub %rbx, %rbx movw $0x6162, (%r9) nop nop nop cmp %rdx, %rdx pop %rdx pop %rcx pop %rbx pop %r9 ret ...
pl/jamcrackerproreplay.asm
steen-lund/HippoPlayer
87
121159
<filename>pl/jamcrackerproreplay.asm<gh_stars>10-100 ;APS00000040000000400000004000000040000000400000004000000040000000400000004000000040 incdir include: include mucro.i include misc/eagleplayer.i testi = 1 ifne testi lea mod,a0 lea w(pc),a1 lea songend_(pc),a2 lea vol(pc),a3 lea nullsample,a4 jsr init ...
Palmtree.Math.Core.Implements/vs_build/x64_Debug/pmc_getpropertyvalue.asm
rougemeilland/Palmtree.Math.Core.Implements
0
121160
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1 include listing.inc INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES msvcjmc SEGMENT __7B7A869E_ctype@h DB 01H __457DD326_basetsd@h DB 01H __4384A2D9_corecrt_memcpy_s@h DB 01H __4E51A221_corecrt_wstring@h DB 01H __2140C079_string@h DB 01H __1887E5...
oeis/140/A140151.asm
neoneye/loda-programs
11
121161
; A140151: a(1)=1, a(n)=a(n-1)+n^2 if n odd, a(n)=a(n-1)+ n^5 if n is even. ; 1,33,42,1066,1091,8867,8916,41684,41765,141765,141886,390718,390887,928711,928936,1977512,1977801,3867369,3867730,7067730,7068171,12221803,12222332,20184956,20185581,32066957,32067686,49278054,49278895,73578895,73579856,107134288,107135377,15...
oeis/169/A169963.asm
neoneye/loda-programs
11
121162
; A169963: Number of (2n+1)-digit squares in carryless arithmetic mod 10. ; Submitted by <NAME>(s2) ; 5,46,452,4504,45008,450016,4500032,45000064,450000128,4500000256,45000000512,450000001024,4500000002048,45000000004096,450000000008192,4500000000016384,45000000000032768,450000000000065536,4500000000000131072,450000000...
Testcases/unsafe.asm
5ayam5/COL216-Minor
0
121163
<gh_stars>0 main: addi $s0, $zero, 10 sw $s0, 1024 lw $t0, 1024 addi $t1, $0, 2 add $t2, $t0, $t1
oeis/113/A113321.asm
neoneye/loda-programs
11
121165
<reponame>neoneye/loda-programs ; A113321: Lexicographically earliest permutation of the natural numbers such that all positive differences between succeeding terms occur exactly once. ; Submitted by <NAME>(s2) ; 1,2,4,3,6,5,9,7,12,8,14,10,17,11,19,13,22,15,25,16,27,18,30,20,33,21,35,23,38,24,40,26,43,28,46,29,48,31,51...
base/mvdm/wow16/kernel31/atom.asm
npocmaka/Windows-Server-2003
17
121166
<reponame>npocmaka/Windows-Server-2003 title ATOM - atom package include kernel.inc include gpfix.inc MAXINTATOM = 0C000h PRIME = 37 ACTION_FIND = 0 ACTION_ADD = 1 ACTION_DEL = 2 ATOMTABLE STRUC at_prime DW ? ; Hash modulus at_hashTable DW ? ; variable length array ATOMT...
oeis/140/A140113.asm
neoneye/loda-programs
11
121167
; A140113: a(1)=1, a(n)=a(n-1)+n if n odd, a(n)=a(n-1)+ n^2 if n is even. ; Submitted by <NAME> ; 1,5,8,24,29,65,72,136,145,245,256,400,413,609,624,880,897,1221,1240,1640,1661,2145,2168,2744,2769,3445,3472,4256,4285,5185,5216,6240,6273,7429,7464,8760,8797,10241,10280,11880,11921,13685,13728,15664,15709,17825,17872,2017...
oeis/026/A026147.asm
neoneye/loda-programs
11
121168
; A026147: a(n) = position of n-th 1 in A001285 or A010059 (Thue-Morse sequence). ; 1,4,6,7,10,11,13,16,18,19,21,24,25,28,30,31,34,35,37,40,41,44,46,47,49,52,54,55,58,59,61,64,66,67,69,72,73,76,78,79,81,84,86,87,90,91,93,96,97,100,102,103,106,107,109,112,114,115,117,120,121,124,126,127,130,131,133,136,137,140,142,143,1...
gfx/tilesets/lab_palette_map.asm
TastySnax12/pokecrystal16-493-plus
2
121169
tilepal 0, GRAY, WATER, RED, BROWN, BROWN, BROWN, BROWN, BROWN tilepal 0, WATER, WATER, GRAY, GRAY, GRAY, GRAY, GRAY, GRAY tilepal 0, GRAY, WATER, RED, BROWN, BROWN, BROWN, BROWN, BROWN tilepal 0, WATER, WATER, GRAY, GRAY, GRAY, GRAY, GRAY, GRAY tilepal 0, WATER, WATER, WATER, WATER, ROOF, BROWN, BROWN, BROWN til...
2-seconds-in-a-year/code.asm
CoBloX/ethereum_workshop_31_07_2018
3
121171
<filename>2-seconds-in-a-year/code.asm { // Compute seconds in a day 60 60 mul 24 mul // Push 365 to the stack 365 mul // Need balanced stack at the end pop }
engine/movie/credits.asm
Dev727/ancientplatinum
28
121172
INCLUDE "constants.asm" SECTION "Credits", ROMX Credits:: bit 6, b ; Hall Of Fame ld a, $0 jr z, .okay ld a, $40 .okay ld [wJumptableIndex], a ldh a, [rSVBK] push af ld a, BANK(wGBCPalettes) ldh [rSVBK], a call ClearBGPalettes call ClearTileMap call ClearSprites ld hl, wCreditsBlankFrame2bpp ld c, (...
libsrc/_DEVELOPMENT/adt/p_list/c/sccz80/p_list_push_front_callee.asm
jpoikela/z88dk
640
121173
; void *p_list_push_front(p_list_t *list, void *item) SECTION code_clib SECTION code_adt_p_list PUBLIC p_list_push_front_callee EXTERN asm_p_list_push_front p_list_push_front_callee: pop hl pop de ex (sp),hl jp asm_p_list_push_front ; SDCC bridge for Classic IF __CLASSIC PUBLIC _p_list_push_front...
ch05/123_x_236.asm
zzb610/asm-learn
0
121174
<reponame>zzb610/asm-learn ASSUME cs:code code SEGMENT ; mov ax, 123 ; mov cx, 235 ; s: add ax, 123 ; loop s ; mov ax, 4c00H ; int 21H mov ax, 0 mov cx, 123 s: add ax, 236 loop s add ax, ax code ENDS END
oeis/118/A118948.asm
neoneye/loda-programs
11
121177
; A118948: n-th (starting from the right) decimal digit of 13^n. ; Submitted by <NAME> ; 3,6,1,8,7,8,2,1,6,7,9,2,2,3,1,5,5,4,1,0,0,1,5,8,6,3,5,2,3,9,9,7,1,9,8,2,0,1,7,8,5,8,1,0,8,8,5,6,4,2,9,3,5,6,3,2,0,6,1,1,3,4,6,6,9,5,7,4,4,4,9,6,7,8,5,2,7,4,9,0,5,6,9,5,7,5,8,1,3,9,6,3,8,1,2,9,3,7,9 mov $1,10 pow $1,$0 add $0,1 mov...
Chip16 Program Pack/Games/Herdle/Herdle.asm
faouellet/CHIP-16
2
121178
; Herding game for Chip16 ; Coding: <NAME> ; Art: <NAME> ;------------------------------------------------------------------------------- ; Outline: ; You are a sheep dog, you get round the sheep, and reach the exit, ; at the top of the screen, without colliding into sheep or fencing. ; A path counter decrements ...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_2_1854.asm
ljhsiun2/medusa
9
121180
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r14 push %r15 push %r8 push %rcx push %rdx // Store lea addresses_WT+0x13280, %r13 add %r8, %r8 mov $0x5152535455565758, %r10 movq %r10, (%r13) add %r15, %r15 // Store lea addresses_A+0x1533, %rdx nop ...
maps/RockTunnelB1F.asm
Dev727/ancientplatinum
28
121181
<gh_stars>10-100 object_const_def ; object_event constants const ROCKTUNNELB1F_POKE_BALL1 const ROCKTUNNELB1F_POKE_BALL2 const ROCKTUNNELB1F_POKE_BALL3 RockTunnelB1F_MapScripts: db 0 ; scene scripts db 0 ; callbacks RockTunnelB1FIron: itemball IRON RockTunnelB1FPPUp: itemball PP_UP RockTunnelB1FRevive: it...
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_512.asm
ljhsiun2/medusa
9
121182
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x13d02, %rcx nop nop nop nop dec %r12 mov (%rcx), %rdx nop nop nop add $43308, %rbx lea addresses_D_ht+0xb752, %rdx nop sub $5063, %rbx vmovups (%rdx), %ymm5 v...
programs/oeis/171/A171587.asm
neoneye/loda
22
121183
<reponame>neoneye/loda<gh_stars>10-100 ; A171587: Sequence of the diagonal variant of the Fibonacci word fractal. Sequence of the Fibonacci tile. ; 0,1,1,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,0,1,1,0,0,1,0,0,1,1,0,1,1,0,1,1,0,0,1,0,0,1,1,0,1,1,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,1,0,0,1,0,0,1,0,0,1,1,0,1,...
programs/oeis/128/A128174.asm
neoneye/loda
22
121184
; A128174: Transform, (1,0,1,...) in every column. ; 1,0,1,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0 mov $2,$0 lpb $2 sub $0,$1 add $1,1 sub $2,$1 lpe gcd $0,2 s...
programs/oeis/080/A080532.asm
neoneye/loda
22
121185
; A080532: Number of nucleons in longest known radioactive decay series ending with Lead 209, reversed. ; 209,209,209,213,217,221,225,225,229,233,233,237,237,241,245,249,253,257,261,265,269,273 lpb $0 mov $2,$0 sub $0,1 seq $2,70469 ; a(n) = n^2 mod 47. mov $3,$2 bin $3,7 min $3,1 add $1,$3 lpe mul $1,4 ...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_329.asm
ljhsiun2/medusa
9
121186
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x11b2e, %rbx nop nop sub %rdx, %rdx mov (%rbx), %r14w nop nop nop nop lfence lea addresses_A_ht+0x1672e, %r11 clflush (%r11) nop nop nop nop nop cmp %r10, %r10 mov (...
HDMA2.asm
nesdoug/SNES_11
3
121187
<reponame>nesdoug/SNES_11 ;hdma effect 2 ;change the window 1 register ;2 separate hdma channels ;Note if left window is > right, it won't show. .segment "CODE" Set_F2: A8 XY16 lda #1 ;windows active on layer 1 on main screen sta TMW ;$212e lda #2 ;window 1 active on layer 1 sta W12SEL ;$2123 ;window_logi...
oeis/293/A293117.asm
neoneye/loda-programs
11
121189
; A293117: E.g.f.: exp(x^2/(x-1)). ; Submitted by <NAME> ; 1,0,-2,-6,-12,0,240,2520,21840,181440,1481760,11642400,80498880,311351040,-4739454720,-183437654400,-4300276780800,-88851284121600,-1754954007206400,-34107089784768000,-659574028252339200,-12724865943229440000,-244046146272658329600,-4603971469775450572800,-835...
oeis/133/A133700.asm
neoneye/loda-programs
11
121190
; A133700: A051731 * A001227; a(n) = Sum_{d|n} A001227(d). ; Submitted by <NAME> ; 1,2,3,3,3,6,3,4,6,6,3,9,3,6,9,5,3,12,3,9,9,6,3,12,6,6,10,9,3,18,3,6,9,6,9,18,3,6,9,12,3,18,3,9,18,6,3,15,6,12,9,9,3,20,9,12,9,6,3,27,3,6,18,7,9,18,3,9,9,18,3,24,3,6,18,9,9,18,3,15,15,6,3,27,9,6,9,12,3,36,9,9,9,6,9,18,3,12,18,18 add $0,1...
external/mp/base/6502/cpu6502_hsingle.asm
polluks/effectus
7
121191
<filename>external/mp/base/6502/cpu6502_hsingle.asm ; JAVA IEEE-32 (IEEE-754) ; <NAME> ; https://sourceforge.net/projects/vm02/ ; http://vm02.cvs.sourceforge.net/viewvc/vm02/vm02/src/ /* org eax FP1MAN0 .ds 1 FP1MAN1 .ds 1 FP1MAN2 .ds 1 FP1MAN3 .ds 1 org ztmp8 FP1SGN .ds 1 FP1EXP .ds 1 org edx FP2MAN0 .ds 1 FP...
unix-x86/print.asm
mazoti/adler32
0
121193
; void print(int stdout_stderr, char* str, size_t size); global print section .text print: mov eax,4 ; write syscall int 0x80 ret
Examples/interprocess-communication/notify/notify.asm
agguro/linux-nasm
6
121194
<reponame>agguro/linux-nasm<filename>Examples/interprocess-communication/notify/notify.asm ;name: notify.asm ; ;build: nasm -felf64 -Fdwarf -o notify.o notify.asm ; ld -melf_x86_64 -g --dynamic-linker /lib64/ld-linux-x86-64.so.2 -o notify notify.o -lc -lnotify ; ;description: This example comes...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_395.asm
ljhsiun2/medusa
9
121195
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x5cca, %rbx dec %r9 mov $0x6162636465666768, %rbp movq %rbp, (%rbx) nop cmp %r12, %r12 lea addresses_WT_ht+0x17c62, %rsi lea addresses_normal_ht+0xaf7e, %rdi clflush (%rdi...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_296.asm
ljhsiun2/medusa
9
121197
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x12382, %rax nop nop cmp %r15, %r15 and $0xffffffffffffffc0, %rax movaps (%rax), %xmm1 vpextrq $1, %xmm1, %rsi inc %rsi lea addresses_WC_ht+0x2782, %r11 nop nop nop cmp $49418...
sw/552tests/inst_tests/jalr_36.asm
JPShen-UWM/ThreadKraken
1
121198
<reponame>JPShen-UWM/ThreadKraken<filename>sw/552tests/inst_tests/jalr_36.asm // Original test: ./ziliang/hw4/problem6/jalr_0.asm // Author: ziliang // Test source code follows //loads a value into r2 to use as the base address //the jalr is supposed to skip all the nops lbi r2, 0 jalr r2, 10 nop nop nop halt
src/loader.asm
dma-homebrew/dhgr
4
121199
<gh_stars>1-10 ;----------------------------------------------------------------------------- ; <NAME> - 2021 ;----------------------------------------------------------------------------- ; Loader ; ; Load game assets and install them into proper memory location ; which could either be main, auxiliary or both. .i...
oeis/094/A094497.asm
neoneye/loda-programs
11
121200
<reponame>neoneye/loda-programs<filename>oeis/094/A094497.asm ; A094497: Triangular table A(n,j) = C(n,j) - C(n,j) mod n^3, difference of binomial coefficient and its residue mod n^3, read by rows. ; Submitted by <NAME> ; 1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,...
libsrc/stdio/ansi/abc80/f_ansi_char.asm
jpoikela/z88dk
640
121202
<reponame>jpoikela/z88dk ; ; ANSI Video handling for the ABC80 ; ; set it up with: ; .__console_w = max columns ; .__console_h = max rows ; ; Display a char in location (__console_y),(__console_x) ; A=char to display ; ; A slower (but working) method it commented out ; ; ; $Id: f_ansi_char.asm,v 1.5 2016-06-12 16:06:4...
Transynther/x86/_processed/US/_zr_/i3-7100_9_0xca_notsx.log_240_1108.asm
ljhsiun2/medusa
9
121203
.global s_prepare_buffers s_prepare_buffers: push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x133d2, %rsi lea addresses_UC_ht+0xb62, %rdi nop nop nop add %rdx, %rdx mov $18, %rcx rep movsq xor %r8, %r8 pop %rsi pop %rdx pop %rdi pop %rcx pop %r8 ret .global s_faulty_load s_faulty_load: push %...
kernel/arch/i386/cpu/atomic.asm
RobbeDGreef/OS
87
121204
<gh_stars>10-100 [global arch_atomic_test_and_set] [global arch_atomic_compare_exchange] [global arch_atomic_store] arch_atomic_test_and_set: push ebp mov ebp, esp mov eax, 0 mov ebx, [ebp+12] mov ecx, [ebp+8] lock cmpxchg [ecx], ebx ; eax is either 0 -> succeeded or 1 -> was already locked pop ebp ret arc...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1602.asm
ljhsiun2/medusa
9
121205
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0xfa33, %rsi lea addresses_WC_ht+0x178c2, %rdi nop nop nop nop sub $32749, %r13 mov $76, %rcx rep movsq nop nop nop nop nop xor %r15, %...
oeis/159/A159287.asm
neoneye/loda-programs
11
121206
<filename>oeis/159/A159287.asm ; A159287: Expansion of x^2/(1-x^2-2*x^3) ; Submitted by <NAME>(s4) ; 0,0,1,0,1,2,1,4,5,6,13,16,25,42,57,92,141,206,325,488,737,1138,1713,2612,3989,6038,9213,14016,21289,32442,49321,75020,114205,173662,264245,402072,611569,930562,1415713,2153700,3276837,4985126,7584237,11538800,17554489,2...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_62.asm
ljhsiun2/medusa
9
121207
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x6d79, %r13 sub %rcx, %rcx movl $0x61626364, (%r13) nop sub %r11, %r11 lea addresses_D_ht+0x1b589, %rsi lea addresses_UC_ht+0x2cb9, %rdi clflush (%rdi) nop nop cmp %rbp, %rbp ...
fiat-amd64/10099_eval10of50_ratio10087_seed1785685356_square_p521.asm
dderjoel/fiat-crypto
491
121208
SECTION .text GLOBAL square_p521 square_p521: sub rsp, 0x180 mov rax, [ rsi + 0x40 ]; load m64 x1 to register64 imul r10, rax, 0x2; x10000 <- x1 * 0x2 imul rax, rax, 0x2; x2 <- x1 * 0x2 imul rax, rax, 0x2; x10001 <- x2 * 0x2 mov r11, [ rsi + 0x38 ]; load m64 x4 to register64 imul rdx, r11, 0x2; x10002 <- x4 * 0x2 imul...
Build/Interpreters/Ozmoo/asm/picloader.asm
polluks/Puddle-BuildTools
38
121209
; !to "picload.prg", cbm !ifdef TARGET_MEGA65 { TARGET_ASSIGNED = 1 * = $801 } !ifdef TARGET_PLUS4 { TARGET_PLUS4_OR_C128 = 1 TARGET_ASSIGNED = 1 * = $1001 bitmap_source = loader_pic_start + $800 bitmap_target = $c000 bitmap_end_highbyte = $e0 screen_source = loader_pic_start screen_target = $0800 colour_so...
MSDOS/Virus.MSDOS.Unknown.hr.asm
fengjixuchui/Family
3
121210
<filename>MSDOS/Virus.MSDOS.Unknown.hr.asm ;NAME: HR.DEC ;FILE SIZE: 0062Ch - 1580d ;START (CS:IP): 00100h ;CODE END: 0072Ch ;CODE ORIGIN: 00100h ;DATE: Sun Aug 02 17:20:02 1992 CODE SEGMENT BYTE PUBLIC 'CODE' ASSUME CS:CODE,DS:CODE,ES:NOTHING,SS:NOTHING P00100 PROC ORG 0...
Kernel/arch/interrupts.asm
kcortes95/TPArqui
0
121213
<filename>Kernel/arch/interrupts.asm<gh_stars>0 EXTERN on_keyboard EXTERN on_mouse EXTERN on_syscall EXTERN on_timer_tick EXTERN mouse_handler GLOBAL _load_handler GLOBAL _get_idtr GLOBAL _keyboard_interrupt_handler GLOBAL _mouse_interrupt_handler GLOBAL _syscall_interrupt_handler GLOBAL _tt_interrupt_handler secti...
src/uthread_x64.asm
ricky26/netlib
1
121214
<reponame>ricky26/netlib .text _netlib_after_swap: mov -0x8(%rsp), %rbx mov -0x10(%rsp), %rcx mov -0x18(%rsp), %rdx mov -0x20(%rsp), %rbp mov -0x28(%rsp), %r8 mov -0x30(%rsp), %r9 mov -0x38(%rsp), %r10 mov -0x40(%rsp), %r11 mov -0x48(%rsp), %r12 mov -0x50(%rsp), %r13 mov -0x58(%rsp), %r14 mov -...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2993.asm
ljhsiun2/medusa
9
121216
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0xf378, %rsi nop nop add $20707, %r11 movups (%rsi), %xmm5 vpextrq $1, %xmm5, %rcx nop cmp %r14, %r14 lea addresses_UC_ht+0xfb78, %rsi nop nop nop...
gfx/pokemon/umbreon/anim.asm
Dev727/ancientplatinum
28
121217
<reponame>Dev727/ancientplatinum frame 1, 07 frame 2, 30 setrepeat 2 frame 2, 08 frame 3, 08 dorepeat 3 frame 2, 30 endanim
lib/tables.asm
stoneface86/tbengine
6
121218
<reponame>stoneface86/tbengine ; ----------------------------------------------------------------------------- ; Tables PUSHS SECTION "tbengine_data", ROM0, ALIGN[8] ; align these tables to pages so indexing is easier/faster ; page 0 ; Vibrato tables ; A vibrato table contains 16 samples of quadrant II for a sine w...
Library/Kernel/Boot/bootManager.asm
steakknife/pcgeos
504
121220
cOMMENT @----------------------------------------------------------------------- Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: Boot FILE: bootManager.asm ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- ---------...
oeis/024/A024557.asm
neoneye/loda-programs
11
121221
; A024557: a(n) = [ a(n-1)/(sqrt(6) - 2) ], where a(0) = 1. ; Submitted by <NAME> ; 1,2,4,8,17,37,82,182,404,898,1997,4442,9882,21984,48908,108807,242067,538537,1198107,2665482,5930017,13192774,29350556,65297498,145270273,323189294,719013724,1599622094,3558751049,7917313144,17614001812,39186660195,87180321295,193953972...
oeis/021/A021279.asm
neoneye/loda-programs
11
121223
; A021279: Expansion of 1/((1-x)(1-2x)(1-8x)(1-12x)). ; Submitted by <NAME> ; 1,23,371,5227,68955,877371,10927867,134329979,1637524859,19854820219,239894019963,2891817662331,34806527338363,418516051199867,5028894399547259,60400347075823483,725233079160063867,8706228263922485115,104502189679084095355,1254245880245124384...
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2.log_89_639.asm
ljhsiun2/medusa
9
121224
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x1098a, %r8 nop nop nop lfence mov (%r8), %r15d nop nop nop sub $45049, %r10 lea addresses_WT_ht+0x2b93, %rax nop nop nop nop nop and %r12, ...
lab02/lab2/test_q.asm
ahchu1993/opsys
0
121225
<reponame>ahchu1993/opsys<gh_stars>0 _test_q: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "types.h" #include "user.h" #include "queue.h" int main(){ 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xffff...