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
jm-power/main.asm
KittenBot/jacdac-padauk
4
54860
.CHIP PMS150C // Give package map to writer pcount VDD PA0 PA3 PA4 PA5 PA6 PA7 GND SHORTC_MSK1 SHORTC_MASK1 SHIFT .writer package 8, 1, 7, 5, 6, 4, 3, 2, 8, 0x000D, 0x000D, 4 //{{PADAUK_CODE_OPTION .Code_Option Security Disable .Code_Option Bootup_Time Fast .Code_Option D...
programs/oeis/313/A313026.asm
karttu/loda
0
54861
; A313026: Coordination sequence Gal.5.54.3 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,9,14,18,22,26,31,36,40,44,49,54,58,62,66,71,76,80,84,89,94,98,102,106,111,116,120,124,129,134,138,142,146,151,156,160,164,169,174,178,182...
programs/oeis/267/A267668.asm
karttu/loda
1
54862
<reponame>karttu/loda<filename>programs/oeis/267/A267668.asm<gh_stars>1-10 ; A267668: Number of 3Xn 0..1 arrays with every repeated value in every row unequal to the previous repeated value, and in every column equal to the previous repeated value, and new values introduced in row-major sequential order. ; 4,32,108,500...
color/color.asm
etdv-thevoid/pokemon-rgb-enhanced
1
54863
<filename>color/color.asm<gh_stars>1-10 ; Extending bank 1C, same bank as engine/palettes.asm (for "SetPal" functions) SECTION "bank1C_extension",ROMX,BANK[$1C] ; Set all palettes to black at beginning of battle SetPal_BattleBlack: ld a,$02 ld [rSVBK],a ld d,PAL_BLACK ld e,7 .palLoop ; Set all bg and sprite palet...
programs/oeis/270/A270032.asm
neoneye/loda
22
54864
<reponame>neoneye/loda ; A270032: a(n) is the smallest b for which the base-b representation of n contains at least one 6 (or 0 if no such base exists). ; 0,0,0,0,0,7,0,0,0,0,0,0,7,8,9,10,11,12,13,7,15,8,17,9,19,10,7,11,23,8,25,13,9,7,29,10,31,8,11,17,7,7,7,7,7,7,7,7,8,8,8,8,8,8,7,9,9,9,9,9,9,7,10,10,10,10,10,10,7,8,11...
levels/processed/lvl6_tiles.asm
cppchriscpp/ld38
4
54865
<filename>levels/processed/lvl6_tiles.asm<gh_stars>1-10 .export _lvl6 _lvl6: .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1,...
Source/Animation.asm
hhprg/C64Engine
4
54867
/****************************************************************** * Copyright (C) 2015-2021 <NAME> <<EMAIL>> ******************************************************************/ // List of Animation instances per level. .var AnimationsPerLevel = List() // List of all animations. .var Animations = List() ...
Appendix E - Microcontroller Code/Redundant/MediaAccess.asm
liwenyip/adhoc
0
54868
;************************************************************************* ; MEDIA ACCESS LAYER ; ; Version 1.00 ; 24/08/2005 ; ; <NAME> ; Ad Hoc Radio Networking Research Project ; School Of Engineering ; James Cook University ; ;************************************************************************* ; ; Descriptio...
Transynther/x86/_processed/AVXALIGN/_st_zr_/i3-7100_9_0x84_notsx.log_21829_274.asm
ljhsiun2/medusa
9
54869
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x89aa, %rsi lea addresses_UC_ht+0x114aa, %rdi nop nop cmp $33742, %r13 mov $76, %rcx rep movsw inc %rbx lea addresses_UC_ht+0xbd0e, %rsi lea addresses_normal_ht+0x1d0e2, %rdi nop cmp %r15, %r15 m...
oeis/109/A109106.asm
neoneye/loda-programs
11
54870
; A109106: a(n) = (1/sqrt(5))*((sqrt(5) + 1)*((15 + 5*sqrt(5))/2)^(n-1) + (sqrt(5) - 1)*((15 - 5*sqrt(5))/2)^(n-1)). ; Submitted by <NAME> ; 2,20,250,3250,42500,556250,7281250,95312500,1247656250,16332031250,213789062500,2798535156250,36633300781250,479536132812500,6277209472656250,82169738769531250,1075615844726562500...
unittests/ASM/PrimaryGroup/2_D3_07_2.asm
cobalt2727/FEX
628
54871
%ifdef CONFIG { "RegData": { "RAX": "0x3335785C36350000", "RBX": "0x3465785C33350000", "RCX": "0x6663785C34650332", "RDX": "0x3234785C66630F0B", "RDI": "0x3234785C32340000", "RSI": "0x3035785C32340000", "RSP": "0x3564785C30350000", "R8": "0x6532785C35640785", "R9": "0x6435785C653...
blobz.asm
chromice/blobz.asm
0
54872
<gh_stars>0 ; tabsize = 8 ; Blobz by .nebula (July, 2001) ; This is my second 256b intro, and its got wicked FPU code! .model tiny .code .386 org 100h start: mov al,13h int 10h ; Set the palette mov dx,3C8h xor ax,ax out dx,al ; initilize inc dx mov ah,0FFh ; eax=<green=0,red=0,temp=ffh,blue=...
altairsim/apple.asm
QwazyWabbitWOS/z80pack
85
54873
TITLE '<APPLE MONITOR, *ECT ROM* V1.0 JAN 07, 1979>' ; ; "APPLE MONITOR" COPYRIGHT 1975,1976,1977 ; BY <NAME> ; ; THIS MONITOR IS 8080 CODE ONLY ; ; MAY 2018 BY <NAME>: ; TYPED IN FROM MANUAL USING INTEL SYNTAX TO ASSEMBLE ; WITH INTEL MACRO 80 OR DRI 8080 ASSEMBLER ; BASE EQU 0F000H ...
wc.asm
hprem991/System-Call
1
54874
<reponame>hprem991/System-Call _wc: file format elf32-i386 Disassembly of section .text: 00000000 <wc>: char buf[512]; void wc(int fd, char *name) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 28 sub $0x28,%esp int i, n; int ...
sim/asm/fn26.asm
nanamake/avr_cpu
2
54876
<gh_stars>1-10 ;--------------------------- ; test for fmul/fmuls/fmulsu ;--------------------------- ldi r16,0x1f ldi r18,0x3f ldi r20,0x8f ldi r23,0xaf ldi r17,0xb0 ldi r19,0x40 ldi r21,0x90 ldi r22,0x20 fmul r16,r22 movw r14,r0 fmul r18,r21 movw r12,r0 fm...
srcs/disk/ide.asm
gamozolabs/falkervisor_beta
69
54877
<reponame>gamozolabs/falkervisor_beta<gh_stars>10-100 [bits 64] ; pci_get_ide ; ; Summary: ; ; This function enumerates all PCI devices and returns the PCI request needed ; for the first IDE device encountered. ; ; Parameters: ; ; None ; ; Alignment: ; ; None ; ; Returns: ; ; on Success: rax = PCI request on success ;...
library/sas_cxamemset.asm
mparnaudeau/clib2
8
54878
* * $Id: sas_cxamemset.asm,v 1.1.1.1 2004-07-26 16:31:03 obarthel Exp $ * * :ts=8 * * Adapted from reassembled SAS/C runtime library code. * * Portable ISO 'C' (1994) runtime library for the Amiga computer * Copyright (c) 2002-2015 by <NAME> <obarthel (at) gmx.net> * All rights reserved. * * Redistribution and use in s...
sample/nasm/simple.asm
Marakusa/neptyne
0
54879
<gh_stars>0 extern printf section .data decimal: db "%d" section .text global _start _start: call _main mov eax, 1 mov ebx, 0 int 80h _main: push rbp mov rbp, rsp ; int a = 119; mov DWORD [rbp-4], 119 ; out(a); mov eax, DWORD [rbp-4] mov esi, eax mov edi, decimal mov eax, 0 call printf ...
programs/oeis/137/A137441.asm
neoneye/loda
22
54880
<reponame>neoneye/loda<filename>programs/oeis/137/A137441.asm ; A137441: Partial sums of partial sums of PrimePi(k). ; 0,1,4,9,17,28,43,62,85,112,144,181,224,273,328,389,457,532,615,706,805,912,1028,1153,1287,1430,1582,1743,1914,2095,2287,2490,2704,2929,3165,3412,3671,3942,4225,4520,4828,5149,5484,5833,6196,6573,6965,7...
oeis/228/A228252.asm
neoneye/loda-programs
11
54883
<reponame>neoneye/loda-programs ; A228252: Determinant of the (n+1) X (n+1) matrix with (i,j)-entry equal to (i-2j)^n for all i,j = 0,...,n. ; Submitted by <NAME> ; 1,2,64,82944,8153726976,97844723712000000,210357201231685877760000000,111759427954264225978066246041600000000,193537245115159559437238610076289098863083520...
programs/oeis/325/A325299.asm
jmorken/loda
1
54884
<reponame>jmorken/loda<gh_stars>1-10 ; A325299: a(n) = 9 * sigma(n). ; 9,27,36,63,54,108,72,135,117,162,108,252,126,216,216,279,162,351,180,378,288,324,216,540,279,378,360,504,270,648,288,567,432,486,432,819,342,540,504,810,378,864,396,756,702,648,432,1116,513,837,648,882,486,1080,648,1080,720,810,540,1512 mov $3,$0 m...
engine/overworld/events.asm
Dev727/ancientplatinum
1
54885
INCLUDE "constants.asm" SECTION "Events", ROMX OverworldLoop:: xor a ; MAPSTATUS_START ld [wMapStatus], a .loop ld a, [wMapStatus] ld hl, .jumps rst JumpTable ld a, [wMapStatus] cp MAPSTATUS_DONE jr nz, .loop .done ret .jumps ; entries correspond to MAPSTATUS_* constants dw StartMap dw EnterMap dw Handle...
libsrc/z80_crt0s/z80/sccz80/dpush3.asm
jpoikela/z88dk
38
54886
<reponame>jpoikela/z88dk IF !__CPU_INTEL__ SECTION code_crt0_sccz80 PUBLIC dpush3 EXTERN fa ;------------------------------------------------------ ; Push FA onto stack under ret address and stacked long ;------------------------------------------------------ dpush3: exx pop hl ;sav...
stack_arithmetic/BasicTest.asm
ferris77/nand2tetris
0
54887
//push constant 10 @10 D=A @SP A=M M=D @SP M=M+1 //pop local 0 @SP M=M-1 A=M D=M @300 M=D //push constant 21 @21 D=A @SP A=M M=D @SP M=M+1 //push constant 22 @22 D=A @SP A=M M=D @SP M=M+1 //pop argument 2 @SP M=M-1 A=M D=M @402 M=D //pop argument 1 @SP M=M-1 A=M D=M...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_4_1187.asm
ljhsiun2/medusa
9
54888
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_WT_ht+0xc66a, %r14 nop nop nop nop sub %r15, %r15 mov (%r14), %esi nop nop nop nop dec %rcx lea addresses_UC_ht+0x2bb8, %rsi lea addresses_UC_ht+0x68c6, %rdi nop nop no...
CallConventions/6186/function-compiled-6186.asm
Unshifted1337/AssemblyExercises
0
54889
<reponame>Unshifted1337/AssemblyExercises f: sub $24, %rsp movq %ra, (%rsp) mov %rb, %rx shl $1, %rx add $1, %rx movl (%ra, %rx, 4), %ra call g add %rb, %rr movq (%rsp), %ra movl (%ra, %rr, 4), %ra mov %ra, %rr add $24, %rsp ret
programs/oeis/083/A083658.asm
jmorken/loda
1
54890
; A083658: a(n) = a(n-1) + a(n-2) + gcd(a(n-1),a(n-2)) for n>1, with a(0)=1, a(1)=1. ; 1,1,3,5,9,15,27,45,81,135,243,405,729,1215,2187,3645,6561,10935,19683,32805,59049,98415,177147,295245,531441,885735,1594323,2657205,4782969,7971615,14348907,23914845,43046721,71744535,129140163,215233605,387420489 sub $0,1 lpb $0 ...
iod/iou/dirshr.asm
olifink/smsqe
0
54891
<filename>iod/iou/dirshr.asm ; IO Device Directory not shareable section iou xdef iou_dirshr iou_dirshr dc.w -1 ; OS does not allow shareable directories end
nand2tetris/projects/04/fill/FillWorking.asm
raventid/coursera_learning
1
54893
<gh_stars>1-10 // This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by <NAME>, MIT Press. // File name: projects/04/Fill.asm // Runs an infinite loop that listens to the keyboard input. // When a key is pressed (any key), the program blackens the screen, // i.e. writes "b...
S4/HW_Lab/Major1/Q1.asm
akxavier/Assignments
0
54894
<gh_stars>0 ;sum of prime numbers in an integer array section .data msg1 : db 'Enter length of array : ' l1 : equ $-msg1 msg2 : db 'Enter array element : ' l2 : equ $-msg2 msg_sum : db 'Sum of all prime numbers in the array : ' l_sum : equ $-msg_sum newline : db 10 section .bss array : resb 50 sum : resb 1 count : re...
oeis/028/A028212.asm
neoneye/loda-programs
11
54895
<reponame>neoneye/loda-programs ; A028212: Expansion of 1/((1-6x)(1-8x)(1-9x)(1-12x)). ; Submitted by <NAME> ; 1,35,775,13895,220591,3239495,45114175,605081015,7896440431,100983137255,1271943884575,15837914099735,195494604120271,2397051804927815,29242027752046975,355340314794184055,4305125050033912111,52039828472216683...
working/hello/hello2.asm
gdohmeier/compilers
0
54896
; https://www.nasm.us/xdoc/2.15.05/html/nasmdoc0.html ; https://duckduckgo.com/?q=link+nasm+object+file+mac+osx&t=osx&ia=web ; nasm -f macho64 -o hello2.o hello2.asm ; ld -o hello2 -e _main hello2.o -macosx_version_min 10.15 -static ; ld -e _main -o hello2 hello2.o -static ; ./hello2 global _main section .text _ma...
src/i686-elf/start.asm
Leo2807/yasOS
0
54897
; This is the kernel's entry point. We could either call main here, ; or we can use this to setup the stack or other nice stuff, like ; perhaps setting up the GDT and segments. Please note that interrupts ; are disabled at this point: More on interrupts later! [BITS 32] ; Multiboot macros to make a few lines later mor...
kern/arch/x86_64/mm/mm.asm
bSchnepp/Feral
13
54898
<filename>kern/arch/x86_64/mm/mm.asm BITS 64 [global x86_read_cr0] [global x86_write_cr0] [global x86_read_cr3] [global x86_write_cr3] [global x86_io_stall] x86_read_cr0: mov rax, cr0 mov cr0, rax ret x86_write_cr0: mov cr0, rdi ret x86_read_cr3: mov rax, cr3 mov cr3, rax ret x86_write_cr3: mov cr3, rdi ...
libsrc/stdio/ansi/abc80/f_ansi_cls.asm
andydansby/z88dk-mk2
1
54899
<filename>libsrc/stdio/ansi/abc80/f_ansi_cls.asm ; ; ANSI Video handling for the ABC80 ; ; CLS - Clear the screen ; ; ; <NAME> - May 2000 ; ; ; $Id: f_ansi_cls.asm,v 1.3 2007/10/31 14:01:47 stefano Exp $ ; XLIB ansi_cls .ansi_cls jp $276
oeis/048/A048722.asm
neoneye/loda-programs
11
54901
; A048722: Reversed binary packing of Fibonacci sequence A000045. ; Submitted by <NAME> ; 0,1,3,7,29,233,7457,1908993,15638470657,32796250015268865,563435284988077103288156161,20299895516157546089301785397257605216206849,12565026726380593749379544715414757684521993402717913413208480665305089 mov $3,2 mov $4,1 lpb $0 ...
Transynther/x86/_processed/NONE/_zr_xt_/i3-7100_9_0x84_notsx.log_21829_2009.asm
ljhsiun2/medusa
9
54903
<filename>Transynther/x86/_processed/NONE/_zr_xt_/i3-7100_9_0x84_notsx.log_21829_2009.asm .global s_prepare_buffers s_prepare_buffers: push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x1b371, %rsi lea addresses_D_ht+0x18cc8, %rdi dec %r9 mov $103, %rcx rep movsl nop nop nop sub %rbp, %rbp pop %rsi p...
libsrc/_DEVELOPMENT/target/yaz180/driver/i2c/i2c1_byte_master_isr.asm
jpoikela/z88dk
0
54904
<filename>libsrc/_DEVELOPMENT/target/yaz180/driver/i2c/i2c1_byte_master_isr.asm ;============================================================================== ; Contents of this file are copyright <NAME> ; ; You have permission to use this for NON COMMERCIAL USE ONLY ; If you wish to use it elsewhere, please include a...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1662.asm
ljhsiun2/medusa
9
54905
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1cc44, %rsi lea addresses_A_ht+0x1d050, %rdi and %rax, %rax mov $93, %rcx rep movsq and $64859, %rbp lea addresses_normal_ht+0x17778, %rdi nop nop nop sub %r11, %r11 and $0xff...
oeis/114/A114003.asm
neoneye/loda-programs
11
54906
<gh_stars>10-100 ; A114003: Rows sums of triangle A114002. ; Submitted by <NAME> ; 1,3,3,5,3,7,3,7,5,7,3,11,3,7,7,9,3,11,3,11,7,7,3,15,5,7,7,11,3,15,3,11,7,7,7,17,3,7,7,15,3,15,3,11,11,7,3,19,5,11,7,11,3,15,7,15,7,7,3,23,3,7,11,13,7,15,3,11,7,15,3,23,3,7,11,11,7,15,3,19,9,7,3,23,7,7,7,15,3,23,7,11,7,7,7,23,3,11,11,17 ...
programs/oeis/084/A084309.asm
neoneye/loda
22
54907
; A084309: a(n) = gcd(prime(n)-1, n). ; 1,2,1,2,5,6,1,2,1,2,1,12,1,14,1,4,1,6,1,10,3,2,1,8,1,2,3,2,1,2,1,2,1,2,1,6,1,2,1,4,1,6,1,4,1,2,1,6,1,2,1,2,1,2,1,2,1,2,1,20,1,2,9,2,13,2,1,4,1,2,1,2,1,2,3,2,1,6,1,8,1,2,1,12,1,2,1,8,1,6,1,2,3,2,1,2,1,2,9,20 mov $1,$0 add $0,1 seq $1,6093 ; a(n) = prime(n) - 1. gcd $0,$1
programs/oeis/162/A162273.asm
neoneye/loda
22
54908
<reponame>neoneye/loda<gh_stars>10-100 ; A162273: a(n) = ((2+sqrt(3))*(3+sqrt(3))^n + (2-sqrt(3))*(3-sqrt(3))^n)/2. ; 2,9,42,198,936,4428,20952,99144,469152,2220048,10505376,49711968,235239552,1113165504,5267555712,24926341248,117952713216,558158231808,2641233111552,12498449278464,59143297001472,279869086338048 mov $1...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1426.asm
ljhsiun2/medusa
9
54909
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1df79, %rbx nop sub $35454, %rsi vmovups (%rbx), %ymm1 vextracti128 $1, %ymm1, %xmm1 vpextrq $1, %xmm1, %r11 nop nop sub $47683, %r11 lea addresses_UC_ht+0xa...
unit_tests/Sample.asm
tclendo/tiny_vm
0
54910
.class Sample:Obj .method $constructor .local x,y const 3 store x load x load x call Int:times store y pop return 0
Transynther/x86/_processed/US/_st_zr_un_4k_/i7-7700_9_0x48_notsx.log_21829_734.asm
ljhsiun2/medusa
9
54911
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rax push %rbp push %rsi lea addresses_normal_ht+0x8dec, %r12 nop sub %r11, %r11 mov $0x6162636465666768, %r15 movq %r15, %xmm0 movups %xmm0, (%r12) nop sub %r8, %r8 lea addresses_WT_ht+0xd8dc, %rax clflush (%rax) nop nop nop nop a...
vbox/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-TestDoModesByOneHlp.asm
Nurzamal/rest_api_docker
0
54912
<reponame>Nurzamal/rest_api_docker<gh_stars>0 ; $Id: bs3-cmn-TestDoModesByOneHlp.asm 69111 2017-10-17 14:26:02Z vboxsync $ ;; @file ; BS3Kit - Bs3TestDoModesByOne Helpers for switching to the bit-count of the worker function. ; ; ; Copyright (C) 2007-2017 Oracle Corporation ; ; This file is part of VirtualBox Open Sou...
oeis/192/A192816.asm
neoneye/loda-programs
11
54913
; A192816: a(n) = A192815(n)/2. ; Submitted by <NAME> ; 0,1,2,7,36,173,806,3763,17608,82393,385482,1803487,8437740,39476613,184694254,864105611,4042781584,18914450865,88492648850,414019362743,1937020023220,9062490569821,42399528318646,198369310046307,928085399264344,4342115764413321,20314907794597722,95044789474599055,...
programs/oeis/185/A185871.asm
neoneye/loda
22
54914
<reponame>neoneye/loda<filename>programs/oeis/185/A185871.asm ; A185871: (Even,even)-polka dot array in the natural number array A000027, by antidiagonals. ; 5,12,14,23,25,27,38,40,42,44,57,59,61,63,65,80,82,84,86,88,90,107,109,111,113,115,117,119,138,140,142,144,146,148,150,152,173,175,177,179,181,183,185,187,189,212,...
Raytracer/helloimage.asm
nicklecompte/CSLearning
0
54915
<reponame>nicklecompte/CSLearning<filename>Raytracer/helloimage.asm<gh_stars>0 BITS 64 default rel segment .data msg db "Hello, world!", 0xd, 0xa, 0 segment .text global main extern _ExitProcess extern _CRT_INIT extern _printf main: push rbp mov rbp, rsp sub rsp, 32 call _CRT_INIT lea rcx, [msg] call...
programs/oeis/239/A239796.asm
karttu/loda
1
54916
<filename>programs/oeis/239/A239796.asm ; A239796: 7n^2 + 2n - 15. ; -6,17,54,105,170,249,342,449,570,705,854,1017,1194,1385,1590,1809,2042,2289,2550,2825,3114,3417,3734,4065,4410,4769,5142,5529,5930,6345,6774,7217,7674,8145,8630,9129,9642,10169,10710,11265,11834,12417,13014,13625,14250,14889,15542,16209,16890,17585,18...
assignment5/question1.asm
bats64mgutsi/mips-assembly
0
54917
.text main: la $a0, askForInputStr jal Print li $a1, 20 la $a0, str1Buffer jal ReadString la $a0, str2Buffer jal ReadString la $a0, str3Buffer jal ReadString # Printing la $a0, displayOutputStr jal Print la $a0, str3Buffer jal Print la $a0, str1Buffer jal Print la $a0, st...
assembly/trabalho-2/src/questao_2.asm
AbnerLimaa/arquitetura-de-computadores
0
54918
<filename>assembly/trabalho-2/src/questao_2.asm<gh_stars>0 org 0X7C00 bits 16 mov ax, 0 mov ds, ax cli main: int 0x13 mov ah, 0x02 mov al, 1 mov cl, 2 mov ch, 0 mov dh, 0 mov bx, 0x7E00 int 0x13 mov di, 0x8000 call decodificar mov si, 0x8000 call print hlt d...
oeis/142/A142576.asm
neoneye/loda-programs
11
54919
; A142576: Primes congruent to 46 mod 53. ; Submitted by <NAME> ; 311,523,947,1583,1901,2113,2749,3067,3491,4021,4127,4339,4657,5081,5399,5717,6247,6353,6883,7307,9109,9533,9851,10169,10487,11971,12289,12713,13879,14197,14303,14621,14939,15787,16529,16741,17377,17483,18013,18119,19073,19391,19603,19709,20663,20981,2119...
src/stars/examples/arrays/2d_array_row_major_order.asm
kevintmcdonnell/stars
9
54920
# Demonstrates traversing a 2D array of words, storing a value at each # cell of the array. .data matrix: .word 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 rows: .word 5 columns: .word 3 .text .globl main main: la $t0, matrix lw $t1, rows # number of rows lw $t2, columns # number of columns li $t3, 0 # i, row counter r...
oeis/324/A324646.asm
neoneye/loda-programs
11
54921
; A324646: a(n) = gcd(n, A276086(n-1)). ; Submitted by <NAME>(s1) ; 1,2,3,2,1,6,1,2,3,10,1,6,1,2,15,2,1,18,1,10,3,2,1,6,25,2,3,2,1,30,1,2,3,2,7,18,1,2,3,10,1,42,1,2,15,2,1,6,7,50,3,2,1,18,5,14,3,2,1,30,1,2,21,2,1,6,1,2,3,70,1,18,1,2,75,2,7,6,1,10,3,2,1,42,5,2,3,2,1,90,7,2,3,2,1,6,1,98,3,10 mov $1,$0 seq $0,276086 ; Pr...
_build/dispatcher/jmp_ippcpGetLibVersion_1edff444.asm
zyktrcn/ippcp
1
54924
<filename>_build/dispatcher/jmp_ippcpGetLibVersion_1edff444.asm extern m7_ippcpGetLibVersion:function extern n8_ippcpGetLibVersion:function extern y8_ippcpGetLibVersion:function extern e9_ippcpGetLibVersion:function extern l9_ippcpGetLibVersion:function extern n0_ippcpGetLibVersion:function extern k0_ippcpGetLibVersion...
crypto/x86_64-gcc/rdrand.asm
sttr00/crypto
0
54925
segment .text global do_rdrand global do_rdseed do_rdrand: xor rax, rax rdrand rcx mov [rdi], rcx setc al ret do_rdseed: xor rax, rax rdseed rcx mov [rdi], rcx setc al ret
BootloaderCommonPkg/Library/ExtraBaseLib/Ia32/CpuSupport.nasm
smnarayanan/slimbootloader
299
54926
;------------------------------------------------------------------------------ ; ; Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> ; SPDX-License-Identifier: BSD-2-Clause-Patent ; ; Module Name: ; ; FlushCacheLineRange.Asm ; ; Abstract: ; ; FlushCacheLineRange function ; ; Notes: ; ;...
programs/oeis/280/A280084.asm
neoneye/loda
22
54927
; A280084: 1 together with the Pythagorean primes. ; 1,5,13,17,29,37,41,53,61,73,89,97,101,109,113,137,149,157,173,181,193,197,229,233,241,257,269,277,281,293,313,317,337,349,353,373,389,397,401,409,421,433,449,457,461,509,521,541,557,569,577,593,601,613,617 mov $2,$0 sub $0,1 pow $2,2 add $2,1 lpb $2 sub $2,1 mov...
oeis/041/A041424.asm
neoneye/loda-programs
11
54928
<reponame>neoneye/loda-programs ; A041424: Numerators of continued fraction convergents to sqrt(228). ; Submitted by <NAME> ; 15,151,4545,45601,1372575,13771351,414513105,4158902401,125181585135,1255974753751,37804424197665,379300216730401,11416810926109695,114547409477827351,3447839095260930225,34592938362087129601,10...
src/room_battle/skill_handlers.asm
tbsp/shock-lobster
7
54929
; ; Skill and item activation handlers for Shock Lobster ; ; Copyright 2021 <NAME> ; ; This software is provided 'as-is', without any express or implied ; warranty. In no event will the authors be held liable for any damages ; arising from the use of this software. ; ; Permission is granted to anyone to use this soft...
32-bit/disk.asm
KingUndeadCodes/Pumpkin-OS
3
54930
<gh_stars>1-10 disk_load: mov ah, 0x02 mov al, dh mov ch, 0x00 mov dh, 0x00 mov cl, 0x02 mov dl, [BOOT_DISK] int 0x13 jc disk_error cmp ah, 0 jne disk_error ret BOOT_DISK: db 0 disk_error: mov ah, 0x0e mov al, 0x44 int 0x10 mov al, 0x69 int 0x10 mov ...
Source/JavaScriptCore/llint/WebAssembly.asm
jacadcaps/webkitty
6
54931
# Copyright (C) 2019 Apple 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 copyright # notice, this list of conditions and the fol...
oeis/162/A162860.asm
neoneye/loda-programs
11
54932
<gh_stars>10-100 ; A162860: Numbers k such that k^2+4*k+1 is prime. ; Submitted by <NAME> ; 2,6,8,12,18,24,30,32,38,42,44,56,62,66,78,84,86,90,96,108,110,116,122,126,134,138,140,144,162,170,188,192,200,204,206,216,218,248,252,264,266,294,296,302,308,318,320,324,326,330,338,348,354,360,368,414,416,434,438,450,458,468,48...
docs/test_files/add_test.asm
carlosebmachado/little-computer-3
0
54933
.ORIG x3000 ADD R2, R3, R4 ; R2 := R3 + R4 ADD R2, R3, #7 ; R2 := R3 + 7 ADD R0, R0, R2 ; R0 := R0 + R2 ADD R0, R0, #-7 ; R0 := R1 - 7 HALT ; finaliza o programa .END
test/filters-cases/6502-square.asm
OfekShilon/compiler-explorer
4,668
54934
; ; File generated by cc65 v 2.17 - Git f95481fa ; .fopt compiler,"cc65 v 2.17 - Git f95481fa" .setcpu "6502" .smart on .autoimport on .case on .debuginfo on .importzp sp, sreg, regsave, regbank .importzp tmp1, tmp2, tmp3, tmp4, ptr1, ptr2, ptr3, ptr4 .macpack longbranch .dbg file, "/tmp/test.c", 90, 155...
src/shaders/h264/ildb/loadNV12_16x4.asm
tizenorg/platform.upstream.libva-intel-driver
0
54936
/* * Copyright © <2010>, Intel Corporation. * * This program is licensed under the terms and conditions of the * Eclipse Public License (EPL), version 1.0. The full text of the EPL is at * http://www.opensource.org/licenses/eclipse-1.0.php. * */ // Module Name: Loadnv12_16X4.Asm // // Load Nv12 16X4 B...
lift/x86/testdata/x86_32/arithmetic/arithmetic.asm
decomp/experimental
9
54937
[BITS 32] ;global _start:function global div_r8:function global div_m8:function global div_r16:function global div_m16:function global div_r32:function global div_m32:function section .text ;_start: ; call div_m8 ; ; sys_exit(eax) ; mov ebx, eax ; mov eax, 1 ; int 0x80 ;add: ; mov eax, 29 ; add ...
oeis/166/A166280.asm
neoneye/loda-programs
11
54938
<filename>oeis/166/A166280.asm ; A166280: Stirling2 triangle mod 2, T(n,k) = A008277(n,k) mod 2. ; Submitted by <NAME> ; 1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,0,1,1,1,1,1,1,0,0,1,1,1,1,0,1,0,0,0,1,1,1,1,0,1,0,0,0,1,1,1,0,1,1,1,0,0,1,1,1,1,1,0,0,1,1,0,1,1,1,1,1,0,1,0,0,0,1,1,1,0,1,1,1,1,0,1,0,0,0,0,1,1,0,1,1,1,0,1,1,1,0,0,0...
programs/oeis/162/A162776.asm
neoneye/loda
22
54940
; A162776: a(n) = A161828(n)*2/3. ; 0,0,2,2,6,6,10,14,22,26 pow $0,2 div $0,2 mov $2,-2 bin $2,$0 div $2,2 lpb $2 trn $2,3 add $3,2 lpe mov $4,$3 cmp $4,0 add $3,$4 mov $0,$3 sub $0,1 mul $0,2
oslab6/obj/user/sh.asm
jasha64/OperatingSystems-lab
0
54941
<reponame>jasha64/OperatingSystems-lab obj/user/sh.debug: 文件格式 elf32-i386 Disassembly of section .text: 00800020 <_start>: // starts us running when we are initially loaded into a new environment. .text .globl _start _start: // See if we were started with arguments on the stack cmpl $USTACKTOP, %esp 800020:...
A3 - Estruturas de fluxo/addE1b.asm
ZePaiva/ACI
0
54943
.data str1: .asciiz "Introduza um numero: " str2: .asciiz "\nO valor em hexadecimal: " .eqv print_str, 4 .eqv read_int, 5 .eqv print_char, 11 .eqv i, $t0 .eqv value, $t1 .eqv digito, $t2 .eqv func, $v0 .eqv arg1, $a0 .text .globl main main: # tirar o lixo dos registos a usar li i, 0 li value, 0 li digito, 0 li ...
src/test/resources/data/generationtests/asmsx-builtin.asm
Fubukimaru/mdlz80optimizer
0
54945
; Test case: org #4000 .rom .start loop loop: jr loop .select 1 at 06000h ld a,3 .select a at 07000h ld b,5 .select b at 08000h .printtext "hello!"
install/lib/disk/newint13.asm
minblock/msdos
0
54946
;======================================================== COMMENT # NEWINT13.ASM Copyright (c) 1991 - Microsoft Corp. All rights reserved. Microsoft Confidential ================================================= New interrupt 13h handler and support functions which check for DMA boundary errors and if detecte...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2660.asm
ljhsiun2/medusa
9
54947
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xbb93, %rbx nop nop sub $63498, %rcx movb $0x61, (%rbx) nop nop cmp $45320, %r14 lea addresses_D_ht+0x1552b, %rsi lea addresses_A_ht+0x6913, %rdi clflush (%rsi) add $24801, %...
pwnlib/shellcraft/templates/aarch64/linux/getgroups.asm
IMULMUL/python3-pwntools
325
54948
<% from pwnlib.shellcraft.aarch64.linux import syscall %> <%page args="size, list"/> <%docstring> Invokes the syscall getgroups. See 'man 2 getgroups' for more information. Arguments: size(int): size list(gid_t): list </%docstring> ${syscall('SYS_getgroups', size, list)}
libsrc/target/gb/gbdk/putchar.asm
Frodevan/z88dk
640
54949
<reponame>Frodevan/z88dk MODULE putchar PUBLIC putchar PUBLIC _putchar EXTERN asm_putchar SECTION code_driver INCLUDE "target/gb/def/gb_globals.def" putchar: _putchar: ; Banked PUSH BC LD HL,sp + 4 ; Skip return address ...
programs/oeis/202/A202865.asm
karttu/loda
0
54950
; A202865: Number of 3 X 3 0..n arrays with row and column sums one greater than the previous row and column. ; 2,42,228,776,2046,4578,9128,16704,28602,46442,72204,108264,157430,222978,308688,418880,558450,732906,948404,1211784,1530606,1913186,2368632,2906880,3538730,4275882,5130972,6117608,7250406,8545026,10018208,116...
tests/assembly/transfer operations/0204.asm
danecreekphotography/6502ts
0
54951
<gh_stars>0 ; 0204 - TSX .segment "VECTORS" .word $eaea .word init .word $eaea .code init: tsx ; Positive number case, SP will be $41 tsx ; Zero number case, SP will be $0. tsx ; Negative number case, SP will be %10010101.
programs/oeis/025/A025697.asm
jmorken/loda
1
54952
; A025697: Index of 3^n within sequence of numbers of form 3^i*6^j. ; 1,2,4,6,9,13,17,22,27,33,40,47,55,63,72,82,92,103,115,127,140,153,167,182,197,213,229,246,264,282,301,321,341,362,383,405,428,451,475,499,524,550,576,603,630,658,687,716,746,777,808,840,872,905,939,973,1008,1043 mov $11,$0 mov $13,$0 add $13,1 lpb $...
engine/overworld/field_move_messages.asm
opiter09/ASM-Machina
1
54953
<reponame>opiter09/ASM-Machina<gh_stars>1-10 PrintStrengthTxt: ld hl, wd728 set 0, [hl] ld hl, UsedStrengthText call PrintText ld hl, CanMoveBouldersText jp PrintText UsedStrengthText: text_far _UsedStrengthText text_asm ld a, [wcf91] call PlayCry call Delay3 jp TextScriptEnd CanMoveBouldersText: text_fa...
LED Interfacing/Patterns/Pattern3.a51
dmdhrumilmistry/8051-Codes
0
54954
<reponame>dmdhrumilmistry/8051-Codes // PATTERN 3 ON PORT 2 // // . . . . // . . . . // 0 1 2 3 4 5 6 7 ORG 0000H // MAIN PROGRAM MOV P2,#00H SETB P2.0 SETB P2.2 SETB P2.4 SETB P2.6 REPEAT: ACALL DELAY ACALL COMPLEMENT SJMP REPEAT COMPLEMENT: CPL P2.0 CPL P2.1 CPL P...
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_pow.asm
meesokim/z88dk
0
54955
; float pow(float x, float y) SECTION code_fp_math48 PUBLIC cm48_sdcciy_pow EXTERN cm48_sdcciyp_dread2, l0_cm48_sdcciy_pow_callee cm48_sdcciy_pow: call cm48_sdcciyp_dread2 ; AC'= y ; AC = x jp l0_cm48_sdcciy_pow_callee
maps/IcePathB2FMahoganySide.asm
Dev727/ancientplatinum
28
54956
object_const_def ; object_event constants const ICEPATHB2FMAHOGANYSIDE_BOULDER1 const ICEPATHB2FMAHOGANYSIDE_BOULDER2 const ICEPATHB2FMAHOGANYSIDE_BOULDER3 const ICEPATHB2FMAHOGANYSIDE_BOULDER4 const ICEPATHB2FMAHOGANYSIDE_POKE_BALL1 const ICEPATHB2FMAHOGANYSIDE_POKE_BALL2 IcePathB2FMahoganySide_MapScripts: db...
Tests/Sprites/ScanlineDelay/Main.asm
MrKWatkins/ZXSpectrumNextTests
23
54957
<reponame>MrKWatkins/ZXSpectrumNextTests<gh_stars>10-100 device zxspectrum48 org $8000 INCLUDE "../../Constants.asm" INCLUDE "../../Macros.asm" INCLUDE "../../TestFunctions.asm" INCLUDE "../../TestData.asm" INCLUDE "../../OutputFunctions.asm" MACRO FILL_SPRITE_PATTERN bytes? ; ...
src/InitDevice.asm
mokafiht/u2f_key_SDCC
1
54959
;-------------------------------------------------------- ; File Created by SDCC : free open source ANSI-C Compiler ; Version 3.6.0 #9615 (MINGW32) ;-------------------------------------------------------- .module InitDevice .optsdcc -mmcs51 --model-large ;-------------------------------------------------------- ; ...
msp430/core/fr2433-xt1/forth-mecrisp-2433-xt1.asm
dmrq70/forth-mecrisp
2
54960
<gh_stars>1-10 ; ; Mecrisp - A native code Forth implementation for MSP430 microcontrollers ; Copyright (C) 2011 <NAME> ; ; This program 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 v...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_700.asm
ljhsiun2/medusa
9
54961
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x15876, %rsi lea addresses_normal_ht+0x16b8c, %rdi nop nop cmp $3638, %r13 mov $46, %rcx rep movsw add $44044, %r11 lea addresses_WC_ht+0x14200, %r15 clflush (%r15) nop nop no...
oeis/239/A239532.asm
neoneye/loda-programs
11
54962
<filename>oeis/239/A239532.asm<gh_stars>10-100 ; A239532: Number of (n+1) X (3+1) 0..2 arrays with no element equal to all horizontal neighbors or unequal to all vertical neighbors, and new values 0..2 introduced in row major order. ; Submitted by <NAME> ; 6,6,216,1014,13254,98304,984150,8368566,77673624,687582150,6243...
codec/common/asm_inc.asm
zhilwang/openh264
0
54963
<reponame>zhilwang/openh264 ;*! ;* \copy ;* Copyright (c) 2009-2013, Cisco Systems ;* All rights reserved. ;* ;* Redistribution and use in source and binary forms, with or without ;* modification, are permitted provided that the following conditions ;* are met: ;* ;* * Redistributions of sou...
oeis/142/A142764.asm
neoneye/loda-programs
11
54964
<filename>oeis/142/A142764.asm<gh_stars>10-100 ; A142764: Primes congruent to 37 mod 59. ; Submitted by <NAME> ; 37,509,863,1217,1453,1571,2161,2633,3931,4049,4639,4993,5347,5701,6173,6763,7589,8179,8297,8887,9241,9949,10067,10303,10657,11483,11719,12073,12781,12899,14197,14551,14669,15259,15377,15731,17029,17383,17737...
header/000/FAMILYBASIC.asm
freem/nes_corelib
16
54965
<reponame>freem/nes_corelib ; HVC-FAMILYBASIC: 32KB PRG-ROM + 8KB PRG-RAM + 8KB CHR-ROM (NES 2.0) ; http://bootgod.dyndns.org:7777/search.php?unif=HVC-FAMILYBASIC ;------------------------------------------------------------------------------; ; NROM mirroring is hardwired via solder pads. ; %0000 = Horizontal ; %0001 ...
samples/vsx_mem.c.power9_gcc-5.asm
seiko2plus/vsx_mem_test
0
54967
/test/samples/vsx_mem.c.power9_gcc-5.o: file format elf64-powerpcle Disassembly of section .text: 0000000000000000 <INTRIN_schar>: 0: 00 00 26 2c cmpdi r6,0 4: 00 00 20 39 li r9,0 8: 20 00 82 4d beqlr c: 14 00 00 48 b 20 <INTRIN_schar+0x20> 10: 00 00 00 60 nop 14: 00 00 00 6...
oeis/077/A077986.asm
neoneye/loda-programs
11
54968
; A077986: Expansion of 1/(1 + 2*x - x^2 + x^3). ; Submitted by <NAME> ; 1,-2,5,-13,33,-84,214,-545,1388,-3535,9003,-22929,58396,-148724,378773,-964666,2456829,-6257097,15935689,-40585304,103363394,-263247781,670444260,-1707499695,4348691431,-11075326817,28206844760,-71837707768,182957587113,-465959726754,1186714748389...
libsrc/_DEVELOPMENT/arch/zx/esxdos/c/sdcc_iy/esxdos_disk_write_callee.asm
jpoikela/z88dk
640
54970
<reponame>jpoikela/z88dk<gh_stars>100-1000 ; int esxdos_disk_write(uchar device, ulong position, void *src) SECTION code_clib SECTION code_esxdos PUBLIC _esxdos_disk_write_callee PUBLIC l0_esxdos_disk_write_callee EXTERN asm_esxdos_disk_write _esxdos_disk_write_callee: pop hl dec sp pop af pop de po...
oeis/202/A202991.asm
neoneye/loda-programs
11
54971
<filename>oeis/202/A202991.asm ; A202991: E.g.f: Sum_{n>=0} 3^(n^2) * exp(-2*3^n*x) * x^n/n!. ; Submitted by <NAME> ; 1,1,49,15625,38950081,812990017201,147640825624179889,237771659632917369765625,3425319186561140076700951192321,443021141828981570872668681812345111521,515202988063835984513918825523304657054713360049 ...
Assembly/Project/Dictionary.asm
Myself086/Project-Nested
338
54972
<filename>Assembly/Project/Dictionary.asm // Expected dictionary structure: // [0] = 16-bit pointer to the next element // [2] = 8-bit string length // [3] = String start // [3+[2]] = Value start, anonymous type from the perspective of this module // -------------------------------------------------------------...
programs/oeis/235/A235699.asm
jmorken/loda
1
54973
; A235699: a(n+1) = a(n) + (a(n) mod 10) + 1, a(0) = 0. ; 0,1,3,7,15,21,23,27,35,41,43,47,55,61,63,67,75,81,83,87,95,101,103,107,115,121,123,127,135,141,143,147,155,161,163,167,175,181,183,187,195,201,203,207,215,221,223,227,235,241,243,247,255,261,263,267,275,281,283,287,295,301,303,307,315,321,323,327,335,341,343,347...
programs/oeis/143/A143101.asm
neoneye/loda
22
54974
<filename>programs/oeis/143/A143101.asm ; A143101: Partial sums of A143097. ; 1,3,7,10,15,22,28,36,46,55,66,79,91,105,121,136,153,172,190,210,232,253,276,301,325,351,379,406,435,466,496,528,562,595,630,667,703,741,781,820,861,904,946,990,1036,1081,1128,1177,1225,1275,1327,1378,1431,1486,1540,1596,1654,1711,1770,1831,18...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_16.asm
ljhsiun2/medusa
9
54975
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xa443, %rsi lea addresses_UC_ht+0x45a3, %rdi nop nop nop add $43189, %r13 mov $101, %rcx rep movsl nop nop nop nop sub %rbx, %rbx lea addresses_D_ht+0x1cf03, %r9 nop nop nop no...