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
lecture4/indirect.asm
netguy204/cmsc313_examples
1
46727
<reponame>netguy204/cmsc313_examples [SECTION .data] ;;; Here we declare initialized data. For example: messages, prompts, ;;; and numbers that we know in advance HelloWorld: db "Hello, world!", 10 [SECTION .bss] ;;; Here we declare uninitialized data. We're reserving space (and ;;; potentially associating names w...
ee/hot/gtky.asm
olifink/smsqe
0
46728
<gh_stars>0 ; Routine to get HOTKEY key V2.01  1988 <NAME> QJUMP section hotkey xdef hot_gtky xref ut_gtnm1 include 'dev8_keys_err' ;+++ ; Get hotkey key into d7, and update name table pointer ; ; d1-d3 scratch ; d7 r (word) Hotkey ; a1/a2 scra...
oeis/002/A002533.asm
neoneye/loda-programs
11
46729
; A002533: a(n) = 2*a(n-1) + 5*a(n-2). ; Submitted by <NAME> ; 1,1,7,19,73,241,847,2899,10033,34561,119287,411379,1419193,4895281,16886527,58249459,200931553,693110401,2390878567,8247309139,28449011113,98134567921,338514191407,1167701222419,4027973401873,13894452915841,47928772841047,165329810261299,570303484727833,196...
programs/oeis/248/A248812.asm
neoneye/loda
22
46730
<reponame>neoneye/loda ; A248812: Repeated terms of (2n)! (A010050). ; 1,1,2,2,24,24,720,720,40320,40320,3628800,3628800,479001600,479001600,87178291200,87178291200,20922789888000,20922789888000,6402373705728000,6402373705728000,2432902008176640000,2432902008176640000,1124000727777607680000 div $0,2 mul $0,2 mov $1,12...
lab_06/1/MOD1.asm
zakolm/ASM
9
46731
<gh_stars>1-10 ; ФАЙЛ lr05-1-1.asm EXTRN OUTPUT_X: NEAR STK SEGMENT PARA STACK 'STACK' DB 64 DUP (?) STK ENDS DSEG SEGMENT PARA PUBLIC 'DATA' PUBLIC X X DB 'R' DSEG ENDS CSEG SEGMENT PARA PUBLIC 'CODE' ASSUME CS: CSEG, DS: DSEG, SS: STK MAIN: MOV AX,DSEG MOV DS,AX CALL OU...
oeis/176/A176892.asm
neoneye/loda-programs
11
46732
<filename>oeis/176/A176892.asm ; A176892: Decimal representation of the reverted binary representation of n followed by digits substitution 0->2, 1->3. ; Submitted by <NAME> ; 2,3,23,33,223,323,233,333,2223,3223,2323,3323,2233,3233,2333,3333,22223,32223,23223,33223,22323,32323,23323,33323,22233,32233,23233,33233,22333,...
stressfs.asm
oolojed1/CS-350-Project-1
0
46733
_stressfs: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "fs.h" #include "fcntl.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp int fd, i; char path[] = "stressfs0"; 7: b8 30 00 0...
dd/dev/xprocs.asm
olifink/smsqe
0
46734
<gh_stars>0 ; DEV Extension procedures section procs xdef dev_xprocs xref dev_tnam include 'dev8_mac_thg' dev_xprocs prc_stt dev_tnam prc_def {USE },Dev_use prc_def {LIST},Dev_list prc_end end
test.asm
alzwded/JakVMhs
0
46735
<reponame>alzwded/JakVMhs ; TODO CA and RT operations have changed behaviour; update these examples .data ; TODO store strings in unicode 16be :myVal 7 42, 1, 2, 3, 4, 5, 42 ; comment :oneWord 1 42 ; yeah :str 6 'hello', 0 ;huh? ; begin code .code ...
Practical Exam/P25.a51
pronoym99/Microcontrollers-and-Applications
1
46736
ORG 0000h MOV A,#45 ; MY ROLL NUMBER IN DECIMAL MOV B,#10 DIV AB ; DIVIDE BY TEN TO GET TEN'S DIGIT AND UNIT DIGIT ADD A,#48 ; ADD 48d TO GET ASCII VALUE MOV R0,A ; ASCII VALUE OF TEN'S DIGIT IN R0 MOV A,B ; COPY REMAINDER INTO A ADD A,#48 MOV R1,A ; ASCII VALUE OF UNIT DIGIT IN R1 END
Library/Math/Float/floatFormat.asm
steakknife/pcgeos
504
46737
<filename>Library/Math/Float/floatFormat.asm COMMENT @----------------------------------------------------------------------- Copyright (c) Geoworks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: floatFormat.asm AUTHOR: Cheng, 8/92 ROUTINES: Name Description ---- ----------- ...
programs/oeis/192/A192839.asm
neoneye/loda
22
46738
<reponame>neoneye/loda ; A192839: Molecular topological indices of the square graphs. ; 0,48,768,4320,15360,42000,96768,197568,368640,641520,1056000,1661088,2515968,3690960,5268480,7344000,10027008,13441968,17729280,23046240,29568000,37488528,47021568,58401600,71884800,87750000,106299648,127860768,152785920,181454160,2...
engine/graphics/common/font_64.asm
jpmorris33/ire
0
46739
<reponame>jpmorris33/ire ; ; AMD64-ABI Assembler versions of the font routines ; ; This will need modification to run in Windows ; because they rolled their own ABI ; [BITS 64] [SECTION .text] ; Declare public symbols GLOBAL _draw_bitfont_32asm GLOBAL draw_bitfont_32asm GLOBAL _draw_bitfont_16asm GLOBAL draw_bitfont...
8085/UGR/0x0B - LEDs.asm
CosasDePuma/Aesthetic-Programming
2
46740
<reponame>CosasDePuma/Aesthetic-Programming ; Locate code in this address .org E000h ; Set a LED patron MVI A,AAh ; Call the subrutines BUCLE: CALL LED CALL DELAY JMP BUCLE ; Locate subrutines in this address .org C0DEh ; Create LED subrutine LED: ; Switch the lights LEDs XRI FFh OUT 00h RET ; One seco...
Transynther/x86/_processed/US/_st_un_4k_sm_/i7-7700_9_0xca_notsx.log_21829_353.asm
ljhsiun2/medusa
9
46741
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1d34a, %rsi lea addresses_normal_ht+0x9086, %rdi clflush (%rsi) nop nop nop nop nop xor %r15, %r15 mov $96, %rcx rep movsl nop nop nop inc %r14 lea addresses_D_ht+0x1396e, %...
Miscellaneous/Chip16-Emulator/roms/Sources/Reflection/Reflection.asm
ghivert/Student-Projects
2
46742
<filename>Miscellaneous/Chip16-Emulator/roms/Sources/Reflection/Reflection.asm<gh_stars>1-10 ;Reflection for Chip16 ;Shendo, May 2011 ; ;r0 - Selector X coordinate ;r1 - Selector Y coordinate ;r2 - Unused ;r3 - Unused ;r4 - Current level ;r5 - Unused ;r6 - Unused ;r7 - Unused ;r8 - Pressed pad flag (0 - free...
AVR/minimum_maximum.asm
StxGuy/EmbeddedSystems
0
46743
<reponame>StxGuy/EmbeddedSystems .device ATmega328 .org 0x00 ; Program starts at 0x00 rjmp INICIO ; Find the bigger and smaller INICIO: nop ldi R16,0xA5 ldi R17,0x3E cp R16,R17 brlt B16 rjmp B17 LOOP: jmp LOOP B16: ldi R16,0x01 ; R16 < R17 rjm...
oeis/080/A080876.asm
neoneye/loda-programs
11
46744
<filename>oeis/080/A080876.asm ; A080876: a(n)*a(n+3) - a(n+1)*a(n+2) = 2^n, given a(0) = 1, a(1) = 1, and a(2) = 1. ; Submitted by <NAME> ; 1,1,1,2,4,12,28,88,208,656,1552,4896,11584,36544,86464,272768,645376,2035968,4817152,15196672,35955712,113429504,268377088,846649344,2003193856,6319476736,14952042496,47169216512,...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1021.asm
ljhsiun2/medusa
9
46745
<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1021.asm .global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %rbp push %rbx push %rcx push %rdx push %rsi lea addresses_normal_ht+0x11c57, %rsi nop nop nop nop nop sub $16418, %r14 mov $0x6162636465666768, %rbx movq %rbx, %xm...
programs/oeis/166/A166375.asm
neoneye/loda
22
46746
<reponame>neoneye/loda ; A166375: a(n) = sum (floor (j^2/n)) taken over 1 <= j <= n-1. ; 0,1,3,4,7,11,16,20,24,31,39,44,53,63,74,80,92,103,117,128,141,157,174,186,200,219,237,252,273,293,316,332,352,377,403,420,445,473,500,520,548,575,607,634,663,695,730,756,786,819,853,884,921,959,998,1028,1064,1105,1149,1180,1223,126...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_75_1488.asm
ljhsiun2/medusa
9
46748
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_75_1488.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1cd19, %rsi lea addresses_WT_ht+0x15799, %rdi nop nop nop nop nop cmp $33521, %rbx mov $1...
src/musicvolumes.asm
tewtal/lttphack
28
46749
<reponame>tewtal/lttphack ; All of this work was made by Myramong. I simply copied the file from https://github.com/mmxbass/z3randomizer/blob/master/musicvolumes.asm. ; ; All addresses in this file that are marked with a "." have been tested on their own and verified to be correct. ; Addresses that are commented out ar...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_88_1444.asm
ljhsiun2/medusa
9
46750
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r9 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1c85c, %rsi lea addresses_A_ht+0x1509c, %rdi nop nop mfence mov $12, %rcx rep movsb sub $21920, %r9 lea addresses_normal_ht+0x1d85c, %rsi nop nop and %r13, %r13 vmovups (%rsi), %ymm6 v...
programs/oeis/048/A048739.asm
neoneye/loda
22
46752
<reponame>neoneye/loda ; A048739: Expansion of 1/((1 - x)*(1 - 2*x - x^2)). ; 1,3,8,20,49,119,288,696,1681,4059,9800,23660,57121,137903,332928,803760,1940449,4684659,11309768,27304196,65918161,159140519,384199200,927538920,2239277041,5406093003,13051463048,31509019100,76069501249,183648021599,443365544448,1070379110496...
oeis/201/A201818.asm
neoneye/loda-programs
11
46753
<reponame>neoneye/loda-programs ; A201818: Numbers k such that 90*k + 49 is prime. ; Submitted by <NAME> ; 1,2,4,5,8,9,11,12,15,16,17,18,19,22,26,29,30,33,34,38,39,41,43,45,50,51,52,54,55,57,60,67,72,73,74,78,79,85,86,87,89,92,93,95,96,97,100,103,107,108,109,110,111,115,121,123,125,131,134,136,137,141,142,143,144,145,1...
src/WIN32/_8087.asm
masscry/dmc
86
46754
<reponame>masscry/dmc ;_ _8087.asm Modified by: <NAME> */ ; Copyright (C) 1991-2002 by Digital Mars ; All rights reserved. ; www.digitalmars.com ; Written by <NAME> ; 8087 detection and initialization code for 32-bit OS/2 and NT ; This code is linked in if _8087 is referenced. .386 ;disable automatic FWA...
08_SUM_ARRAY.asm
aleattene/lc2-exams
0
46755
; ************ DESCRIZIONE SOTTOPROGRAMMA ************ Il seguente sottoprogramma denominato SUM_ARRAY riceve: - nei registri R0 e R1 gli indirizzi delle prime celle di due array di interi (cioè di due zone di memoria contenenti due sequenze di numeri a 16 bit in complemento a due); le sequenze hanno uguale lunghezz...
programs/oeis/246/A246697.asm
jmorken/loda
1
46757
; A246697: Row sums of the triangular array A246696. ; 1,5,16,34,67,111,178,260,373,505,676,870,1111,1379,1702,2056,2473,2925,3448,4010,4651,5335,6106,6924,7837,8801,9868,10990,12223,13515,14926,16400,18001,19669,21472,23346,25363,27455,29698,32020,34501,37065,39796 mov $12,$0 mov $14,$0 add $14,1 lpb $14 clr $0,12 ...
oeis/314/A314954.asm
neoneye/loda-programs
11
46758
; A314954: Coordination sequence Gal.4.77.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; Submitted by <NAME> ; 1,5,9,14,20,25,29,34,39,43,48,54,59,63,68,73,77,82,88,93,97,102,107,111,116,122,127,131,136,141,145,150,156,161,165,170...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca.log_21829_1213.asm
ljhsiun2/medusa
9
46760
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x10a4e, %rsi lea addresses_UC_ht+0xe106, %rdi nop nop nop nop nop dec %r13 mov $123, %rcx rep movsl nop nop add $40733, %rbp lea addresses_UC_ht+0x1714e, %rdx nop nop nop nop...
picoctf/EasyRsa/gmp-ecm/build.vc12/assembler/a_win32p_mulredc.asm
beninato8/ctfs
0
46761
<filename>picoctf/EasyRsa/gmp-ecm/build.vc12/assembler/a_win32p_mulredc.asm ; Part of GMP-ECM ; ; mp_limb_t mulredc1( 1 limb ; mp_limb_t *z, ; const mp_limb_t x, ; const mp_limb_t y, ; const mp_limb_t m, ; mp_limb_t inv_m ; ) ; ; mp_limb_t mulredc<limbs>( ...
Transynther/x86/_processed/NC/_st_zr_un_sm_/i7-7700_9_0xca_notsx.log_21829_223.asm
ljhsiun2/medusa
9
46762
<filename>Transynther/x86/_processed/NC/_st_zr_un_sm_/i7-7700_9_0xca_notsx.log_21829_223.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1e6a2, %rax nop nop nop nop nop xor $14462, %rdx mov $0x6162636465666768, %r11 mo...
programs/oeis/279/A279561.asm
jmorken/loda
1
46763
; A279561: Number of length n inversion sequences avoiding the patterns 101, 102, 201, and 210. ; 1,1,2,6,21,77,287,1079,4082,15522,59280,227240,873886,3370030,13027730,50469890,195892565,761615285,2965576715,11563073315,45141073925,176423482325,690215089745,2702831489825,10593202603775,41550902139551,163099562175851 ...
extra1.asm
iTooly/asm_ex
0
46764
; ««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««««« .486 ; create 32 bit code .model flat, stdcall ; 32 bit memory model option casemap :none ; case sensitive include \masm32\include\windows.inc include \masm32\macros\macros.asm ; ---------------...
fasmg/examples/x86/mandel.asm
thaolt/c8basic
4
46765
; Mandelbrot Set - fasm example program include '80186.inc' include '8087.inc' org 100h mov ax,13h ; MCGA/VGA int 10h push 0A000h pop es mov dx,3C8h xor al,al out dx,al inc dl mov cx,64 vga_palette: out dx,al out dx,al out dx,al inc al loop vga_palette xor di,di xo...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_168.asm
ljhsiun2/medusa
9
46766
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1496e, %rsi lea addresses_UC_ht+0xa36e, %rdi nop and %r9, %r9 mov $115, %rcx rep movsb nop inc %r10 lea addresses_WT_ht+0x2d9e, %r14 xor $40737, %r11 mov $0x6162636465666768,...
Chapter02/FASM/fasm1lin.asm
PacktPublishing/Mastering-Assembly-Programming
34
46767
<reponame>PacktPublishing/Mastering-Assembly-Programming format ELF executable 3 entry _start segment readable executable _start: mov eax, 4 mov ebx, 1 mov ecx, message mov edx, len int 0x80 xor ebx, ebx mov eax, ebx inc eax int 0x80 segment readable writeable ...
programs/oeis/003/A003522.asm
neoneye/loda
22
46768
; A003522: a(n) = Sum_{k=0..n} C(n-k,3k). ; 1,1,1,1,2,5,11,21,37,64,113,205,377,693,1266,2301,4175,7581,13785,25088,45665,83097,151169,274969,500162,909845,1655187,3011157,5477917,9965312,18128529,32978725,59993817,109139117,198543154,361184653,657057431,1195300605,2174457329,3955712256,7196122817,13090989617,238147699...
programs/oeis/280/A280658.asm
neoneye/loda
22
46769
<reponame>neoneye/loda<gh_stars>10-100 ; A280658: Numbers ending with their digital root in decimal representation. ; 0,1,2,3,4,5,6,7,8,9,91,92,93,94,95,96,97,98,99,181,182,183,184,185,186,187,188,189,271,272,273,274,275,276,277,278,279,361,362,363,364,365,366,367,368,369,451,452,453,454,455,456,457,458,459,541,542,543...
unittests/ASM/TwoByte/0F_B0_11.asm
cobalt2727/FEX
628
46770
%ifdef CONFIG { "RegData": { "R15": "0x4142434445466148", "R14": "0x4142434445466100", "R13": "0x4142434445466148", "R12": "0x4142434445460000", "R11": "0x4142434445466148", "R10": "0x0000000000000000", "R9": "0x4142434445466148", "R8": "0x0000000000000000" } } %endif ; 8bit mov r...
engine/events/whiteout.asm
Ebernacher90/pokecrystal-allworld
0
46771
Script_BattleWhiteout:: callasm BattleBGMap sjump Script_Whiteout Script_OverworldWhiteout:: refreshscreen callasm OverworldBGMap Script_Whiteout: checkflag ENGINE_BUG_CONTEST_TIMER iftrue .bug_contest callasm LoseWhiteOutMoney iffalse .plain_whiteout_text callasm CheckWildBattlePanic iffalse .wild_whiteout...
oeis/199/A199933.asm
neoneye/loda-programs
11
46773
<filename>oeis/199/A199933.asm ; A199933: Trisection 0 of A199744. ; Submitted by <NAME> ; 1,1,-4,0,20,-25,-71,216,94,-1220,1037,4941,-11440,-11008,72112,-33453,-326675,577060,950750,-4129272,279257,20740793,-27217100,-72078336,228625372,83808415,-1271796511,1153458144,5060707454,-12183603100,-10694679515,75519944325,-...
programs/oeis/319/A319702.asm
neoneye/loda
22
46774
; A319702: Filter sequence for sequences that are constant for all even terms >= 2. ; 1,2,3,2,4,2,5,2,6,2,7,2,8,2,9,2,10,2,11,2,12,2,13,2,14,2,15,2,16,2,17,2,18,2,19,2,20,2,21,2,22,2,23,2,24,2,25,2,26,2,27,2,28,2,29,2,30,2,31,2,32,2,33,2,34,2,35,2,36,2,37,2,38,2,39,2,40,2,41,2,42,2,43,2,44,2,45,2,46,2,47,2,48,2,49,2,50...
0.1.asm
Jon2G/ASMCalculator
0
46775
pila segment para stack 'stack' db 100 dup(0) pila ends datos segment para 'data' mensaje db "Hola",07,13,10,"$" ; pixfila_a dw 80 pixcol_a dw 140 ; datos ends codigo segment para 'code' assume cs:codigo,ds:datos,ss:pila begin proc FAR mov ax,datos mov ds,ax ...
oeis/016/A016003.asm
neoneye/loda-programs
11
46776
; A016003: a(n) = (tau(n^8)+7)/8. ; Submitted by Jon Maiga ; 1,2,2,3,2,11,2,4,3,11,2,20,2,11,11,5,2,20,2,20,11,11,2,29,3,11,4,20,2,92,2,6,11,11,11,37,2,11,11,29,2,92,2,20,20,11,2,38,3,20,11,20,2,29,11,29,11,11,2,173,2,11,20,7,11,92,2,20,11,92,2,54,2,11,20,20,11,92,2,38,5,11,2,173,11,11,11,29,2,173,11,20,11,11,11,47,2,2...
Library/Math/Float/floatFixed.asm
steakknife/pcgeos
504
46777
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: floatFixed.asm AUTHOR: <NAME>, Jul 10, 1991 ROUTINES: Name Description ---- ----------- GLBL FloatPushNumberFar Push a number on th...
oeis/021/A021213.asm
neoneye/loda-programs
11
46778
; A021213: Decimal expansion of 1/209. ; Submitted by <NAME>iga ; 0,0,4,7,8,4,6,8,8,9,9,5,2,1,5,3,1,1,0,0,4,7,8,4,6,8,8,9,9,5,2,1,5,3,1,1,0,0,4,7,8,4,6,8,8,9,9,5,2,1,5,3,1,1,0,0,4,7,8,4,6,8,8,9,9,5,2,1,5,3,1,1,0,0,4,7,8,4,6,8,8,9,9,5,2,1,5,3,1,1,0,0,4,7,8,4,6,8,8 add $0,1 mov $3,1 lpb $0 sub $0,1 add $2,$3 div $...
programs/oeis/166/A166624.asm
neoneye/loda
22
46780
<filename>programs/oeis/166/A166624.asm ; A166624: Totally multiplicative sequence with a(p) = 3p for prime p. ; 1,6,9,36,15,54,21,216,81,90,33,324,39,126,135,1296,51,486,57,540,189,198,69,1944,225,234,729,756,87,810,93,7776,297,306,315,2916,111,342,351,3240,123,1134,129,1188,1215,414,141,11664,441,1350,459,1404,159,43...
programs/oeis/155/A155212.asm
karttu/loda
1
46781
<gh_stars>1-10 ; A155212: a(n) = (n^2 + 9*n + 4)/2. ; 2,7,13,20,28,37,47,58,70,83,97,112,128,145,163,182,202,223,245,268,292,317,343,370,398,427,457,488,520,553,587,622,658,695,733,772,812,853,895,938,982,1027,1073,1120,1168,1217,1267,1318,1370,1423,1477,1532,1588,1645,1703,1762,1822,1883,1945,2008,2072,2137,2203,2270,...
tests/programs/Mult.asm
epostIt/Assembler
68
46782
<gh_stars>10-100 // Multiplies the numbers stored in registers R0 and R1 and stores the result in register R2. // (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.) @2 M=0 // Init R2, R2 = 0. @i M=0 // Init i, i=0. (LOOP) @i D=M // D=i @0 D=D-M // D=i-R0 ...
Sim/test_itoa.asm
ericsims/16B
0
46783
<reponame>ericsims/16B #include "CPU.asm" #bank ram test_counter: #res 1 #bank rom top: sti 0, test_counter loop: lda test_counter sta uitoa_b.input_byte cal uitoa_b lda uitoa_b.buffer+0 sta UART lda uitoa_b.buffer+1 sta UART lda uitoa_b.buffer+2 sta UART lda uitoa_b.buf...
tests/test3.asm
pdemian/Assembler
6
46784
<filename>tests/test3.asm .lang "x86" .file "test.cf" .subsystem "CUI" .include "msvcrt" .include "kernel32" .data String1 = "Type in your first name: " String2 = "Your name is %d characters in length." .text main: push ebp mov ebp, esp sub esp, 272 ;print Type in your first name push...
programs/oeis/096/A096268.asm
karttu/loda
1
46785
<filename>programs/oeis/096/A096268.asm ; A096268: Period-doubling sequence (or period-doubling word): fixed point of the morphism 0 -> 01, 1 -> 00. ; 0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0,1,0,1,0,1,0,0,0,1,0,0,0,1,0,0,0...
deprecated/disk_sector.asm
ToraNova/TingOS
0
46786
<filename>deprecated/disk_sector.asm ; ----------------------------------------- ; Boot sector ; TingOS Hobbyist Kernel ; MAIN DISK SECTOR CODE ; ; <EMAIL> ; ----------------------------------------- ; ------------------------------------------------------------------ ; Beginning of disk sector ( Sector 2 ) (on CODE_S...
pwnlib/shellcraft/templates/aarch64/linux/open.asm
cclauss/pwntools
7
46787
<filename>pwnlib/shellcraft/templates/aarch64/linux/open.asm <% from pwnlib import shellcraft %> <%page args="filename, mode='O_RDONLY'"/> <%docstring> Opens a file </%docstring> <% AT_FDCWD=-100 %> ${shellcraft.pushstr(filename)} ${shellcraft.syscall('SYS_openat', AT_FDCWD, 'sp', mode, 0)}
tetris_os/boot/pre32_functions/print_hex.asm
vladcc/Tetris-OS
20
46788
<reponame>vladcc/Tetris-OS ; prints a byte as a hex value ; used for debugging, not included in the final bootsector [bits 16] ; force 16 bit code for real mode print_hex: ; ax - value to print ; save registers push ax push bx mov bx, ax ; copy the requested value push bx ; save it shr bx, 4 ; get higher...
oeis/291/A291383.asm
neoneye/loda-programs
11
46790
<filename>oeis/291/A291383.asm ; A291383: p-INVERT of (1,1,0,0,0,0,...), where p(S) = 1 - 2 S - 2 S^2. ; Submitted by <NAME> ; 2,8,28,98,344,1208,4240,14884,52248,183408,643824,2260040,7933504,27849280,97760384,343171984,1204649632,4228727296,14844261824,52108375328,182918006400,642104016000,2254002082560,7912309005376...
audio/sfx/battle_13.asm
AmateurPanda92/pokemon-rby-dx
9
46791
<reponame>AmateurPanda92/pokemon-rby-dx<gh_stars>1-10 SFX_Battle_13_Ch7: noisenote 8, 4, -7, 51 noisenote 4, 12, 4, 34 noisenote 6, 15, 2, 35 noisenote 15, 15, 2, 34 endchannel
cards/bn4/ModCards/134-E015 TripleSupporter 22 (0C).asm
RockmanEXEZone/MMBN-Mod-Card-Kit
10
46792
.include "defaults_mod.asm" table_file_jp equ "exe4-utf8.tbl" table_file_en equ "bn4-utf8.tbl" game_code_len equ 3 game_code equ 0x4234574A // B4WJ game_code_2 equ 0x42345745 // B4WE game_code_3 equ 0x42345750 // B4WP card_type equ 1 card_id equ 75 card_no equ "075" card_sub equ "Mod Card 075" card_sub_x ...
learn-assembly/asm101/asm101-13.asm
hailehong95/Practice-Coding
0
46793
; asm101-13: Tich hai 2 so Oct, Hien thi dang Hex ; So Oct = He co so 8 .model small .stack 100h .data num1 db 'Number 1 = $' num2 db 13,10,'Number 2 = $' num3 db 13,10,'Ket qua = $' .code main proc ; Khoi tao thanh ghi ds mov ax, @data mov ds, ax ; Hien thi thong bao nhap so thu nh...
programs/oeis/184/A184529.asm
karttu/loda
1
46794
; A184529: Upper s-Wythoff sequence, where s=5n-3. Complement of A184528. ; 3,9,16,22,28,34,40,47,53,59,65,71,77,84,90,96,102,108,115,121,127,133,139,146,152,158,164,170,177,183,189,195,201,208,214,220,226,232,238,245,251,257,263,269,276,282,288,294,300,307,313,319,325,331,338 mov $2,$0 add $0,22 mul $0,10 add $0,23 ...
xy-VSFilter/src/thirdparty/VirtualDub/Kasumi/source/a_stretchrgb_point.asm
wurui1994/AviSynth
1
46795
segment .text struc scaleinfo .dst resd 1 .src resd 1 .xaccum resd 1 .xfracinc resd 1 .xintinc resd 1 .count resd 1 endstruc global _vdasm_resize_point32 _vdasm_resize_point32: push ebp push edi push esi push ebx mov eax, [esp+4+16] mov ebx, [eax+scaleinfo.xaccum] mo...
test/utest_difficulties.asm
Fabian-Schneider01/Virtual-Piano
1
46796
<reponame>Fabian-Schneider01/Virtual-Piano<filename>test/utest_difficulties.asm #testing correct selection of a song depending on difficulty #loading the songs and testing if there are values equal zero or not in range (not between 60 - 71) .text test_difficulty: li t2, 0 j test_easy test_easy: #amount of value...
Opus/asm/disptbln.asm
Computer-history-Museum/MS-Word-for-Windows-v1.1
2
46797
include w2.inc include noxport.inc include consts.inc include structs.inc createSeg disptbl_PCODE,disptbln,byte,public,CODE ; DEBUGGING DECLARATIONS ifdef DEBUG midDisptbln equ 25 ; module ID, for native asserts NatPause equ 1 endif ifdef NatPause PAUSE MACRO int 3 ENDM else PAUSE...
unittests/ASM/TwoByte/0F_A5_4.asm
cobalt2727/FEX
628
46798
%ifdef CONFIG { "RegData": { "r10": "1", "RBX": "1", "RDX": "1", "RSI": "1", "RBP": "1", "RSP": "0", "R8": "0", "r9": "0" } } %endif mov cl, 1 mov r15, -1 mov r14, 0xFFFFFFFFFFFF4000 mov r13, 0xFFFFFFFF40000000 mov r12, 0x4000000000000000 mov r10, 0 mov rbx, 0 mov rdx, 0 mov rsi...
2001-spring/mp3/mp3.asm
ece291/machine-problems
3
46799
; MP3 - Typing-Tutor 291 ; Your Name ; Today's Date ; ; <NAME>, Spring 2001 ; Authors: <NAME>, <NAME> ; University of Illinois, Urbana-Champaign ; Dept. of Electrical and Computer Engineering ; ; Version 1.0 BITS 16 ;====== SECTION 1: Define constants ======================================= CR EQU ...
yasm-1.3.0/modules/arch/x86/tests/lzcnt.asm
xu5343/ffmpegtoolkit_CentOS7
2,151
46800
[bits 64] lzcnt ax, bx ; 66 f3 0f bd c3 lzcnt ax, [0] ; 66 f3 0f bd 04 25 00 00 00 00 lzcnt eax, ebx ; f3 0f bd c3 lzcnt eax, [0] ; f3 0f bd 04 25 00 00 00 00 lzcnt rax, rbx ; f3 48 0f bd c3 lzcnt rax, [0] ; f3 48 0f bd 04 25 00 00 00 00
libsrc/target/trs80/grafyx/clsgraph.asm
ahjelm/z88dk
640
46801
; ; Micro-Labs Grafyx Solution Hi-Rez graphics routines for TRS-80 ; ; <NAME> 2021 ; SECTION code_clib PUBLIC clsgraph PUBLIC _clsgraph PUBLIC clg PUBLIC _clg INCLUDE "graphics/grafix.inc" .clsgraph ._clsgraph .clg ._clg ld a,255 out (131),a ; enable graphics page ld hl,maxx ...
src/Question 8/Question A/Main.asm
xTVaser/x86-assembly-sample-code
0
46802
<reponame>xTVaser/x86-assembly-sample-code ;<NAME> ;DESKTOP-EVD5HKS ;8/8/2016 10:43:22 AM ;Question_A ;Write a sequence of instructions that shift three memory bytes to the right by 1 bit position. ;Use the following test data: INCLUDE Irvine32.inc .data byteArray BYTE 81h,20h,33h turnsInto BYTE "...
oeis/261/A261056.asm
neoneye/loda-programs
11
46803
<reponame>neoneye/loda-programs ; A261056: Expansion of ( 2-x^2 ) / (x^2+2*x-1)^2 . ; Submitted by <NAME> ; 2,8,27,84,248,708,1973,5400,14574,38896,102863,269964,703972,1825612,4711785,12110064,31010266,79148184,201420163,511233156,1294489296,3270662036,8247316765,20758752648,52163239622,130875524096,327893289783,8204...
oeis/173/A173019.asm
neoneye/loda-programs
11
46804
; A173019: a(n) is the value of row n in triangle A083093 seen as ternary number. ; Submitted by <NAME> ; 1,4,16,28,112,448,784,3136,12301,19684,78736,314944,551152,2204608,8818432,15432256,61729024,242132884,387459856,1549839424,6199180549,10848875968,43395503872,173577055372,303766932781,1215067731124,4765998428116,7...
SCS3211/Excercises/17000912.asm
UdeshUK/UCSC-CS
6
46805
<filename>SCS3211/Excercises/17000912.asm .text li $v0,5 syscall move $t0,$v0 sw $t0,X li $v0,5 syscall move $t1,$v0 sw $t1,Y add $a0,$t0,$t1 li $v0,1 syscall li $v0,10 syscall .data X: .space 4 Y: .space 4
oeis/005/A005985.asm
neoneye/loda-programs
11
46806
<reponame>neoneye/loda-programs ; A005985: Length of longest trail (i.e., path with all distinct edges) on the edges of an n-cube. ; 0,1,4,9,32,65,192,385,1024,2049,5120,10241,24576,49153,114688,229377,524288,1048577,2359296,4718593,10485760,20971521,46137344,92274689,201326592,402653185,872415232,1744830465,3758096384...
ugbc/src/hw/ted/put_image.asm
spotlessmind1975/ugbasic
10
46807
; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021-2022 <NAME> (<EMAIL>) ; * ; * Licensed under the Apache...
Assembler/test cases/BranchPrediction.asm
MuhanadAtef/32-bit-risc-pipelined-processor
0
46808
<reponame>MuhanadAtef/32-bit-risc-pipelined-processor<filename>Assembler/test cases/BranchPrediction.asm # all numbers in hex format # we always start by reset signal #this is a commented line .ORG 0 #this means the the following line would be at address 0 , and this is the reset address 10 #you should ignore empty ...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1069.asm
ljhsiun2/medusa
9
46809
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0xe447, %rdi nop add %rax, %rax mov (%rdi), %r13w nop nop xor $64250, %r15 lea addresses_WT_ht+0x161c7, %rsi lea addresses_normal_ht+0x8997, %rdi nop add $18518, %r12 mov $23,...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1984.asm
ljhsiun2/medusa
9
46810
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_D_ht+0x143fd, %rsi lea addresses_WC_ht+0x13f7d, %rdi nop nop sub %r12, %r12 mov $46, %rcx rep movsq nop nop nop nop mfence lea addresses_D_ht+0x14389, %r8 nop nop nop nop sub $29946, %rsi vmovu...
basic/src/commands/miscellany.asm
paulscottrobson/eris
13
46812
; ***************************************************************************** ; ***************************************************************************** ; ; Name: miscellany.asm ; Purpose: Miscellaneous Commands ; Created: 3rd March 2020 ; Reviewed: 16th March 2020 ; Author: <NAME> (<EMAIL>) ; ; ********...
oeis/049/A049873.asm
neoneye/loda-programs
11
46813
<filename>oeis/049/A049873.asm ; A049873: a(n)=Sum{a(k): k=0,1,2,...,n-4,n-2,n-1}; a(n-3) is not a summand; 3 initial terms required. ; Submitted by <NAME> ; 2,2,3,5,10,19,36,67,125,233,435,812,1516,2830,5283,9862,18410,34367,64155,119762,223567,417346,779085,1454365,2714951,5068163,9461046,17661506,32969800,61546717,1...
home/copy_tilemap.asm
Dev727/ancientplatinum
28
46814
<filename>home/copy_tilemap.asm LoadTileMapToTempTileMap:: ; Load wTileMap into wTempTileMap ldh a, [rSVBK] push af ld a, BANK(wTempTileMap) ldh [rSVBK], a hlcoord 0, 0 decoord 0, 0, wTempTileMap ld bc, wTileMapEnd - wTileMap call CopyBytes pop af ldh [rSVBK], a ret Call_LoadTempTileMapToTileMap:: xor a l...
programs/oeis/186/A186646.asm
karttu/loda
1
46817
; A186646: Every fourth term of the sequence of natural numbers 1,2,3,4,... is halved. ; 1,2,3,2,5,6,7,4,9,10,11,6,13,14,15,8,17,18,19,10,21,22,23,12,25,26,27,14,29,30,31,16,33,34,35,18,37,38,39,20,41,42,43,22,45,46,47,24,49,50,51,26,53,54,55,28,57,58,59,30,61,62,63,32,65,66,67,34,69,70,71,36,73,74,75,38,77,78,79,40,81...
programs/oeis/078/A078809.asm
neoneye/loda
22
46818
<gh_stars>10-100 ; A078809: Number of divisors of the average of consecutive odd primes. ; 3,4,3,6,4,6,4,4,8,4,4,8,6,6,8,12,7,4,12,6,5,4,4,6,8,8,12,4,16,4,4,8,15,12,8,12,8,8,10,18,8,14,8,12,4,4,9,12,8,6,20,8,4,12,8,16,4,6,8,18,18,4,16,12,15,4,12,12,8,6,6,8,8,4,4,4,8,10,12,24,8,20,6,9,4,4,8,16,8,4,8,4 seq $0,24675 ; Av...
msx/apps/libraries/msxdos/msxdos_set_date.asm
zoggins/yellow-msx-series-for-rc2014
19
46819
include "msxdos.inc" ; extern uint8_t msxdosSetDate(uint16_t year, uint8_t month, uint8_t date); PUBLIC _msxdosSetDate _msxdosSetDate: PUSH IX LD IX, 0 ADD IX, SP LD L, (IX+4) ; YEAR LD H, (IX+5) LD D, (IX+6) ; MONTH LD E, (IX+7) ; DATE ld c, $2B CALL BDOS LD L, A POP IX RET
oeis/082/A082033.asm
neoneye/loda-programs
11
46822
; A082033: a(n) = (3n+1)*n!. ; Submitted by <NAME>(s1.) ; 1,4,14,60,312,1920,13680,110880,1008000,10160640,112492800,1357171200,17723059200,249080832000,3748666521600,60153020928000,1025216704512000,18495746260992000,352130553815040000,7055415823712256000,148407022498775040000,3269820298989404160000,7530804876109971456...
programs/oeis/138/A138404.asm
neoneye/loda
22
46824
; A138404: a(n) = prime(n)^5 - prime(n). ; 30,240,3120,16800,161040,371280,1419840,2476080,6436320,20511120,28629120,69343920,115856160,147008400,229344960,418195440,714924240,844596240,1350125040,1804229280,2073071520,3077056320,3939040560,5584059360,8587340160,10510100400,11592740640,14025517200,15386239440,184243516...
lab_07/lab_07_02.asm
MrLIVB/BMSTU_MDPL
0
46825
<gh_stars>0 .686 .MODEL FLAT, C .STACK .CODE my_copy PROC src:DWORD, dst:DWORD, l:DWORD mov esi, src mov edi, dst mov ecx, l cmp esi, edi ja dst_lower je endf dst_higher: std add esi, ecx add edi, ecx rep movsb mov cl, [esi] mov byte ptr [edi], cl cld jmp endf dst_lower: cld rep movsb mov byte ptr...
test64_1.asm
joncampbell123/minx86dec
19
46826
<reponame>joncampbell123/minx86dec<filename>test64_1.asm<gh_stars>10-100 ; x86-64 test assembly language bits 64 mov rax,[rsi] mov [rsi],rax mov rax,[es:rdi] mov [es:rdi],rax mov rax,[rdi] mov [rdi],rax mov cr0,rax mov rax,cr0 mov cr1,rax mov rax,cr1 mov cr8,rax mov rax,cr8 mov cr15,rax mov ...
target/cos_117/disasm/iop_overlay1/CDEM.asm
jrrk2/cray-sim
49
46827
<filename>target/cos_117/disasm/iop_overlay1/CDEM.asm<gh_stars>10-100 0x0000 (0x000000) 0x0400- f:00002 d: 0 | I = 0 0x0001 (0x000002) 0x0000- f:00000 d: 0 | PASS 0x0002 (0x000004) 0x2082- f:00020 d: 130 | A = OR[130] 0x0003 (0x...
oeis/288/A288953.asm
neoneye/loda-programs
11
46828
; A288953: Number of relaxed compacted binary trees of right height at most one with minimal sequences between branch nodes except after the last branch node on level 0. ; Submitted by <NAME> ; 1,1,3,10,51,280,1995,15120,138075,1330560,14812875,172972800,2271359475,31135104000,471038042475,7410154752000,126906349444875...
oeis/102/A102769.asm
neoneye/loda-programs
11
46829
<reponame>neoneye/loda-programs ; A102769: Decimal expansion of the volume of a dodecahedron with each edge of unit length. ; Submitted by <NAME>(s3) ; 7,6,6,3,1,1,8,9,6,0,6,2,4,6,3,1,9,6,8,7,1,6,0,5,3,9,2,0,2,7,9,7,3,3,4,1,2,0,2,1,0,8,2,1,2,9,3,2,0,1,7,0,0,1,7,4,7,4,0,7,0,1,7,9,4,6,8,4,1,1,6,1,9,8,6,6,1,5,8,5,7,3,9,7,...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_1574.asm
ljhsiun2/medusa
9
46831
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0xf3d5, %rsi lea addresses_normal_ht+0xb4ed, %rdi nop nop nop and $41888, %r12 mov $24, %rcx rep movsq nop nop nop nop nop dec %rdi lea addresses_A_ht+0x108ad, %r13 add $24297, %rax movb $0x61, (...
Engine/Core/ZXNext/byte2str.asm
drunkfly/gamemyx
4
46832
; ; Copyright (c) 2021 DrunkFly Team ; Licensed under 3-clause BSD license ; PUBLIC _MYX_ByteToString EXTERN ___sdcc_enter_ix SECTION MYX_CORE _MYX_ByteToString: call ___sdcc_enter_ix ld l, (ix+4) ; HL <- buffer ld...
oeis/120/A120136.asm
neoneye/loda-programs
11
46833
; A120136: a(1)=7; a(n)=floor((14+sum(a(1) to a(n-1)))/2). ; 7,10,15,23,34,51,77,115,173,259,389,583,875,1312,1968,2952,4428,6642,9963,14945,22417,33626,50439,75658,113487,170231,255346,383019,574529,861793,1292690,1939035,2908552,4362828,6544242,9816363,14724545,22086817,33130226,49695339,74543008,111814512,167721768,...
assembly/mips/sumAll.asm
tsainez/examples
1
46834
<reponame>tsainez/examples # # sumAll.asm # # # Created by <NAME> on 3/30/20. # .data enter: .asciiz "Enter integer (0 to end): " positivePrompt: .asciiz "The sum of the positive integers is: " negativePrompt: .asciiz "\nThe sum of the negative integers is: " .text li $s0, 0 # pos li $s1, 0 # neg loop: li...
oeis/309/A309557.asm
neoneye/loda-programs
11
46837
; A309557: Number triangle with T(n,k) = 2 + 3*n - 2*k + 2*k*(n-k) for n >= 0, 0 <= k <= n. ; Submitted by <NAME>(s4) ; 2,5,3,8,8,4,11,13,11,5,14,18,18,14,6,17,23,25,23,17,7,20,28,32,32,28,20,8,23,33,39,41,39,33,23,9,26,38,46,50,50,46,38,26,10,29,43,53,59,61,59,53,43,29,11,32,48,60,68,72,72,68,60,48,32,12,35,53,67,77,8...
MushDome/Sputnik/code.asm
MilesArtemius/OS
3
46839
<gh_stars>1-10 main: push ebp mov ebp, esp pusha push 0 push 15 push 'U' push 1 push ebp mov ebp, esp int 48 mov esp, ebp pop ebp popa mov eax, 0 mov esp, ebp pop ebp ret
hidecpu2/src/test/resources/opcode_branch.asm
mmastrac/oblivious-cpu
14
46842
cmp r0, 1 blt lt halt lt: mov r0, 200 cmp r0, 10 bgt gt halt gt: mov r0, 99 mov [out], r0 .data out: data 0
Driver/Printer/DotMatrix/CanonBJC/canonBJCManager.asm
steakknife/pcgeos
504
46843
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GlobalPC 1999 -- All Rights Reserved PROJECT: PC GEOS MODULE: Canon BJC Printer Driver FILE: canonBJCManager.asm AUTHOR: <NAME>, Jan 8, 1999 REVISION HISTORY: Name Date Description ---- ---- ----------- ...
programs/oeis/184/A184535.asm
karttu/loda
0
46845
<filename>programs/oeis/184/A184535.asm ; A184535: a(n) = floor(3/5 * n^2), with a(1)=1. ; 1,2,5,9,15,21,29,38,48,60,72,86,101,117,135,153,173,194,216,240,264,290,317,345,375,405,437,470,504,540,576,614,653,693,735,777,821,866,912,960,1008,1058,1109,1161,1215,1269,1325,1382,1440,1500,1560,1622,1685,1749,1815,1881,1949,...
libsrc/_DEVELOPMENT/math/float/math16/z80/asm_f16_ceil.asm
Frodevan/z88dk
0
46846
SECTION code_fp_math16 EXTERN asm_f24_f16 EXTERN asm_u16_f24 EXTERN asm_f24_u16 EXTERN asm_f24_i16 EXTERN asm_f24_add_callee EXTERN asm_f16_f24 PUBLIC asm_f16_ceil ; half f16_ceil( half ) __z88dk_fastcall; ; Entry: hl = floating point number .asm_f16_ceil call asm_f24_f16 bit 7,e ...