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
newitems/macros/newspritesheet.asm
fcard/z3randomizer
0
53375
<reponame>fcard/z3randomizer !SpriteSheetId = 0 !SpriteMemoryId = 0 macro NewSpriteMemory(var, starting_address, end_address) !<var> #= !SpriteMemoryId !{SpriteMemory!{SpriteMemoryId}_starting_address} #= <starting_address> !{SpriteMemory!{SpriteMemoryId}_end_address} #= <end_address> !{SpriteMemory!{S...
NuttX/misc/sims/z80sim/example/example.asm
shening/PX4-1.34-Vision-Fix
24
53376
;************************************************************************ ; example.s ;************************************************************************ .title z80sim Test .module example ;************************************************************************ ; Constants ;*************************...
src/shaders/h264/ildb/writeURB_Y_Child.asm
martin-kokos/intel-vaapi-driver
192
53377
/* * Copyright Β© <2010>, Intel Corporation. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitation the rights to use, copy, modify, merg...
programs/oeis/089/A089034.asm
neoneye/loda
22
53378
<reponame>neoneye/loda ; A089034: a(n) = (prime(n)^4 - 1) / 240. ; 10,61,119,348,543,1166,2947,3848,7809,11774,14245,20332,32877,50489,57691,83963,105882,118326,162292,197743,261426,368872,433585,468962,546165,588159,679364,1083936,1227083,1467814,1555421,2053685,2166190,2531555,2941299,3240818,3732271,4277607,4472013,...
src/room-load.asm
santiontanon/westen
49
53379
;----------------------------------------------- ; input: ; - hl: map ; - a: room # within the map load_room: ; clear the buffers: push hl ld hl,object_decompression_buffer ld (hl),0 ld de,object_decompression_buffer+1 ld bc,OBJECT_DECOMPRESSION_BUFFER_SIZE+DOOR_DECOMPRESSION_BUFFER_SIZE-1 ldir pop hl pu...
programs/oeis/208/A208900.asm
jmorken/loda
1
53381
<reponame>jmorken/loda<gh_stars>1-10 ; A208900: Number of bitstrings of length n which (if having two or more runs) the last two runs have different lengths. ; 2,2,6,10,26,50,114,226,482,962,1986,3970,8066,16130,32514,65026,130562,261122,523266,1046530,2095106,4190210,8384514,16769026,33546242,67092482,134201346,268402...
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca.log_21829_1473.asm
ljhsiun2/medusa
9
53382
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x9e04, %r10 sub %r8, %r8 mov $0x6162636465666768, %rsi movq %rsi, %xmm7 movups %xmm7, (%r10) nop nop nop nop add $7601, %rsi lea addresses_WC_ht+0x10a74, %rsi lea addresses_D_ht+0x4c34, %rdi cmp ...
Assembly/hello.asm
PushpneetSingh/Hello-world
1,428
53384
; hello-DOS.asm - single-segment, 16-bit "hello world" program ; ; assemble with "nasm -f bin -o hi.com hello-DOS.asm" org 0x100 ; .com files always start 256 bytes into the segment ; int 21h is going to want... mov dx, msg ; the address of or message in dx mov ah, 9 ; ah=9 - "p...
programs/oeis/037/A037486.asm
neoneye/loda
22
53385
<gh_stars>10-100 ; A037486: Base 9 digits are, in order, the first n terms of the periodic sequence with initial period 1,2. ; 1,11,100,902,8119,73073,657658,5918924,53270317,479432855,4314895696,38834061266,349506551395,3145558962557,28310030663014,254790275967128,2293112483704153 mul $0,2 mov $2,$0 add $2,2 bin $0,$...
encode.asm
bottom-software-foundation/bottom-x86
4
53386
section .bss char resb 1 ; allocate storage for char section .data lf db 0xa ; regular newline phg db 240, 159, 171, 130 ; 200 ; <NAME> ; πŸ«‚ sph db 240, 159, 146, 150 ; 50 ; SParkling Heart ; πŸ’– spk db 226, 156, 168 ; 10 ; SP...
oeis/319/A319690.asm
neoneye/loda-programs
11
53387
; A319690: Fully multiplicative with a(p^e) = (p mod 3)^e. ; Submitted by <NAME> ; 1,2,0,4,2,0,1,8,0,4,2,0,1,2,0,16,2,0,1,8,0,4,2,0,4,2,0,4,2,0,1,32,0,4,2,0,1,2,0,16,2,0,1,8,0,4,2,0,1,8,0,4,2,0,4,8,0,4,2,0,1,2,0,64,2,0,1,8,0,4,2,0,1,2,0,4,2,0,1,32,0,4,2,0,4,2,0,16,2,0,1,8,0,4,2,0,1,2,0,16 add $0,1 mov $1,1 lpb $0 mo...
programs/oeis/118/A118979.asm
karttu/loda
0
53389
<filename>programs/oeis/118/A118979.asm ; A118979: O.g.f: -12*x^3/(-1+x)/(-1+2*x)/(-1+3*x) = -2-2/(-1+3*x)-6/(-1+x)+6/(-1+2*x) . ; 12,72,300,1080,3612,11592,36300,111960,342012,1038312,3139500,9467640,28501212,85700232,257493900,773268120,2321377212,6967277352,20908123500,62736953400,188236026012,564758409672,169437589...
libsrc/z80_crt0s/crt0_sdcc/modsigned.asm
andydansby/z88dk-mk2
1
53390
;-------------------------------------------------------------------------- ; modsigned.s ; ; Copyright (C) 2009, <NAME> ; ; This library is free software; you can redistribute it and/or modify it ; under the terms of the GNU General Public License as published by the ; Free Software Foundation; either version 2.1...
bin/Release/data/examples/N64/Super Mario 64/sm64mlib - examples/05_HudTimer.asm
DavidSM64/SimpleArmipsGui
10
53391
// [ARMIPS 0.9 w/ SM64 Macro Library] HUD Timer Options Example by Davideesk // Configure Timer Options .defineLabel TIMER_SHOW_RESET, 0x00 .defineLabel TIMER_START, 0x01 .defineLabel TIMER_PAUSE, 0x02 .defineLabel TIMER_HIDE, 0x03 // Custom function addresses .defineLabel func_CustomTimer, 0x80370000 .defineLabel fu...
oeis/059/A059673.asm
neoneye/loda-programs
11
53392
<gh_stars>10-100 ; A059673: Sum of binary numbers with n 1's and one (non-leading) 0. ; Submitted by <NAME>(s1) ; 0,2,11,38,109,284,699,1658,3833,8696,19447,42998,94197,204788,442355,950258,2031601,4325360,9175023,19398638,40894445,85983212,180355051,377487338,788529129,1644167144,3422552039,7113539558,14763950053 mov...
programs/oeis/197/A197878.asm
jmorken/loda
1
53393
<reponame>jmorken/loda<gh_stars>1-10 ; A197878: a(n) = floor(2*(1 + sqrt(2))*n). ; 4,9,14,19,24,28,33,38,43,48,53,57,62,67,72,77,82,86,91,96,101,106,111,115,120,125,130,135,140,144,149,154,159,164,168,173,178,183,188,193,197,202,207,212,217,222,226,231,236,241,246,251,255,260,265,270,275,280,284,289,294,299,304,309,313...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_220.asm
ljhsiun2/medusa
9
53396
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_220.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x15241, %rsi lea addresses_WC_ht+0xd9e1, %rdi nop nop nop nop nop xor %r11, %r11 mov $4, %rcx...
programs/oeis/049/A049209.asm
neoneye/loda
22
53398
<filename>programs/oeis/049/A049209.asm<gh_stars>10-100 ; A049209: a(n) = -Product_{k=0..n} (7*k-1); sept-factorial numbers. ; 1,6,78,1560,42120,1432080,58715280,2818333440,155008339200,9610517030400,663125675097600,50397551307417600,4182996758515660800,376469708266409472000,36517561701841718784000,37978264169915387535...
libsrc/_DEVELOPMENT/target/yaz180/driver/time/c/sccz80/clock_gettime_callee.asm
Frodevan/z88dk
640
53399
SECTION code_driver PUBLIC clock_gettime_callee EXTERN asm_clock_gettime ; get the the system time .clock_gettime_callee pop af pop hl pop bc ; ignore the enum clock_id push af jp asm_clock_gettime
nasm/assgnment1/p6.asm
codingneverends/assembly
0
53400
<gh_stars>0 ;Adding two 2-digit numbers section .data msg1 : db 'Enter first digit of first number :' l1 : equ $-msg1 msg2 : db 'Enter second digit of first number :' l2 : equ $-msg2 msg3 : db 'Enter first digit of second number :' l3 : equ $-msg3 msg4 : db 'Enter second digit of second number :' l4 : equ $-msg4 msg5 :...
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca_notsx.log_21829_358.asm
ljhsiun2/medusa
9
53401
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x6e9f, %rax nop inc %r13 mov (%rax), %rdi nop nop nop nop nop cmp %rcx, %rcx lea addresses_normal_ht+0x579f, %rsi lea addresses_WT_ht+0x1909f, %rdi nop cmp %rbp, %rbp mov $24, %rcx rep...
libsrc/_DEVELOPMENT/l/sccz80/7-8085/i32/l_long_mod_u.asm
ahjelm/z88dk
4
53402
<filename>libsrc/_DEVELOPMENT/l/sccz80/7-8085/i32/l_long_mod_u.asm ; Z88 Small C+ Run Time Library ; Long functions ; ; feilipu 10/2021 SECTION code_clib SECTION code_l_sccz80 PUBLIC l_long_mod_u EXTERN l_long_div_u_0 ;remainder = primary % secondary ;enter with secondary (divisor) in dehl, prim...
spring semester 2 course/operatin_system_labs/lab_1/lab_1COM.asm
andrwnv/study-progs
4
53405
; for compile tasm.exe asm_file obj_name.obj ; tlink obj_name.obj /t CSEG segment 'code' assume cs:CSEG, ds:CSEG, es:CSEG, ss:CSEG ; CSEG - ??????????? ??????? org 100h ; ????? ???????? ?????. ???????? start: mov ah, 9 mov dx, offset message int 21h int 20h message db 'Hello world, ASM!$' ...
src/idt/idt.asm
divshekhar/DemonOS
0
53406
section .asm extern int21h_handler extern no_interrupt_handler global int21h global idt_load global no_interrupt global enable_interrupts global disable_interrupts enable_interrupts: sti ret disable_interrupts: cli ret idt_load: push ebp mov ebp, esp mov ebx, [ebp+8] lidt [ebx] ...
data/pokemon/base_stats/sinnoh/staraptor.asm
Dev727/ancientplatinum
0
53408
db 0 ; 398 DEX NO db 85, 120, 70, 100, 50, 60 ; hp atk def spd sat sdf db NORMAL, FLYING ; type db 45 ; catch rate db 172 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 15 ; step cycles to hatch db 5 ; unknown 2 INCBIN "gfx/pokemon/sinnoh/staraptor/f...
commands.asm
ChartreuseK/z80monitor
5
53409
;----------------------------------------------------------------------- ; Monitor interactive command line commands ;----------------------------------------------------------------------- #local ; Avoid polluting namespace #data _RAM CMDARGS:: DW 0 ; Pointer to command line arguments #code _ROM ; Long string...
code/vendor/openssl/asm/crypto/sha/sha1-x86_64.asm
thorium-cfx/fivem
5,411
53410
<gh_stars>1000+ OPTION DOTNAME .text$ SEGMENT ALIGN(256) 'CODE' EXTERN OPENSSL_ia32cap_P:NEAR PUBLIC sha1_block_data_order ALIGN 16 sha1_block_data_order PROC PUBLIC mov QWORD PTR[8+rsp],rdi ;WIN64 prologue mov QWORD PTR[16+rsp],rsi mov rax,rsp $L$SEH_begin_sha1_block_data_order:: mov rdi,rcx mov rsi,rdx mov rd...
programs/oeis/193/A193390.asm
neoneye/loda
22
53411
<filename>programs/oeis/193/A193390.asm ; A193390: The hyper-Wiener index of a benzenoid consisting of a straight-line chain of n hexagons (s=2; see the Gutman et al. reference). ; 42,215,680,1661,3446,6387,10900,17465,26626,38991,55232,76085,102350,134891,174636,222577,279770,347335,426456,518381,624422,745955,884420,...
mips/test_http-responses.asm
brenns10/yams
17
53412
### # File: test_http-responses.asm # # Code to exercise http response routines. ### .include "util-macros.asm" .data test_pass: .asciiz "TEST PASSED.\n" test_fail: .asciiz "==> TEST FAILED!\n" test_start: .asciiz "STARTING TESTS.\n" test_end: .asciiz "FINISHED TESTS.\n" ln: .asciiz "\n" _metho...
programs/oeis/020/A020704.asm
neoneye/loda
22
53413
<filename>programs/oeis/020/A020704.asm ; A020704: Pisot sequences E(3,10), P(3,10). ; 3,10,33,109,360,1189,3927,12970,42837,141481,467280,1543321,5097243,16835050,55602393,183642229,606529080,2003229469,6616217487,21851881930,72171863277,238367471761,787274278560,2600190307441,8587845200883,28363725910090,936790229311...
eng_mecat_bkp/Ledp2_1.asm
Mutanne/hiworld
0
53414
org 0h leds EQU P2 ;porta dos leds sw EQU P1 ;porta dos botoes mov P2,#0ffh mov P1,#00h ;------Parte1------------ sw1: mov R0,sw cjne R0,#01h,sw2 mov A,#0Fh pisca: mov leds,A call temp swap A mov R0,sw cjne R0,#01h,sw2 sjmp pisca ;------Parte2------------ sw2: mov R0,sw cjne R0,#02h,sw3 mov leds,#0FFh ;apa...
8085_programming/MBLE/14_simpadd.asm
SayanGhoshBDA/code-backup
16
53415
LXI H, 0000H MVI M, 35H MOV A, M INX H MVI M, 4AH MOV B, M ADD B INX H MOV M, A HLT
console_test.asm
sig2650/Voltmace-Database-hardware
1
53416
; TEST ROM for Voltmace Database. Needs special cartridge board with switched address lines to access different tests. ; This is intended as an easy way to check basic functions of the console hardware with an oscilloscope, primarily in ; instances where the board appears to be dead. ;Define constants midD equ ...
oeis/021/A021922.asm
neoneye/loda-programs
11
53417
<reponame>neoneye/loda-programs ; A021922: Decimal expansion of 1/918. ; 0,0,1,0,8,9,3,2,4,6,1,8,7,3,6,3,8,3,4,4,2,2,6,5,7,9,5,2,0,6,9,7,1,6,7,7,5,5,9,9,1,2,8,5,4,0,3,0,5,0,1,0,8,9,3,2,4,6,1,8,7,3,6,3,8,3,4,4,2,2,6,5,7,9,5,2,0,6,9,7,1,6,7,7,5,5,9,9,1,2,8,5,4,0,3,0,5,0,1 add $0,1 mov $2,10 pow $2,$0 mov $0,$2 div $0,91...
programs/oeis/322/A322029.asm
jmorken/loda
1
53419
<gh_stars>1-10 ; A322029: Denominator of least value of the squared diameters of the enclosing circles of all strictly convex lattice n-gons with minimal area given by A070911. Numerators are A321693. ; 1,1,9,1,1,1,49,1,1,1,1,1,1,1,169,1,1,1,1,1,1,1,1,1 mov $3,2 mov $7,$0 lpb $3 mov $0,$7 sub $3,1 add $0,$3 tr...
engine/dependencies/tbb/src/tbbproxy/tbbproxy-windows.asm
jose-villegas/VCT_Engine
459
53420
<reponame>jose-villegas/VCT_Engine ; Copyright 2005-2015 Intel Corporation. All Rights Reserved. ; ; This file is part of Threading Building Blocks. Threading Building Blocks is free software; ; you can redistribute it and/or modify it under the terms of the GNU General Public License ; version 2 as published by t...
programs/oeis/053/A053222.asm
neoneye/loda
22
53421
<gh_stars>10-100 ; A053222: First differences of sigma(n). ; 2,1,3,-1,6,-4,7,-2,5,-6,16,-14,10,0,7,-13,21,-19,22,-10,4,-12,36,-29,11,-2,16,-26,42,-40,31,-15,6,-6,43,-53,22,-4,34,-48,54,-52,40,-6,-6,-24,76,-67,36,-21,26,-44,66,-48,48,-40,10,-30,108,-106,34,8,23,-43,60,-76,58,-30,48,-72,123,-121,40,10,16,-44,72,-88,106,-...
pkgs/tools/yasm/src/modules/arch/x86/tests/ea-nonzero.asm
manggoguy/parsec-modified
2,151
53422
; Ticket #58 ; Also tests that this isn't seen as a circular reference. [bits 64] a: lea rbp,[rsi+rbp*1+(b-a)] b:
programs/oeis/103/A103433.asm
jmorken/loda
1
53423
; A103433: a(n) = Sum_{i=1..n} Fibonacci(2i-1)^2. ; 0,1,5,30,199,1355,9276,63565,435665,2986074,20466835,140281751,961505400,6590256025,45170286749,309601751190,2122041971551,14544692049635,99690802375860,683290924581349,4683345669693545 mov $3,$0 mov $4,$0 lpb $4 mov $0,$3 sub $4,1 sub $0,$4 mov $2,1 mov $5...
Linux/greatestInThree/greaterInThree.asm
shikhar-scs/Assembly-with-MacOS
19
53424
<filename>Linux/greatestInThree/greaterInThree.asm data SEGMENT NUM1 DB ? NUM2 DB ? NUM3 DB ? msg1 DB 10,13,'Input number 1 : $' msg2 DB 10,13,'Input number 2 : $' msg3 DB 10,13,'Input number 3 : $' order DB 10,13,'Order is : $ ' data ENDS code SEGMENT assume CS:code,DS:data start: MOV AX,data MOV DS,AX ...
libsrc/_DEVELOPMENT/string/c/sccz80/strrchr_callee.asm
Frodevan/z88dk
640
53425
<filename>libsrc/_DEVELOPMENT/string/c/sccz80/strrchr_callee.asm ; char *strrchr(const char *s, int c) SECTION code_clib SECTION code_string PUBLIC strrchr_callee EXTERN asm_strrchr strrchr_callee: IF __CPU_GBZ80__ pop de pop bc pop hl push de call asm_strrchr ld d,h ld e,l ret ELSE pop ...
libsrc/_DEVELOPMENT/arch/zx/nirvanap/c/sdcc/NIRVANAP_chars.asm
teknoplop/z88dk
0
53426
; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR NIRVANA+ ENGINE - by <NAME> ; ; See "nirvana+.h" for further details ; ---------------------------------------------------------------- ; void NIRVANAP_chars(unsigned char *addr) SECTION code_clib SECTION code_nirvanap P...
programs/oeis/069/A069811.asm
neoneye/loda
22
53428
; A069811: a(n) = Sum_{k=1..n} omega(k)^2. ; 0,1,2,3,4,8,9,10,11,15,16,20,21,25,29,30,31,35,36,40,44,48,49,53,54,58,59,63,64,73,74,75,79,83,87,91,92,96,100,104,105,114,115,119,123,127,128,132,133,137,141,145,146,150,154,158,162,166,167,176,177,181,185,186,190,199,200,204,208,217,218,222,223,227,231,235,239,248,249,253,...
programs/oeis/056/A056237.asm
neoneye/loda
22
53429
<reponame>neoneye/loda ; A056237: a(n) = 2*n^2 + 9*n - 5. ; 6,21,40,63,90,121,156,195,238,285,336,391,450,513,580,651,726,805,888,975,1066,1161,1260,1363,1470,1581,1696,1815,1938,2065,2196,2331,2470,2613,2760,2911,3066,3225,3388,3555,3726,3901,4080,4263,4450,4641,4836,5035 mul $0,2 add $0,7 bin $0,2 sub $0,15
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48_notsx.log_21829_275.asm
ljhsiun2/medusa
9
53430
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x4fc7, %rax nop nop nop add $34175, %rbp movb (%rax), %r11b nop nop nop nop xor %r9, %r9 lea addresses_normal_ht+0x1c6cb, %r15 nop nop nop nop nop and $2241...
kernel/kernel.asm
alexburroughs/os
0
53431
BITS 32 VGA_WIDTH equ 80 VGA_HEIGHT equ 25 VGA_COLOR_BLACK equ 0 VGA_COLOR_BLUE equ 1 VGA_COLOR_GREEN equ 2 VGA_COLOR_CYAN equ 3 VGA_COLOR_RED equ 4 VGA_COLOR_MAGENTA equ 5 VGA_COLOR_BROWN equ 6 VGA_COLOR_LIGHT_GREY equ 7 VGA_COLOR_DARK_GREY equ 8 VGA_COLOR_LIGHT_BLUE equ 9 VGA_COLOR_LIGHT_GREEN equ 10 VGA_COLOR_LI...
shmTest.asm
willh99/MSBOSS-proj
0
53432
_shmTest: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "types.h" #include "user.h" int main(void) { 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/120/A120470.asm
karttu/loda
1
53434
<filename>programs/oeis/120/A120470.asm ; A120470: 2*4^n +(-1)^n*2^(n-1). ; 7,34,124,520,2032,8224,32704,131200,524032,2097664,8387584,33556480,134213632,536879104,2147467264,8589967360,34359672832,137439084544,549755551744,2199023779840,8796091973632,35184374185984 add $0,4 mov $3,-2 pow $3,$0 sub $3,1 mov $1,$3 mov ...
Arduino-ESP/Merge Sort .asm
lakhan098/Technocrats-HacktoberFest
11
53435
.data numberMsg: .asciiz "Enter the number of elements in the array: " elementsMsg: .asciiz "Enter the elements\n"; sortedMsg: .asciiz "The sorted array using merge sort is given by:\n" space: .asciiz " " #t0 address space #t1 start address of array #t2 end ...
Appl/Bindery/Document/documentUserSection.asm
steakknife/pcgeos
504
53436
<filename>Appl/Bindery/Document/documentUserSection.asm COMMENT @---------------------------------------------------------------------- Copyright (c) Geoworks 1992-1994 -- All Rights Reserved PROJECT: GEOS MODULE: Studio FILE: documentUserSection.asm ROUTINES: Name Description ---- ----------- ...
src/asm_files/shell_prototypes/printstring.asm
zedth2/sunyat-c
0
53437
<filename>src/asm_files/shell_prototypes/printstring.asm .message Shell Groundwork .constant TERM 0xFF .constant CR 0xD .constant LF 0xA .constant NULL 0x00 jmp !main !crlf .variable crlf0 CR .variable crlf1 LF .variable crlf2 NULL ;used as a string delimiter .variable key !prompt .variable prompt0 '[' .va...
08 - Virtual Machine Program Control/ProgramFlow/FibonacciSeries/FibonacciSeries.asm
AmrDeveloper/Nand2Tetris
2
53438
<reponame>AmrDeveloper/Nand2Tetris<gh_stars>1-10 //Push Argument @ARG D=M @1 A=A+D D=M @SP A=M M=D @SP M=M+1 //Pop Pointer from THAT @SP M=M-1 @SP D=A @THAT AD=D+A @R13 M=D @SP A=M D=M @R13 A=M M=D //Push constant @0 D=A @SP A=M M=D @SP M=M+1 //Pop That @THAT D=M @0 D=D+A @R13 M=D @SP AM=M-1 D=M @R13 A=M M=D //Push con...
sources/invert.asm
gpont/TSU_ASM
0
53440
<gh_stars>0 global invert section .text invert: mov rax, 0 not rax mov rcx, rsi shl rax, cl not rax xor rax, rdi ret
oeis/152/A152046.asm
neoneye/loda-programs
11
53441
<reponame>neoneye/loda-programs ; A152046: a(n) = Product_{k=1..floor((n-1)/2)} (1 + 8*cos(k*Pi/n)^2) for n >= 0. ; 1,1,1,3,5,11,21,43,85,171,341,683,1365,2731,5461,10923,21845,43691,87381,174763,349525,699051,1398101,2796203,5592405,11184811,22369621,44739243,89478485,178956971,357913941,715827883,1431655765,286331153...
programs/oeis/145/A145129.asm
jmorken/loda
1
53442
; A145129: 1 + (9960 + (6804 + (2464 + (735 + (175 + (21 + n)*n)*n)*n)*n)*n)*n/5040. ; 1,5,18,56,155,386,876,1836,3597,6655,11726,19812,32279,50948,78200,117096,171513,246297,347434,482240,659571,890054,1186340,1563380,2038725,2632851,3369510,4276108,5384111,6729480,8353136,10301456,12626801,15388077,18651330,22490376,...
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/sinh.asm
jpoikela/z88dk
0
53443
<gh_stars>0 SECTION code_fp_math32 PUBLIC sinh EXTERN cm32_sccz80_sinh defc sinh = cm32_sccz80_sinh ; SDCC bridge for Classic IF __CLASSIC PUBLIC _sinh defc _sinh = sinh ENDIF
src/defs.asm
ViGrey/calendar_dot_exe
2
53444
SCREEN_START = 0 SCREEN_CALENDAR = 1 CALENDAR_GREGORIAN = 0 CALENDAR_JULIAN = 1 CALENDAR_ROMAN = 2 ; Assume Macrobius quirks CALENDAR_PARKER_A = 3 CALENDAR_PARKER_B = 4 CALENDAR_PARKER_C = 5 ERA_BC = 0 ERA_AD = 1 MONTH_JANUARY = 0 MONTH_FEBRUARY = 1 MONTH_MARCH = 2 MONTH_APR...
test/asm/mem.asm
xdrie/irre-tools
1
53445
; test memory instructions %entry :main test1: int r3 hlt main: set r1 $f00 set r2 $41 ; 'a' stw r1 r2 #0 ; store r2 to mem ldw r3 r1 #0 ; load r3 from mem jmi ::test1
text/maps/route_1.asm
longlostsoul/EvoYellow
16
53446
<filename>text/maps/route_1.asm<gh_stars>10-100 _Route1ViridianMartSampleText:: text "I work in town," line "at the mart!" para "It's must-see" line "for any trainer," cont "you just gotta" cont "try our products!" para "I know, I'll give" line "you a potion" cont "from my MART!" prompt _Route1Text_1cae8::...
libsrc/math/mbf32/c/sccz80/l_f32_add.asm
rjcorrig/z88dk
0
53447
<gh_stars>0 SECTION code_fp_mbf32 PUBLIC l_f32_add EXTERN ___mbf32_setup_arith EXTERN ___mbf32_FPADD EXTERN ___mbf32_return EXTERN msbios l_f32_add: call ___mbf32_setup_arith ld ix,___mbf32_FPADD call msbios jp ___mbf32_return
programs/oeis/099/A099036.asm
neoneye/loda
22
53448
; A099036: a(n) = 2^n - Fibonacci(n). ; 1,1,3,6,13,27,56,115,235,478,969,1959,3952,7959,16007,32158,64549,129475,259560,520107,1041811,2086206,4176593,8359951,16730848,33479407,66987471,134021310,268117645,536356683,1072909784,2146137379,4292788987,8586410014,17174166297,34350510903,68704546384,137414795655,27483881877...
jpan-recycle-new-game.asm
Sagiri/new-game-minus
1
53449
<reponame>Sagiri/new-game-minus<filename>jpan-recycle-new-game.asm // change these constants as needed rom equ "firered.gba" .definelabel free_space, 0x08800000 .definelabel jpan_block, 0x0203C000 // ----------------------------------------------------------------------------- JPAN_BLOCK_SIZE equ 0xEC4 .definelabe...
programs/oeis/165/A165897.asm
karttu/loda
1
53450
<reponame>karttu/loda<filename>programs/oeis/165/A165897.asm ; A165897: a(n) = a(n-1) + largest proper divisor of a(n-1), a(1)=4. ; 4,6,9,12,18,27,36,54,81,108,162,243,324,486,729,972,1458,2187,2916,4374,6561,8748,13122,19683,26244,39366,59049,78732,118098,177147,236196,354294,531441,708588,1062882,1594323,2125764,3188...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1483.asm
ljhsiun2/medusa
9
53451
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0xd757, %r13 nop nop inc %r9 movl $0x61626364, (%r13) nop nop sub $41574, %rdi lea addresses_UC_ht+0x182e7, %r9 nop cmp %rdi, %rdi movw $0x6162, (%r9) nop nop nop nop nop add $1...
oeis/336/A336524.asm
neoneye/loda-programs
11
53452
<filename>oeis/336/A336524.asm ; A336524: Triangular array read by rows. T(n,k) is the number of unlabeled binary trees with n internal nodes and exactly k distinguished external nodes (leaves) for 0 <= k <= n+1 and n >= 0. ; Submitted by <NAME> ; 1,1,1,2,1,2,6,6,2,5,20,30,20,5,14,70,140,140,70,14,42,252,630,840,630,25...
assembly/exemplos/src/paleta.asm
AbnerLimaa/arquitetura-de-computadores
0
53453
org 0x7C00 bits 16 mov ax, 0 mov ds, ax cli main: mov ax, msg1 call print mov ax, 0x7E00 call getnum mov ax, msg2 call print mov ax, 0x7E02 call getnum mov ax, msg3 call print mov ax, 0x7E04 call getnum mov al, 0 mov dx, 0x3C8 out dx, al mov dx, 0x3C9 mov ax, [0x7E00] out...
dev/base/utils.asm
Imanolea/Game-Boy-Color-template
0
53454
; Game Boy Color development (feature showcase) ; Made by <NAME> (Imanolea) for Games aside ; Basic hardware routines ; OAM RAM update by DMA Transfer DMATransferRoutine:: di ld a, $C2 ld [rDMA], a ld a, 40 .dmatransferroutine_0: dec a jr nz, .dmatransferroutine_0 ei ret DMATransferRoutineEnd:: ; System...
programs/oeis/071/A071933.asm
neoneye/loda
22
53455
; A071933: a(n) = Sum_{i=1..n} K(i,i+1), where K(x,y) is the Kronecker symbol (x/y). ; 1,0,1,2,3,2,3,4,5,4,3,4,5,4,5,6,7,6,7,8,9,8,7,8,9,8,7,8,9,8,9,10,11,10,11,12,13,12,13,14,15,14,13,14,15,14,13,14,15,14,15,16,17,16,15,16,17,16,15,16,17,16,17,18,19,18,19,20,21,20,21,22,23,22,21,22,23,22,23,24,25,24,25,26,27,26,25,26,...
src/buck.asm
tautology0/sagarework
0
53456
GRAPHICS=0 ADAMS=1 EXITCOL=134 OBJCOL=131 MESSCOL=131 SYSCOL=135 TEXTCOL=40 INPUTCOL=134 include "engine.asm" include "samessages.asm" .objsep equb ".",0 .end save "ENGINE",start,end ; add game files - disk1 putfile "buckaroo\BUCK","G.BUCK",datastart putfile "buckaroo\title","SCR",&5800 putbasic "buckaroo\LOAD.txt",...
game.asm
r1fl/8086-Assembly-Chess
8
53459
IDEAL MODEL small STACK 100h P286 include 'graphics.inc' include 'engine.inc' include 'bmp.inc' include 'io.inc' DATASEG ; Error Messages byUser@error db 'Program closed by user.$' blank@error db 'Woops! nothing here.$' ; Directories root@wd db '../', 0 pieces@wd db 'assets', 0 ; Selection sourcePos@sel dd ...
menu.asm
kernel-picnic/asm
0
53460
<gh_stars>0 ο»Ώ; ΠœΠΎΠ΄ΡƒΠ»ΡŒ Π²Ρ‹Π²ΠΎΠ΄Π° мСню model small .stack 100h .data menu_space db 10,13,10,13,"$" menu_exit db '0. Exit',10,13,"$" menu_print db '1. Print menu',10,13,"$" menu_enter db '2. Enter string',10,13,"$" menu_load db '3. Load strings from file',10,13,"$" menu_save db '...
constants.asm
mkiesinski/the-way-nes
2
53461
<filename>constants.asm ;; CONSTANTS ;;; ENGINE ;;;;;; SPRITE DRAWING ADDRESSES SPRITE_Y_POSITION = $0200 SPRITE_TILENUMBER = $0201 SPRITE_ATTRIBUTES = $0202 SPRITE_X_POSITION = $0203 ;;; STATES STATE_OVERWORLD_INIT = $00 STATE_OVERWORLD = $01 ;;; BUTTONS BUTTONRIGHT = $01 BUTTONLEFT = $02 BUTTOND...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_3347_897.asm
ljhsiun2/medusa
9
53462
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r14 push %r9 push %rbp push %rbx push %rdi push %rsi // Store lea addresses_A+0x1ac6c, %rsi nop xor $24873, %rbx movl $0x51525354, (%rsi) nop sub %rbx, %rbx // Store lea addresses_UC+0x801c, %r9 cmp %r10, %r10 m...
Mid-Term/Solution/Lab_Mid/ASM/MidQ1.asm
MohammadSakiL/CSE331L-Section-1-Fall20-NSU
0
53464
.MODEL SMALL .STACK 100H .DATA PROMPT_1 DB "ENTER INTEGER 1: $" PROMPT_2 DB "ENTER INTEGER 2: $" PROMPT_3 DB "MUL OF THE INTEGER: $" VALUE_1 DB ? VALUE_2 DB ? RESULT DB ? .CODE MAIN PROC MOV AX, @DATA MOV DS, AX LEA DX, PROMPT_1 MOV AH, 9 INT 21H MOV AH, ...
Sources/main.asm
billhhh/hcs12-dragon12
0
53465
;***************************************************************** ;* This stationery serves as the framework for a * ;* user application (single file, absolute assembly application) * ;* For a more comprehensive program that * ;* demonstrates the more advanced functionality of t...
data/pokemon/base_stats/scizor.asm
AtmaBuster/pokeplat-gen2
6
53466
db 0 ; species ID placeholder db 70, 130, 100, 65, 55, 80 ; hp atk def spd sat sdf db BUG, STEEL ; type db 25 ; catch rate db 200 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 25 ; step cycles to hatch INCBIN "gfx/pokemon/scizor/front.dimensions" db GROWTH_MEDIUM_FAST ; ...
2.asm
jacobggman/assembly-exercises
0
53467
.386 .model flat,stdcall option casemap:none include \masm32\include\windows.inc include \masm32\include\user32.inc includelib \masm32\lib\user32.lib .data BUFFER_LENGTH EQU 1024 szMessageBoxFormat BYTE "The result is %d", 0 szMessageBoxText BYTE 0 dup(BUFFER_LENGTH) finish_num EQU 10 .code star...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_490.asm
ljhsiun2/medusa
9
53469
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xa6e4, %rsi lea addresses_A_ht+0xb2f7, %rdi clflush (%rdi) nop nop nop and $1390, %r14 mov $5, %rcx rep movsw nop nop nop nop nop xor %rdx, %rdx lea addresses_W...
programs/oeis/039/A039702.asm
neoneye/loda
22
53470
; A039702: a(n) = n-th prime modulo 4. ; 2,3,1,3,3,1,1,3,3,1,3,1,1,3,3,1,3,1,3,3,1,3,3,1,1,1,3,3,1,1,3,3,1,3,1,3,1,3,3,1,3,1,3,1,1,3,3,3,3,1,1,3,1,3,1,3,1,3,1,1,3,1,3,3,1,1,3,1,3,1,1,3,3,1,3,3,1,1,1,1,3,1,3,1,3,3,1,1,1,3,3,3,3,3,3,3,1,1,3,1 seq $0,6005 ; The odd prime numbers together with 1. max $0,2 mod $0,4
programs/oeis/310/A310564.asm
jmorken/loda
1
53471
; A310564: Coordination sequence Gal.3.23.1 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,4,12,16,20,24,32,36,40,48,52,56,60,68,72,76,84,88,92,96,104,108,112,120,124,128,132,140,144,148,156,160,164,168,176,180,184,192,196,200,204...
libsrc/_DEVELOPMENT/z80/z80/__generic_isr_run_callbacks.asm
teknoplop/z88dk
0
53473
<filename>libsrc/_DEVELOPMENT/z80/z80/__generic_isr_run_callbacks.asm SECTION code_clib SECTION code_z80 PUBLIC __generic_isr_run_callbacks EXTERN l_jphl __generic_isr_run_callbacks: ; run a zero-terminated array of callback functions ; execution of array is terminated early if a callback function sets carry...
Examples/ch16/MultData.asm
satadriver/LiunuxOS
0
53474
<gh_stars>0 TITLE Multiple Data Segments (MultData.asm) ; This program shows how to explicitly declare ; multiple data segments. ; Last update: 2/1/02 cseg SEGMENT 'CODE' ASSUME cs:cseg, ds:data1, ss:mystack main PROC mov ax,data1 ; point DS to data1 segment mov ds,ax mo...
wof/lcs/base/2B6.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
53475
copyright zengfr site:http://github.com/zengfr/romhack 002A62 cmp.w ($e,A4), D0 [enemy+82] 002A66 beq $2b7e [base+296, base+2B6, base+2D6] 002A6E move.w ($e,A4), D1 [base+296, base+2B6, base+2D6] 002A72 move.w ($5e,A1), D2 [base+296, base+2B6, base+2D6] 002ABA move.w ($e,A4), D0 [base+28D, base+2AD, base...
oeis/028/A028216.asm
neoneye/loda-programs
11
53476
<filename>oeis/028/A028216.asm ; A028216: Expansion of 1/((1-6x)(1-9x)(1-10x)(1-11x)). ; Submitted by <NAME> ; 1,36,817,14952,241213,3582348,50196889,673865424,8755297045,110878147380,1375697840881,16786476031416,202032169207597,2403762666000732,28323951022216393,331005811232778528 mov $1,1 mov $2,$0 mov $3,$0 lpb $2 ...
oeis/281/A281999.asm
neoneye/loda-programs
11
53477
<filename>oeis/281/A281999.asm ; A281999: Half of the height of the right trapezoidal gnomon (of the derivative of Y=X^5). ; Submitted by <NAME> ; 1,30,181,600,1501,3150,5881,10080,16201,24750,36301,51480,70981,95550,126001,163200,208081,261630,324901,399000,485101,584430,698281,828000,975001,1140750,1326781,1534680,17...
dma/dma_valid_sources_gbc_mode/init.asm
AntonioND/gbc-hw-tests
6
53478
INCLUDE "hardware.inc" SECTION "2",ROMX[$4000],BANK[1] REPT $A0 db $40 ENDR SECTION "Helper Functions",HOME[$0000] REPT $A0 db $00 ENDR ;-------------------------------------------------------------------------- ;- CPU_fast() - ;- CPU_slow(...
Transynther/x86/_processed/NONE/_xt_sm_/i7-8650U_0xd2.log_2108_1217.asm
ljhsiun2/medusa
9
53479
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_A_ht+0x6ae3, %r10 nop nop add $38744, %r13 mov $0x6162636465666768, %r15 movq %r15, (%r10) nop nop dec %r8 lea addresses_UC_ht+0x17a7b, %r11 clflush (%r11) nop nop nop nop ...
Working Disassembly/Lockon S3/LockOn Data.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
0
53480
; ═══════════════════════════════════════════════════════════════════════════ LockOnROM_Start: binclude "Lockon S3/Header.bin" even Pal_Competition1: binclude "General/Competition Menu/Palettes/1.bin" even Map_CompetitionObject: include "General/Competition Menu/Map - Competition Objects.asm" MapUnc_CompetitionNu...
exercises/practice/hello-world/.meta/example.asm
jonboland/x86-64-assembly
21
53481
<filename>exercises/practice/hello-world/.meta/example.asm default rel section .rodata msg: db "Hello, World!", 0 ; ; The classical introductory exercise. Just say "Hello, World!" ; ; Returns: ; rax - the string "Hello, World!" ; section .text global hello hello: lea rax, [msg] ; Return the string "Hello, Worl...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_169.asm
ljhsiun2/medusa
9
53483
<filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_169.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0xcc43, %r12 nop nop nop nop nop sub $24486, %rbp mov (%r12), %r15w nop cmp %rcx, %rcx...
main.asm
aaronscode/mipsCalc
1
53484
.globl main .globl newline_char .globl space_char .globl comma_space .globl null_char .globl input_str .globl token_list .globl shunting_stack .globl shunting_ids .globl variable_array .globl var_init_flags .include "macros.asm" .eqv MAX_STR_LEN 64 # constant for defining string length .data # printing strings newl...
c-vs-asm/build/01-variables.asm
willbr/gameboy-tests
0
53485
<filename>c-vs-asm/build/01-variables.asm ;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 4.0.0 #11528 (MINGW64) ;-------------------------------------------------------- ; MODULE 01_variables .optsdcc -mgbz80 ; Generated using the rgbds t...
oeis/245/A245926.asm
neoneye/loda-programs
11
53486
; A245926: Expansion of g.f. sqrt( (1-x + sqrt(1-14*x+x^2)) / (2*(1-14*x+x^2)) ). ; Submitted by <NAME>(w2) ; 1,5,51,587,7123,89055,1135005,14660805,191253843,2513963567,33244446601,441772827105,5894323986301,78912561223553,1059543126891027,14261959492731387,192392702881384275,2600355510685245087,35206018016510388345,4...
src/isa/avx/masm/vrsa_expm1f.asm
jepler/aocl-libm-ose
66
53487
<reponame>jepler/aocl-libm-ose ; ; Copyright (C) 2008-2020 Advanced Micro Devices, Inc. All rights reserved. ; ; Redistribution and use in source and binary forms, with or without modification, ; are permitted provided that the following conditions are met: ; 1. Redistributions of source code must retain the above copy...
oeis/004/A004296.asm
neoneye/loda-programs
11
53488
<reponame>neoneye/loda-programs<filename>oeis/004/A004296.asm ; A004296: Expansion of (1+2*x+x^2)/(1-50*x+x^2). ; Submitted by <NAME> ; 1,52,2600,129948,6494800,324610052,16224007800,810875779948,40527564989600,2025567373700052,101237841120013000,5059866488626949948,252892086590227484400,12639544463022747270052,6317243...
Transynther/x86/_processed/NONE/_ht_zr_un_/i7-7700_9_0x48.log_21829_1388.asm
ljhsiun2/medusa
9
53489
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x389, %rsi lea addresses_UC_ht+0x37b1, %rdi clflush (%rdi) nop nop nop nop nop and $28129, %rbp mov $22, %rcx rep movsw nop nop nop nop nop sub %r10, %r10 lea addresses_WT_ht+...
oeis/054/A054417.asm
neoneye/loda-programs
11
53490
; A054417: Number of connected 3 X n binary matrices with rightmost column [1,0,0]'. ; Submitted by <NAME> ; 1,5,37,249,1657,11037,73533,489905,3263921,21745397,144875541,965212201,6430585769,42842841485,285434194093,1901663763041,12669557966433,84409085446373,562363243040517,3746663234776665,24961598341546969,16630301...
programs/oeis/063/A063494.asm
neoneye/loda
22
53492
<reponame>neoneye/loda ; A063494: a(n) = (2*n - 1)*(7*n^2 - 7*n + 3)/3. ; 1,17,75,203,429,781,1287,1975,2873,4009,5411,7107,9125,11493,14239,17391,20977,25025,29563,34619,40221,46397,53175,60583,68649,77401,86867,97075,108053,119829,132431,145887,160225,175473,191659,208811,226957,246125,266343,287639,310041,333577,358...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_12266_1784.asm
ljhsiun2/medusa
9
53493
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x8c9b, %rcx nop nop nop cmp %r8, %r8 mov (%rcx), %edx nop nop nop nop dec %rbp lea addresses_WC_ht+0x969b, %rbp nop nop nop nop nop sub %r13, %r13 mov $0x6162636465666768, %rb...
programs/oeis/204/A204988.asm
karttu/loda
0
53494
<reponame>karttu/loda ; A204988: The index j < k such that n divides 2^k - 2^j, where k is the least index (A204987) for which such j exists. ; 1,1,1,2,1,1,1,3,1,1,1,2,1,1,1,4,1,1,1,2,1,1,1,3,1,1,1,2,1,1,1,5,1,1,1,2,1,1,1,3,1,1,1,2,1,1,1,4,1,1,1,2,1,1,1,3,1,1,1,2,1,1,1,6,1,1,1,2,1,1,1,3,1,1,1,2,1,1,1,4,1,1,1,2,1,1,1,3,...