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
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_21829_87.asm
ljhsiun2/medusa
9
205656
<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_21829_87.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0xea21, %r9 sub $33326, %r11 vmovups (%r9), %ymm5 vextracti128 $1, %ymm5, %xmm5 vpextrq $1, %xmm5,...
programs/oeis/192/A192827.asm
neoneye/loda
22
205657
<reponame>neoneye/loda<gh_stars>10-100 ; A192827: Molecular topological indices of the gear graphs ; 11,88,231,440,715,1056,1463,1936,2475,3080,3751,4488,5291,6160,7095,8096,9163,10296,11495,12760,14091,15488,16951,18480,20075,21736,23463,25256,27115,29040,31031,33088,35211,37400,39655,41976,44363,46816,49335,51920,545...
MainCode/usertests.asm
kirito71/xv6
0
205662
_usertests: file format elf32-i386 Disassembly of section .text: 00000000 <main>: return randstate; } int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55...
programs/oeis/113/A113747.asm
neoneye/loda
22
205663
; A113747: Generalized Mancala solitaire (A002491); to get n-th term, start with n and successively round up to next 10 multiples of n-1, n-2, ..., 1, for n>=1. ; 1,11,31,61,99,147,207,271,349,439,529,643,751,867,1009,1143,1309,1471,1651,1807,2019,2223,2439,2629,2851,3109,3363,3619,3879,4179,4429,4759,5067,5329,5667,60...
programs/oeis/329/A329999.asm
jmorken/loda
1
205664
<gh_stars>1-10 ; A329999: Beatty sequence for sqrt(x-1), where 1/sqrt(x-1) + 1/sqrt(x+1) = 1. ; 1,3,5,7,8,10,12,14,16,17,19,21,23,24,26,28,30,32,33,35,37,39,41,42,44,46,48,49,51,53,55,57,58,60,62,64,65,67,69,71,73,74,76,78,80,82,83,85,87,89,90,92,94,96,98,99,101,103,105,107,108,110,112,114 mov $7,$0 add $0,1 mov $2,3 ...
Driver/Printer/PrintCom/Styles/stylesSRSubSuperScript.asm
steakknife/pcgeos
504
205665
<filename>Driver/Printer/PrintCom/Styles/stylesSRSubSuperScript.asm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Print Drivers FILE: stylesSRSubSuperScript.asm AUTHOR: <NAME> ROUTI...
PRG/levels/Under/Empty29.asm
narfman0/smb3_pp1
0
205667
<filename>PRG/levels/Under/Empty29.asm ; Original address was $BBDB ; Unused "Dark" hammer bro fight area .word $0000 ; Alternate level layout .word $0000 ; Alternate object layout .byte LEVEL1_SIZE_01 | LEVEL1_YSTART_170 .byte LEVEL2_BGPAL_00 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_00 | LEVEL3_...
PRG/objects/DA34.asm
narfman0/smb3_pp1
0
205668
.byte $01 ; Unknown purpose .byte OBJ_AUTOSCROLL, $00, $50 .byte OBJ_BIGBERTHA, $04, $19 .byte OBJ_REDTROOPA, $19, $10 .byte OBJ_REDTROOPA, $1D, $10 .byte OBJ_WOODENPLATFORMFLOAT, $10, $18 .byte OBJ_GREENTROOPA, $39, $11 .byte OBJ_WOODENPLATFORMFLOAT, $31, $18 .byte OBJ_PARAGOOMBAWITHMICROS, $43, $11 .byte O...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_21829_837.asm
ljhsiun2/medusa
9
205669
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x12ef, %rsi lea addresses_D_ht+0x109e7, %rdi clflush (%rsi) nop nop nop nop nop sub %rdx, %rdx mov $97, %rcx rep movsw nop nop nop nop add $9363, %r15 lea addresses_WC_ht+0x12...
oeis/029/A029757.asm
neoneye/loda-programs
11
205670
; A029757: a(n) = 5^n mod 2^n. ; 0,1,1,5,1,21,9,45,225,357,761,1757,2641,5013,489,18829,28609,11973,59865,37181,185905,929525,2550473,4363757,13430177,42021,33764537,34604957,38807057,194035285,433305513,19043917,2242703233,6918548869,233005977,1165029885,5825149425,97845223861,76909258889,384546294445,823219844449,191...
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_21829_1544.asm
ljhsiun2/medusa
9
205671
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0xf4c4, %r10 nop nop nop lfence mov (%r10), %bx nop nop nop nop nop dec %r11 lea addresses_normal_ht+0xb5dc, %rsi lea addresses_A_ht+0x15a44, %rdi no...
example5/example5-1.asm
xabinapal/c64-examples
4
205674
<reponame>xabinapal/c64-examples ;============================================================== ; Example 5-1 ; Horizontal scrolling text. Also, testing self modifying code ;============================================================== !cpu 6502 !to "build/example5-1.prg",cbm * = $1000 sei ; disable inter...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1561.asm
ljhsiun2/medusa
9
205675
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0xe19c, %rsi lea addresses_D_ht+0x387c, %rdi nop nop nop nop nop dec %rbx mov $108, %rcx rep movsq nop nop nop xor %rdi, %rdi lea addresses_WT_ht+0x1ce9c, %rsi l...
src/main/resources/data/msx-bios-calls.asm
cpcitor/mdlz80optimizer
36
205678
<filename>src/main/resources/data/msx-bios-calls.asm SYNCHR: equ #0008 RDSLT: equ #000c CHRGTR: equ #0010 WRSLT: equ #0014 OUTDO: equ #0018 CALSLT: equ #001c DCOMPR: equ #0020 ENASLT: equ #0024 GETYPR: equ #0028 CALLF: equ #0030 KEYINT: equ #0038 INITIO: equ #003b INIFNK: equ #003e DISSCR: equ #0041 ENASCR: equ #...
programs/oeis/047/A047560.asm
karttu/loda
0
205679
<filename>programs/oeis/047/A047560.asm ; A047560: Numbers that are congruent to {0, 2, 3, 6, 7} mod 8. ; 0,2,3,6,7,8,10,11,14,15,16,18,19,22,23,24,26,27,30,31,32,34,35,38,39,40,42,43,46,47,48,50,51,54,55,56,58,59,62,63,64,66,67,70,71,72,74,75,78,79,80,82,83,86,87,88,90,91,94,95,96,98,99,102,103,104,106,107,110,111,112...
dv3/msd/drmake.asm
olifink/smsqe
0
205680
; DV3 MSDOS Make Directory V3.00  1993 <NAME> section dv3 xdef msd_drmake xref dv3_fbnew xref dv3_fbupd include 'dev8_keys_dos' include 'dev8_dv3_keys' include 'dev8_keys_err' include 'dev8_mac_xword' include 'dev8_mac_assert' ;+++ ; DV3 MSDOS Format Make Directory ; ; d6 cr file ID ; d7 c ...
List 03/ex01 a.asm
LeonardoSanBenitez/Assembly-exercises
0
205682
# if (( a > b ) && ( c == d ) ) # a = b * a + c / d; # else # a &= ( b | c ) ; # Mapeamento de registradores # a -> $t0 , b -> $t1 , c -> $t2 , d -> $t3 ble $t0, $t1, else # if (a<=b) goto else bne $t2, $t3, else # if (c!=d) goto else mul $t0, $t0, $t1 # a = a*b div $t2, $t3 mflo $t2 # c = c/d add $t0, $t0, $t2...
cmp_test.asm
rgimad/fasm_programs
8
205683
<reponame>rgimad/fasm_programs format PE64 console entry start include 'win64a.inc' section '.data' data readable writeable res dq ? section '.text' code readable executable start: mov rax, 55 cmp rax, 55 pushf pop [res] and [res], 0x40 shr [res], 6 cinvoke printf, "res = %d", [res] ...
kernel/proc/q_thread.asm
lodvaer/YHBT
2
205684
;; A thread quaject. Q_THREAD_MAGIC = 0A0712EADh ;! Create a new thread quaject ;: Q Thread ;. q.create proc 0, q_thread.create lea rdi, [q_thread] mov esi, q_thread.realsize call q.create mov edi, eax sub [rax + q_thread.resume.addr + 1], eax ;sub [rax + q_thread.kill.addr + 1], eax ret endproc ;! Clone a th...
platforms/m3/pre_v12/compiled_prog_testinglab/disable/SRAM_test_0.asm
lab11/M-ulator
19
205685
SRAM_test_0/SRAM_test_0.elf: file format elf32-littlearm Disassembly of section .text: 00000000 <hang-0x90>: 0: 00002000 .word 0x00002000 4: 000000a1 .word 0x000000a1 ... 1c: 00000090 .word 0x00000090 20: 00000090 .word 0x00000090 24: 00000090 .word 0x00000090 28: 00000090 .word 0x00000090 ...
data/moves/descriptions.asm
Dev727/ancientplatinum
0
205686
MoveDescriptions:: ; entries correspond to move ids (see constants/move_constants.asm) indirect_table 2, 1 indirect_entries BEAT_UP, MoveDescriptions1 indirect_entries NUM_ATTACKS, MoveDescriptions2 indirect_table_end MoveDescriptions1: dw PoundDescription dw KarateChopDescription dw DoubleslapDescription dw C...
Assignment 3/egghunter1.asm
hoangcuongflp/SLAE
47
205687
; Skape's egghunter: access(2) ; Shellcode generated: "\xbb\x90\x50\x90\x50\x31\xc9\xf7\xe1\x66\x81\xca\xff\x0f\x42\x60\x8d\x5a\x04\xb0\x21\xcd\x80\x3c\xf2\x61\x74\xed\x39\x1a\x75\xee\x39\x5a\x04\x75\xe9\xff\xe2" ; global _start: section .text _start: mov ebx, 0x50905090 ; Store EGG in ebx xor ecx, ec...
core/src/main/c/share/asmlib/strcat64.asm
terasum/questdb
8,451
205688
<filename>core/src/main/c/share/asmlib/strcat64.asm ;************************* strcat64.asm ************************************ ; Author: <NAME> ; Date created: 2008-07-19 ; Last modified: 2008-10-16 ; Description: ; Faster version of the standard strcat function: ; char * strcat(char *dest, const c...
inventory.asm
aerinon/z3randomizer
1
205689
;================================================================================ ; Inventory Updates ;================================================================================ !INVENTORY_SWAP = "$7EF38C" ; Item Tracking Slot ; brmpnskf ; b = blue boomerang ; r = red boomerang ; m = mushroom current ; p = magic ...
programs/oeis/074/A074843.asm
neoneye/loda
22
205690
<filename>programs/oeis/074/A074843.asm ; A074843: Quadruplets: base 10 representation is the juxtaposition of four identical strings. ; 1111,2222,3333,4444,5555,6666,7777,8888,9999,10101010,11111111,12121212,13131313,14141414,15151515,16161616,17171717,18181818,19191919,20202020,21212121,22222222,23232323,24242424,252...
programs/oeis/047/A047496.asm
neoneye/loda
22
205691
<filename>programs/oeis/047/A047496.asm ; A047496: Numbers that are congruent to {0, 2, 4, 5, 7} mod 8. ; 0,2,4,5,7,8,10,12,13,15,16,18,20,21,23,24,26,28,29,31,32,34,36,37,39,40,42,44,45,47,48,50,52,53,55,56,58,60,61,63,64,66,68,69,71,72,74,76,77,79,80,82,84,85,87,88,90,92,93,95,96,98,100,101,103,104,106,108,109,111,11...
Transynther/x86/_processed/P/_ht_zr_/i3-7100_9_0x84_notsx.log_4989_2422.asm
ljhsiun2/medusa
9
205692
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1e676, %rsi lea addresses_WC_ht+0xa956, %rdi cmp $36632, %r9 mov $110, %rcx rep movsw and $35940, %r9 lea addresses_D_ht+0x3e57, %rsi l...
libsrc/_DEVELOPMENT/arch/zx/nirvanap/c/sccz80/NIRVANAP_fillT_callee.asm
teknoplop/z88dk
0
205695
<reponame>teknoplop/z88dk ; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by <NAME> ; ; See "nirvana+.h" for further details ; ---------------------------------------------------------------- ; void NIRVANA_fillT(unsigned int attr, unsigned int lin, un...
oeis/264/A264802.asm
neoneye/loda-programs
11
205696
; A264802: Position of the n largest occurrences of a shortest addition chain of length n in A003313, written as a triangle. ; Submitted by <NAME>(s2) ; 2,4,3,8,6,5,16,12,10,9,32,24,20,18,17,64,48,40,36,34,33,128,96,80,72,68,66,65,256,192,160,144,136,132,130,129,512,384,320,288,272,264,260,258,257 seq $0,224195 ; Orde...
erasure_code/gf_6vect_mad_avx.asm
hzhuang1/isa-l
344
205697
<gh_stars>100-1000 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2015 Intel Corporation All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; * Re...
programs/oeis/154/A154388.asm
neoneye/loda
22
205699
; A154388: Triangle T(n,k), 0<=k<=n, read by rows given by [0,1,-1,0,0,0,0,0,0,0,...] DELTA [1,-1,-1,1,0,0,0,0,0,0,0,...] where DELTA is the operator defined in A084938. ; 1,0,1,0,1,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,...
pwnlib/shellcraft/templates/mips/linux/nice.asm
IMULMUL/python3-pwntools
325
205700
<filename>pwnlib/shellcraft/templates/mips/linux/nice.asm<gh_stars>100-1000 <% from pwnlib.shellcraft.mips.linux import syscall %> <%page args="inc"/> <%docstring> Invokes the syscall nice. See 'man 2 nice' for more information. Arguments: inc(int): inc </%docstring> ${syscall('SYS_nice', inc)}
grep.asm
thr0m3l/easy-xv6
0
205701
<gh_stars>0 _grep: file format elf32-i386 Disassembly of section .text: 00000000 <main>: } } int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc push -0x4(%ecx) a: 55 push ...
misc/uefi-assembly.test.asm
Pebaz/glop
3
205702
RET STORESP R1, FLAGS STORESP R1, IP LOADSP FLAGS, R1 LOADSP IP, R1 BREAK 3 JMP8 -3 JMP8 -3 JMP8cc -3 JMP8cs -3 POPn R1 PUSHn R1 POPn @R1 PUSHn @R1 POPn R1 -3 PUSHn R1 -3 POPn @R1(-3, -3) PUSHn @R1(-3, -3) POP32 R1 PUSH32 R1 POP32 @R1 PUSH32 @R1 POP32 R1 -3 PUSH32 R1 -3 POP32 @R1(-3, -3) PUSH32 @R1(-3, -3) POP64 R1 PUS...
x64/proj.asm
MikelThief/ECOAR-Shape-Detection
1
205703
<reponame>MikelThief/ECOAR-Shape-Detection<filename>x64/proj.asm %macro prologue 1 push rbp mov rbp, rsp sub rsp, %1 %endmacro global FindShape ; symbolic adressess and variables %define imageDataArray [rbp+8] %define row_bytes r10 %define bla...
Projects/Shark/I386/CmpI386.asm
qing666888/Shark
8
205705
; ; ; Copyright (c) 2018 by blindtiger. All rights reserved. ; ; The contents of this file are subject to the Mozilla Public License Version ; 2.0 (the "License"); you may not use this file except in compliance with ; the License. You may obtain a copy of the License at ; http://www.mozilla.org/MPL/ ; ; Softwa...
programs/oeis/274/A274535.asm
jmorken/loda
1
205707
; A274535: a(n) = 5*sigma(n). ; 5,15,20,35,30,60,40,75,65,90,60,140,70,120,120,155,90,195,100,210,160,180,120,300,155,210,200,280,150,360,160,315,240,270,240,455,190,300,280,450,210,480,220,420,390,360,240,620,285,465,360,490,270,600,360,600,400,450,300,840,310,480,520,635,420,720,340,630,480,720,360,975,370,570,620,70...
programs/oeis/247/A247000.asm
neoneye/loda
22
205708
; A247000: Maximal number of palindromes in a circular binary word of length n. ; 1,2,4,6,7,9,10,12,13,15,16,18,19,21,23,24,26,28,29,31,33,34,36,38,39,41,43,44,46,48 mov $2,$0 mov $3,$0 lpb $2 add $2,$5 add $4,1 mov $1,$4 lpb $1 add $0,$2 mov $1,$2 lpe mov $2,$0 sub $0,1 sub $2,2 trn $2,$1 ...
src/ui.asm
maziac/dezogif
2
205709
;=========================================================================== ; ui.asm ; ; The simple UI. ; Text output and keyboard input. ;=========================================================================== ;=========================================================================== ; Const data ;==========...
libsrc/_DEVELOPMENT/stdlib/z80/asm_ultoa.asm
meesokim/z88dk
0
205710
; =============================================================== ; Dec 2013 ; =============================================================== ; ; char *ultoa(unsigned long num, char *buf, int radix) ; ; Write number to ascii buffer in radix indicated and zero ; terminate. Does not skip initial whitespace. ; ; =====...
Library/Trans/Database/DBase4/Lib/libManager.asm
steakknife/pcgeos
504
205711
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: dBase IV MODULE: Lib FILE: libManager.asm AUTHOR: <NAME>, September 14, 1992 REVISION HISTORY: Name Date Description ---- ---- ----------- ted 9/92 Initial revision D...
programs/oeis/157/A157040.asm
neoneye/loda
22
205712
<filename>programs/oeis/157/A157040.asm<gh_stars>10-100 ; A157040: 121n^2 - 2n. ; 119,480,1083,1928,3015,4344,5915,7728,9783,12080,14619,17400,20423,23688,27195,30944,34935,39168,43643,48360,53319,58520,63963,69648,75575,81744,88155,94808,101703,108840,116219,123840,131703,139808,148155,156744,165575,174648,183963,1935...
src/test/resources/data/generationtests/tniasm-ifdef.asm
cpcitor/mdlz80optimizer
36
205713
; Test case: CONSTANT: equ 0 label1: nop .local1: IFDEF CONSTANT .local2: nop .local3: nop ELSE .local4: nop .local5: nop ENDIF label2: nop loop: jp loop
src/freedreno/.gitlab-ci/reference/afuc_test.asm
pundiramit/external-mesa3d
0
205714
<gh_stars>0 ; a6xx microcode ; Disassembling microcode: src/freedreno/.gitlab-ci/reference/afuc_test.fw ; Version: 01000001 [01000001] ; nop [01000060] ; nop mov $02, 0x0883 ; CP_SCRATCH[0].REG mov $03, 0xbeef mov $04, 0xdead << 16 or $03, $03, $04 cwrite $02, ...
libsrc/_DEVELOPMENT/arch/zx/bifrost2/c/sccz80/BIFROST2_getTile_callee.asm
grancier/z180
0
205715
<filename>libsrc/_DEVELOPMENT/arch/zx/bifrost2/c/sccz80/BIFROST2_getTile_callee.asm ; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR THE BIFROST*2 ENGINE ; ; See "bifrost2.h" for further details ; ---------------------------------------------------------------- ; unsigne...
myfirst.asm
mahdi2019/simple-bootloader
3
205716
BITS 16 ; isn't an x86 CPU instruction; it just tells the NASM assembler that we're working in 16-bit mode. NASM can then translate the following instructions into raw x86 binary start: ; setting up the segment registers so that our OS knows where the stack pointer and executable code resides. mov ax, 07...
test/xcrypt.asm
bitwiseworks/nasm-os2
3
205717
;Testname=test; Arguments=-fbin -oxcrypt.bin; Files=stdout stderr xcrypt.bin ; BR 2029829 bits 32 rep xstore rep xcryptecb rep xcryptcbc rep xcryptctr rep xcryptcfb rep xcryptofb rep montmul rep xsha1 rep xsha256 xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul ...
oeis/142/A142770.asm
neoneye/loda-programs
11
205719
; A142770: Primes congruent to 43 mod 59. ; Submitted by <NAME> ; 43,397,751,1223,1459,1931,2521,3229,3347,3583,3701,4409,4999,5471,7477,7949,8539,8893,9011,9601,9719,10427,10663,10781,11489,12197,12433,13259,13613,13967,14321,14557,15383,15619,15737,15973,16091,17389,18097,18451,19867,20693,20929,21283,21401,21991,221...
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca.log_21829_870.asm
ljhsiun2/medusa
9
205722
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x190c4, %r13 nop nop nop nop inc %r12 movb $0x61, (%r13) nop nop nop nop sub $13771, %r15 lea addresses_A_ht+0x1b2ec, %rsi lea addresses_A_ht+0x1eba4, %rdi nop inc %r10 mov $1...
lib/pps_crt0.asm
dex4er/deb-z88dk
1
205724
; Kludgey startup for Peters Plus Sprinter ; ; djm 18/5/99 ; ; $Id: pps_crt0.asm,v 1.4 2007/06/27 20:49:27 dom Exp $ ; MODULE pps_crt0 ;-------- ; Include zcc_opt.def to find out some info ;-------- INCLUDE "zcc_opt.def" ;-------- ; Some scope definitions ;-------- ...
kernel/entry_obj.asm
semahawk/kernel
0
205725
bits 32 #include <kernel/vm.h> global kernel_stack_top extern kmain global _start global _higherhalf extern kernel_phys extern kernel_start extern kernel_end extern kernel_size ; the stack is 16KiB section .stack align 4 kernel_stack_bottom: ; that's 16KiB times 2048 dq 0 kernel_stack_top: section .preamble ;...
boot/boot2.nasm
threedot14/AndromedOS
1
205726
<reponame>threedot14/AndromedOS<filename>boot/boot2.nasm<gh_stars>1-10 ; ; boot2.nasm ; ORG 0x800 BITS 16 start: mov esp, 0x8000 ;Setup stack mov ebp, 0x8000 ; Let user know Boot2 has successfully loaded mov si, bootWelcome call Print ; Turn on A20 call FlipA20 jnc .A20success mo...
programs/oeis/116/A116996.asm
jmorken/loda
1
205727
<filename>programs/oeis/116/A116996.asm ; A116996: Partial sums of A116966. ; 0,1,4,6,10,15,22,28,36,45,56,66,78,91,106,120,136,153,172,190,210,231,254,276,300,325,352,378,406,435,466,496,528,561,596,630,666,703,742,780,820,861,904,946,990,1035,1082,1128,1176,1225 mul $0,2 lpb $0 add $1,$0 mov $2,$0 sub $0,1 t...
oeis/239/A239851.asm
neoneye/loda-programs
11
205728
<gh_stars>10-100 ; A239851: Number of n X 1 0..3 arrays with no element equal to zero plus the sum of elements to its left or zero plus the sum of elements above it or one plus the sum of the elements diagonally to its northwest or one plus the sum of the elements antidiagonally to its northeast, modulo 4. ; Submitted ...
sum_of_elements_of_array.asm
sekharkaredla/8085
1
205729
LDA 20F0 MOV B,A LXI H,20F1 MVI A,00H zone : ADD M INX H DCR B JNZ zone STA 20FFH RST 1
oeis/127/A127212.asm
neoneye/loda-programs
11
205731
<filename>oeis/127/A127212.asm ; A127212: a(n) = 5^n*Lucas(n), where Lucas = A000204. ; Submitted by <NAME> ; 5,75,500,4375,34375,281250,2265625,18359375,148437500,1201171875,9716796875,78613281250,635986328125,5145263671875,41625976562500,336761474609375,2724456787109375,22041320800781250,178318023681640625,1442623138...
programs/oeis/070/A070039.asm
neoneye/loda
22
205732
; A070039: Sum of divisors of n that are smaller than sqrt(n). ; 0,1,1,1,1,3,1,3,1,3,1,6,1,3,4,3,1,6,1,7,4,3,1,10,1,3,4,7,1,11,1,7,4,3,6,10,1,3,4,12,1,12,1,7,9,3,1,16,1,8,4,7,1,12,6,14,4,3,1,21,1,3,11,7,6,12,1,7,4,15,1,24,1,3,9,7,8,12,1,20,4,3,1,23,6,3,4,15,1,26,8,7,4,3,6,24,1,10,13,12 add $0,1 mov $2,$0 lpb $0 mov ...
programs/oeis/090/A090950.asm
karttu/loda
0
205733
; A090950: a(n) = (1/24)*(n+1)*(n+3)*(n^2+22*n+88). ; 0,11,37,85,163,280,446,672,970,1353,1835,2431,3157,4030,5068,6290,7716,9367,11265,13433,15895,18676,21802,25300,29198,33525,38311,43587,49385,55738,62680,70246,78472,87395,97053,107485,118731,130832,143830,157768,172690,188641,205667,223815,243133,263670,285476,3086...
programs/oeis/120/A120154.asm
jmorken/loda
1
205734
; A120154: a(1)=9; a(n)=floor((27+sum(a(1) to a(n-1)))/3). ; 9,12,16,21,28,37,50,66,88,118,157,209,279,372,496,661,882,1176,1568,2090,2787,3716,4955,6606,8808,11744,15659,20879,27838,37118,49490,65987,87983,117310,156414,208552,278069,370759,494345,659127 mov $2,$0 add $2,1 mov $4,$0 lpb $2 mov $0,$4 sub $2,1 su...
src/PJ/rexlib/gfxlib/put_hseg.asm
AnimatorPro/Animator-Pro
119
205735
<filename>src/PJ/rexlib/gfxlib/put_hseg.asm ;generated automatically via makeasms.bat include gfxlib.i CGROUP group code code segment dword 'CODE' assume cs:CGROUP,ds:CGROUP GFXLIB_JUMP pj_put_hseg gfxl_put_hseg code ends end
Project-Einstein/src/E-Assembly/src/SWeLED.nasm
FelixLuciano/Elements-of-Computing-Systems
0
205736
<filename>Project-Einstein/src/E-Assembly/src/SWeLED.nasm<gh_stars>0 ; Arquivo: SWeLED.nasm ; Curso: Elementos de Sistemas ; Criado por: <NAME> ; Data: 28/3/2018 ; ; Faça os LEDs exibirem ; LED = ON ON ON ON ON !SW3 !SW2 !SW1 0 ; Mesma questão da prova leaw $21185, %A movw (%A), %D notw %D leaw $14, %A andw %D, %A, ...
Code/CustomControl/RAEdit/Src/RAEdit_RichEdit_Msg_JumpTable.asm
CherryDT/FbEditMOD
11
205737
<filename>Code/CustomControl/RAEdit/Src/RAEdit_RichEdit_Msg_JumpTable.asm align 4 _EM_EXLINEFROMCHAR: ;wParam=0 ;lParam=cp invoke GetCharPtr,ebx,lParam mov eax,edx ret align 4 _EM_EXSETSEL: ;wParam=0 ;lParam=lpCHARRANGE test [ebx].EDIT.nMode,MODE_BLOCK .if ZERO? .i...
programs/oeis/242/A242026.asm
karttu/loda
1
205738
; A242026: Number of non-palindromic n-tuples of 4 distinct elements. ; 0,12,48,240,960,4032,16128,65280,261120,1047552,4190208,16773120,67092480,268419072,1073676288,4294901760,17179607040,68719214592,274876858368,1099510579200,4398042316800,17592181850112,70368727400448,281474959933440,1125899839733760 mov $2,1 add ...
libsrc/enterprise/exos_write_block.asm
jpoikela/z88dk
38
205739
<filename>libsrc/enterprise/exos_write_block.asm ; ; Enterprise 64/128 specific routines ; by <NAME>, 2011 ; ; exos_write_block(unsigned char channel, unsigned int byte_count, unsigned char *address); ; ; ; $Id: exos_write_block.asm,v 1.3 2016-06-19 20:17:32 dom Exp $ ; SECTION code_clib PUBLIC exos_write_blo...
MdePkg/Library/BaseMemoryLibOptDxe/Arm/SetMem.asm
CEOALT1/RefindPlusUDK
2,757
205740
;------------------------------------------------------------------------------ ; ; Copyright (c) 2016, Linaro Ltd. All rights reserved.<BR> ; ; This program and the accompanying materials are licensed and made available ; under the terms and conditions of the BSD License which accompanies this ; distribution. T...
programs/oeis/049/A049697.asm
neoneye/loda
22
205741
<reponame>neoneye/loda ; A049697: a(n)=T(n,n+1), array T as in A049695. ; 1,3,6,10,16,22,30,40,50,60,74,88,104,122,136,152,176,198,222,248,268,290,322,352,380,412,442,472,512,548,586,632,668,704,744,780,828,882,924,964,1020,1072,1126 mul $0,2 lpb $0 mov $2,$0 sub $0,1 div $2,2 seq $2,10 ; Euler totient functio...
src/base64.asm
remy/next-http
14
205742
<reponame>remy/next-http<filename>src/base64.asm ; DEFINE TEST_BASE64 IFDEF TEST_BASE64 OPT reset --zxnext --syntax=abfw INCLUDE "constants.inc.asm" DEVICE ZXSPECTRUM48 SLDOPT COMMENT WPMEM, LOGPOINT, ASSERTION ORG $8000 INCLUDE "utils.asm" INCLUDE "state.asm" start: di ;; decode test ld hl, s12...
Library/User/Gen/genManager.asm
steakknife/pcgeos
504
205743
COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: UserInterface/Gen FILE: genManager.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 2/89 Initial version DESCRIPTION...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_1707_1434.asm
ljhsiun2/medusa
9
205744
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r14 push %r15 push %r9 push %rdi // Store lea addresses_UC+0x2de7, %rdi nop nop nop dec %r14 movl $0x51525354, (%rdi) nop nop xor $30502, %r9 // Store lea addresses_D+0x180eb, %r15 clflush (%r15) nop n...
tests/devices/save3dos/save3dos_1.asm
NEO-SPECTRUMAN/sjasmplus
0
205747
DEVICE ZXSPECTRUM48 ORG $6000 array: DB 1 ; maybe "b()" name? not sure about it (can be overridden by LOAD any way) DW 4 ; dimension of array? DW 0 : D24 1 ; b(1) = 1 DW 0 : D24 3 ; b(2) = 3 DW 0 : D24 5 ; b(3) = 5 DW 0 : D2...
programs/oeis/075/A075989.asm
neoneye/loda
22
205748
<reponame>neoneye/loda ; A075989: Number of k satisfying 1<=k<=n and {n/k} >= 1/2, where {n/k} is the fractional part of n/k, i.e., {n/k} = n/k - floor(n/k). ; 0,0,1,0,2,1,2,2,3,2,5,2,4,5,6,3,6,6,7,6,7,6,11,6,8,9,10,9,12,9,10,10,13,12,15,10,11,14,17,12,16,13,16,15,16,17,20,15,16,18,19,16,23,20,21,18,19,20,25,20,22,23,2...
libsrc/stdio_new/fd/lseek.asm
andydansby/z88dk-mk2
1
205750
<filename>libsrc/stdio_new/fd/lseek.asm ; CALLER linkage for function pointers XLIB lseek LIB lseek_callee XREF ASMDISP_LSEEK_CALLEE .lseek pop af pop bc pop hl pop de exx pop hl push hl push hl push hl push hl push af jp lseek_callee + ASMDISP_LSEEK_CALLEE
programs/oeis/206/A206916.asm
karttu/loda
1
205752
<gh_stars>1-10 ; A206916: Index of the least binary palindrome >=n; also the "upper inverse" of A006995. ; 1,2,3,3,4,4,5,5,6,6,7,7,7,7,7,7,8,8,9,9,9,9,10,10,10,10,10,10,11,11,11,11,12,12,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,16,16,17,17,17,17,17 sub $0,1 cal $0,20691...
oeis/201/A201822.asm
neoneye/loda-programs
11
205753
; A201822: Numbers k such that 90*k + 77 is prime. ; Submitted by <NAME> ; 1,2,3,6,8,9,10,15,17,18,19,20,24,26,29,30,32,34,37,40,41,43,45,46,48,54,58,59,60,62,65,68,69,74,75,76,79,82,83,85,86,87,89,93,94,95,97,102,104,109,111,113,114,115,117,122,128,130,131,135,138,144,145,146,148,149,150,152,157,159,162,163,166,167,16...
asm/codes/normal/always_spawn_toad_stars.asm
brikr/practice-rom-patcher
2
205754
// Always Spawn Toads with Stars origin 0x031400 base 0x80276400 b 0x80276410 // 81276400 1000 origin 0x031434 base 0x80276434 b 0x80276444 // 81276434 1000 origin 0x031468 base 0x80276468 b 0x80276478 // 81276468 1000
libsrc/spectrum/opus/opus_lptread.asm
andydansby/z88dk-mk2
1
205755
; ; ZX Spectrum OPUS DISCOVERY specific routines ; ; <NAME> - Jun. 2006 ; ; unsigned char opus_lptread; ; ; $Id: opus_lptread.asm,v 1.1 2007/10/04 12:18:56 stefano Exp $ ; XLIB opus_lptread LIB opus_rommap XREF P_DEVICE opus_lptread: call opus_rommap call $1708 ; Page in the Discovery ROM ld ...
kernel/acpi/aml.asm
ssebs/xos
15
205756
<filename>kernel/acpi/aml.asm<gh_stars>10-100 ;; xOS32 ;; Copyright (C) 2016-2017 by <NAME>. use32 ; ; This file contains an AML interpreter. ; The AML interpreter is still incomplete, but can write to OpRegions and parse packages. ; ; AML Opcodes AML_OPCODE_ZERO = 0x00 AML_OPCODE_ONE = 0x01 AML_OPCODE_ALIAS =...
programs/oeis/178/A178207.asm
jmorken/loda
1
205757
<gh_stars>1-10 ; A178207: a(n) = 4*n - 2*A000120(n) + 1 where A000120(n) = number of nonzero digits in the binary representation of n. ; 1,3,7,9,15,17,21,23,31,33,37,39,45,47,51,53,63,65,69,71,77,79,83,85,93,95,99,101,107,109,113,115,127,129,133,135,141,143,147,149,157,159,163,165,171,173,177,179,189,191,195,197,203,20...
libsrc/_DEVELOPMENT/arch/zx/nirvanap/c/sccz80/NIRVANAP_stop.asm
jpoikela/z88dk
640
205758
<filename>libsrc/_DEVELOPMENT/arch/zx/nirvanap/c/sccz80/NIRVANAP_stop.asm ; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by <NAME> ; ; See "nirvana+.h" for further details ; ---------------------------------------------------------------- ; void NIRVA...
iod/con2/ptr/wspbl.asm
olifink/smsqe
0
205759
; Write sprite or blob V2.01  1991 <NAME> ; ; 2003-02-17 2.01 Moved check for system sprite to generic routine (MK) ; Bugfix, corrected preserved trap registers (wl) ; ; This routine deals with vectored sprites, and finds ; objects of the appropriate mode. If it doesn't recognise ; the data, or it is of the...
libsrc/_DEVELOPMENT/input/zx/c/sdcc_iy/in_mouse_amx_init.asm
meesokim/z88dk
0
205760
; void in_mouse_amx_init(uint8_t x_vector, uint8_t y_vector) SECTION code_input PUBLIC _in_mouse_amx_init EXTERN l0_in_mouse_amx_init_callee _in_mouse_amx_init: pop af pop de pop bc push bc push de push af jp l0_in_mouse_amx_init_callee
samples/contracts/empty.asm
ajlopez/Yasold
30
205762
<reponame>ajlopez/Yasold<gh_stars>10-100 ; Initialization push1 0x60 (#0x0) push1 0x40 (#0x2) mstore (#0x4) callvalue (#0x5) iszero (#0x6) push1 0x0b (#0x7) jumpi label1 (#0x9) throw (#0xa) :label1 jumpdest (#0xb) :label2 jumpdest (#0xc) push1 0x33 (#0xd) dup1 (#0xf) push1 0x19 (#0x10) push1 0x00 (#0x12) codecopy (#...
src/SlimShader.Tests/Shaders/HlslCrossCompiler/ps4/fxaa.asm
tgjones/slimshader
125
205763
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714 // // /// // Buffer Definitions: // // cbuffer cbFxaa // { // // float4 rcpFrame; // Offset: 0 Size: 16 // // } // // // Resource Bindings: // // Name Type Format Dim Slot Elements /...
kernel/src/x86_64/trampoline.asm
larrabyte/thepuck
5
205764
%include "kernel/src/x86_64/macros.asm" global smpdata extern gdt64.hiptr, gdt64.ptr extern gdt64.code, gdt64.data ; Global definitions. APMAGIC equ 0xCA55E77E SMPEXECUTE equ 0x00001000 SMPSHARED equ 0x00002000 FARJMPADDR equ SMPEXECUTE + (aplongmode - smpstart) section .data smpdata: dq smpstart ...
maps/Route32.asm
pokeachromicdevs/pokeoctober
1
205765
object_const_def ; object_event constants const ROUTE32_FISHER1 const ROUTE32_FISHER2 const ROUTE32_FISHER3 const ROUTE32_YOUNGSTER1 const ROUTE32_YOUNGSTER2 const ROUTE32_YOUNGSTER3 const ROUTE32_LASS1 const ROUTE32_COOLTRAINER_M const ROUTE32_YOUNGSTER4 const ROUTE32_FISHER4 const ROUTE32_POKE_BALL1 cons...
demo-raycaster/raycast_converter.asm
Javanaise/vcs-demo-raycaster
5
205766
RayCastConversion SUBROUTINE ; ok ; rc = tableau de bytes (2 colonnes par byte) ; rc = raycast ; H=15 ; X=0; ; A=RC(0) ; Start encoding to PF LDX #0 STX TempPF0 STX TempPF1 STX TempPF2 STX TempPF3 LDX RaycastOutputMaxHeight STX ConverterIterator ; ...
Sem4/MZY2/l5/l5asm/l5asm.asm
stek29/bmstu-prog
0
205767
<gh_stars>0 .686 .MODEL flat, stdcall OPTION CASEMAP:NONE contains PROTO _str:PTR, strl:DWORD, _sub:PTR, subl:DWORD test_tokenize PROTO _str:PTR, strl:DWORD, _sub:PTR, subl:DWORD EXTERNDEF C MAX_WORD_CNT:DWORD .CODE tokenize PROC s:PTR, l:DWORD, words:PTR, words_size:DWORD ; preserve ebx and esi push ebx ...
oeis/154/A154570.asm
neoneye/loda-programs
11
205768
<filename>oeis/154/A154570.asm ; A154570: The main diagonal of the successive differences of A154127. ; Submitted by <NAME> ; 1,3,-4,2,-6,-2,-14,-18,-46,-82,-174,-338,-686,-1362,-2734,-5458,-10926,-21842,-43694,-87378,-174766,-349522,-699054,-1398098,-2796206,-5592402,-11184814,-22369618,-44739246,-89478482,-178956974,...
lib/sprite.asm
haroldo-ok/sam
2
205769
<reponame>haroldo-ok/sam .RAMSECTION "Sprite Data" SLOT 3 hw_sprites_y dsb 64 hw_sprites_xc dsw 64 .ENDS .SECTION "Sprite Update Routine" FREE UpdateSprites: ;============================================================== ; Sets the sprites' positions/attributes ;=========================================...
audio/sfx/cry05_2.asm
etdv-thevoid/pokemon-rgb-enhanced
1
205770
SFX_Cry05_2_Ch4: dutycycle 10 unknownsfx0x20 6, 226, 0, 5 unknownsfx0x20 6, 227, 128, 5 unknownsfx0x20 6, 211, 112, 5 unknownsfx0x20 8, 161, 96, 5 endchannel SFX_Cry05_2_Ch5: dutycycle 245 unknownsfx0x20 6, 226, 130, 4 unknownsfx0x20 6, 211, 1, 5 unknownsfx0x20 6, 178, 226, 4 unknownsfx0x20 8, 129, 193, 4 ...
src/main/l51_bank.a51
microchip-ung/ocelot-vsc6825
0
205772
$NOMOD51 NOLINES $INCLUDE(hwconf.inc) $NOCOND EXTRN DATA (rom_page_mask) ;------------------------------------------------------------------------------ ; This file is part of the BL51 / LX51 Banked Linker/Locater package ; Copyright (c) 1988 - 2001 Keil Elektronik GmbH and Keil Software, Inc. ; Version ...
Sistemi e reti/Assembly/IF.asm
Gabri3445/EquazioneSecondoGrado
0
205773
INP STA 100 LDB #10 SUB JSN [less] JMP [more] less: LDA 100 OUT HLT more: LDA 100 LDB #5 SUB OUT HLT
tf/adst/aom_dsp/arm/bilinear_filter_media.asm
luctrudeau/VideoExperiments
8
205774
<filename>tf/adst/aom_dsp/arm/bilinear_filter_media.asm ; ; Copyright (c) 2016, Alliance for Open Media. All rights reserved ; ; This source code is subject to the terms of the BSD 2 Clause License and ; the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License ; was not distributed with this source c...
ee/wman/procs/procs.asm
olifink/smsqe
0
205775
<filename>ee/wman/procs/procs.asm ; WMAN colours basic procedures V1.04  2002 <NAME> ; ; 2003-05-27 1.01 Changed routines to always use sys_clnk to get WMAN vec (MK) ; Added WM_MOVEMODE (WL/MK) ; 2003-09-05 1.02 Fixed WM_BLOCK (GG/MK) ; 2013-04-28 1.03 Added WM_MOVEALPHA (wl) ; 2018-04-08 1.04 Mi...
test/x86_op2_vex.asm
DispatchCode/Machine-Code-Analyzer
11
205777
; ------------------------------------------ ; VOL. 2D, Appendix A, pg. 7-8 (Intel Manual) ; ------------------------------------------ [BITS 32] ; Macros pad equ 16 ; ------------------------------- ; 2-byte opcodes tests (VEX) ; ------------------------------- op00: lldt [var] times pad - ($ - $op00)...
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sdcc/__divulong_callee.asm
ahjelm/z88dk
640
205781
<reponame>ahjelm/z88dk<gh_stars>100-1000 SECTION code_fp_am9511 PUBLIC __divulong_callee EXTERN cam32_sdcc_ldivu_callee ; divide two 32-bit numbers into a 32-bit quotient ; ; enter : stack = dividend (32-bit), divisor (32-bit), ret ; ; exit : dehl = quotient defc __divulong_callee = cam32_sdcc_ldiv...
Lab5/Lab5.asm
gabemgem/LITEC
0
205782
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 3.6.0 #9615 (MINGW64) ;-------------------------------------------------------- .module Lab5 .optsdcc -mmcs51 --model-small ;-------------------------------------------------------- ; Public...
src/hello.asm
babasbot/hello-famicom
0
205783
<filename>src/hello.asm<gh_stars>0 .include "constants.inc" .include "header.inc" .segment "CODE" .proc irq_handler RTI .endproc ; Non-Maskable Interrupts (NMI) .proc nmi_handler LDA #$00 STA OAMADDR LDA #$02 STA OAMDMA RTI .endproc .import reset_handler .export main .proc main LDX PPUSTATUS ; writ...
codigo/capitulo 45/c_ensamblador.asm
codeneomatrix/ENSAMBLADOR-x86-ACEVEDO
1
205784
; ------------ To assemble and run:---------------------------------- ; linux ; nasm -f elf32 c_ensamblador.asm & gcc -m32 c_ensamblador.o -o c_ensamblador & ./c_ensamblador ; ------------------------------------------------------------------- extern printf ; invocacion de la funcion printf de C section .data ...
Multiprocessor-Communication/MC B/servo3.asm
xfrings/8051-Experiments
0
205785
;ASTER 06/03/2009 1245 ;TO BE ASSEMBLED IN KEIL MICROVISION V3.60 ;ARTIFICIAL INTELLIGENCE ;MICROCOMPUTER B SERVO ;----------------------------------------------------------------------------------------------------------- ;SET THE ASSEMBLER FOR AT89S52 $NOMOD51 $INCLUDE (AT89X52.h) ;------------------------------...