max_stars_repo_path
stringlengths
3
255
max_stars_repo_name
stringlengths
5
116
max_stars_count
int64
0
107k
id
stringlengths
1
7
content
stringlengths
63
1.05M
libsrc/_DEVELOPMENT/l/z80/longlong/fast/l_fast_asr_dehldehl.asm
jpoikela/z88dk
640
128938
SECTION code_clib SECTION code_l PUBLIC l_fast_asr_dehldehl EXTERN l_asr_dehl EXTERN error_llznc, error_llmnc l_fast_asr_dehldehl: ; arithmetic shift right 64-bit number ; ; enter : dehl'dehl = 64-bit number ; a = shift amount ; ; exit : dehl'dehl = dehl'dehl >> a ; ; uses ...
1581/64tass/opchnl.asm
silverdr/assembly
23
128940
<reponame>silverdr/assembly<filename>1581/64tass/opchnl.asm ; open a read chanl with 2 buffers ; will insert sa in lintab ; and inits all pointers. ; relative ss and ptrs are set. opnrch lda #1 ; get one data buffer jsr getrch jsr initp ; clear pointers lda type pha ...
Code_1.asm
vishnuajith/PIC-18-Example-Codes
0
128941
<gh_stars>0 ;******************************************************************** ;* Description : Selecting Bank 2 and put value into register 202H ;* ;******************************************************************** #include<p18f452.inc> ORG 0 MOVLW .55 ADDLW .55 MOVLB 2H ; SELECTING BANK 2 MOVWF 2H, ...
P6/data_P6_2/MDTest19.asm
alxzzhou/BUAA_CO_2020
1
128942
<gh_stars>1-10 ori $ra,$ra,0xf lb $5,12($0) lb $4,2($0) mfhi $1 mult $4,$4 addu $4,$3,$3 sb $5,12($0) lb $0,6($0) addiu $4,$1,31891 addu $5,$5,$5 mthi $1 multu $4,$4 mfhi $2 mflo $4 mflo $4 addu $1,$0,$0 ori $0,$5,37637 addiu $0,$0,20915 sb $4,0($0) ori $2,$2,11686 mflo $3 addu $2,$2,$0 div $2,$ra divu $1,$ra addiu $2,...
MODULE2/3-execve_shellcode/execve.asm
wetw0rk/SLAE
18
128944
<reponame>wetw0rk/SLAE<filename>MODULE2/3-execve_shellcode/execve.asm ; Executable name : execve ; Designed OS : Linux (32-bit) ; Author : wetw0rk ; Version : 1.0 ; Created Following : SLAE ; Description : An example of execve usage in shellcode ; ; Build using these command...
oeis/062/A062123.asm
neoneye/loda-programs
11
128947
<filename>oeis/062/A062123.asm ; A062123: a(n) = 2 + 9*n*(1 + n)/2. ; 2,11,29,56,92,137,191,254,326,407,497,596,704,821,947,1082,1226,1379,1541,1712,1892,2081,2279,2486,2702,2927,3161,3404,3656,3917,4187,4466,4754,5051,5357,5672,5996,6329,6671,7022,7382,7751,8129,8516,8912,9317,9731,10154,10586,11027,11477,11936,12404,...
nand2tetris/projects/04/mult/Mult.asm
iTech-/NandToTetris
2
128948
<reponame>iTech-/NandToTetris // This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by <NAME> Schocken, MIT Press. // File name: projects/04/Mult.asm // Multiplies R0 and R1 and stores the result in R2. // (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively....
programs/oeis/163/A163063.asm
karttu/loda
0
128950
<gh_stars>0 ; A163063: Lucas(3n+2) = Fibonacci(3n+1) + Fibonacci(3n+3). ; 3,11,47,199,843,3571,15127,64079,271443,1149851,4870847,20633239,87403803,370248451,1568397607,6643838879,28143753123,119218851371,505019158607,2139295485799,9062201101803,38388099893011,162614600673847,688846502588399,2918000611027443 mov $1,3 ...
programs/oeis/026/A026381.asm
neoneye/loda
22
128951
<reponame>neoneye/loda<gh_stars>10-100 ; A026381: T(n,n-2), where T is the array in A026374. ; 1,4,11,17,30,39,58,70,95,110,141,159,196,217,260,284,333,360,415,445,506,539,606,642,715,754,833,875,960,1005,1096,1144,1241,1292,1395,1449,1558,1615,1730,1790,1911,1974,2101,2167,2300,2369,2508,2580,2725,2800,2951,3029,3186,...
src/ReadSetSize/native.asm
Bhaskers-Blu-Org2/msr-cloak
9
128953
include ksamd64.inc meow0 SEGMENT read execute align(64) align 64 readMem proc xor r8, r8 xbegin failed loop_head: cmp r8,rdx jge loop_end mov rax,[rcx+r8] add r8, 64 jmp loop_head loop_end: xend ; write XBEGIN_STARTED to rax xor rax, rax not rax failed: ret readMem endp meow0 ends END
libsrc/_DEVELOPMENT/l/sccz80/crt0_8080/lpush2.asm
witchcraft2001/z88dk
4
128954
; ; Small C+ Compiler ; ; Long Support Library ; "8080" mode ; ; 29/4/2002 - Stefano ; This routine is used to push longs on the stack for a ; call to a function defined as a pointer. SECTION code_crt0_sccz80 PUBLIC lpush2 EXTERN __retloc .lpu...
boot/print_hex.asm
a-quelle/OSproject
0
128955
;arg in dx print_hex: pusha mov cx, 0 ;index of string mov bx, HEX_OUT + 6 hex_loop: cmp cx, 4 je end mov ax, dx ;data in dx, ax is scratch and ax, 0x000f ;take last digit of ax add al, 0x30 cmp al, 0x39 ;if al > 0x39=57, add 7 to get A-F jle append_string add al, 7 append_string: sub bx, ...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_101.asm
ljhsiun2/medusa
9
128956
<filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_101.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x6df6, %r10 nop nop nop cmp $7598, %r14 mov (%r10), %rcx nop nop nop nop nop sub $17311, %r14 lea...
drivers/video/ms/vga/disp/8bpp/i386/fasttext.asm
npocmaka/Windows-Server-2003
17
128957
<reponame>npocmaka/Windows-Server-2003 ;---------------------------Module-Header------------------------------; ; Module Name: fasttext.asm ; ; Copyright (c) 1992 Microsoft Corporation ;-----------------------------------------------------------------------; ;-------------------------------------------------------...
Library/Text/Ruler/rulerMouse.asm
steakknife/pcgeos
504
128958
COMMENT @---------------------------------------------------------------------- Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: Text FILE: rulerMouse.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 4/92 Initial version DESCRIPTION: ...
libsrc/stdlib/t_delay.asm
meesokim/z88dk
0
128959
<filename>libsrc/stdlib/t_delay.asm<gh_stars>0 ; void __FASTCALL__ t_delay(unsigned int tstates) PUBLIC t_delay ; Z80 delay routine ; by <NAME>, license GPL ; wait hl T (including call; hl>=141) ; destroys: af, bc, hl .t_delay ld bc,-141 add hl,bc ld bc,-23 .loop ...
project 04/Fill.asm
jack-zheng/nand2tetris
0
128960
<reponame>jack-zheng/nand2tetris // This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by <NAME> Schocken, 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 blacke...
Driver/Printer/PrintCom/printcomIBMStyles.asm
steakknife/pcgeos
504
128961
<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: IBM Proprinter Print Drivers FILE: printcomIBMStyles.asm AUTHOR: <NAME>, 1 March 1990 ROUTINES: Name Description...
libsrc/ace/tape/tape_save_block_callee.asm
meesokim/z88dk
0
128963
<reponame>meesokim/z88dk ; ; Tape save routine ; ; Stefano 31/5/2010 ; ; int __CALLEE__ tape_save_block_callee(void *addr, size_t len, unsigned char type) PUBLIC tape_save_block_callee PUBLIC ASMDISP_TAPE_SAVE_BLOCK_CALLEE .tape_save_block_callee pop ix pop bc pop de pop hl push ix ; enter : hl ...
university/rect_integral.asm
ratedali/assembly-exercises
1
128964
<reponame>ratedali/assembly-exercises section .data file: db "FunctionOfX.txt",0 mode: db "r",0 format: db "%lf %lf",0 outformat: db "R = %f",0 file_no: dd 0 x: dq 0 x_prev: dq 0 f: dq 0 integral: ...
Fet.asm
danielkrupinski/Fet
3
128966
format PE GUI 6.0 entry start include 'INCLUDE/win32ax.inc' struct PROCESSENTRY32 dwSize dd ? cntUsage dd ? th32ProcessID dd ? th32DefaultHeapID dd ? th32ModuleID dd ? cntThreads dd ? th32ParentPro...
maps/Route27SandstormHouse.asm
Dev727/ancientplatinum
28
128967
object_const_def ; object_event constants const ROUTE27SANDSTORMHOUSE_GRANNY Route27SandstormHouse_MapScripts: db 0 ; scene scripts db 0 ; callbacks SandstormHouseWoman: faceplayer opentext checkevent EVENT_GOT_TM37_SANDSTORM iftrue .AlreadyGotItem special GetFirstPokemonHappiness writetext SandstormHouseW...
oeis/228/A228358.asm
neoneye/loda-programs
11
128968
<filename>oeis/228/A228358.asm ; A228358: Numbers n such that 3*n - 4 is not prime. ; Submitted by <NAME> ; 1,4,6,8,10,12,13,14,16,18,20,22,23,24,26,27,28,30,32,33,34,36,38,40,41,42,43,44,46,48,49,50,52,53,54,55,56,58,60,62,63,64,66,68,69,70,71,72,73,74,75,76,78,80,82,83,84,86,88,90,92,93,94,96,97,98,100,101,102,103,10...
sys/boot/boot.asm
matsud224/tinyos
49
128969
[bits 32] pdtbase equ 0x2000 kernstacksz equ 4096 * 8 mb_magic equ 0x1badb002 mb_flags equ 0x3 mb_checksum equ -(mb_magic + mb_flags) section .multiboot align 4 dd mb_magic dd mb_flags dd mb_checksum section .stack align 16 global stack_bottom global stack_top stack_bottom: times kernstacksz db 0 sta...
bootloader/stage2/print.asm
RobbeDGreef/OS
87
128970
<reponame>RobbeDGreef/OS print: pusha start: mov al, [bx] cmp al, 0 je done mov ah, 0x0e int 0x10 add bx, 1 jmp start done: popa ret print_newline: pusha mov ah, 0x0e mov al, 0x0a ...
src/music.asm
maciejmalecki/trex64
11
128971
<reponame>maciejmalecki/trex64<gh_stars>10-100 /* MIT License Copyright (c) 2021 <NAME> 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 limita...
Test/Z80/ss.asm
sparks-c16/zasm
43
128973
<reponame>sparks-c16/zasm org 50h ld a,00000000 out (71h),a out (71h),a out (71h),a ld a,40h out (71h),a ld a,0dah out (71h),a ld a,37h out (71h),a s: in a,(71h) rrca jr nc,s ld a,(00010000) out (70h),a _r: in a,(71h) rrca rrca jr nc,_r in a,(70h) ld (00010000),a end
oeis/151/A151542.asm
neoneye/loda-programs
11
128974
<reponame>neoneye/loda-programs ; A151542: Generalized pentagonal numbers: a(n) = 12*n + 3*n*(n-1)/2. ; Submitted by <NAME> ; 0,12,27,45,66,90,117,147,180,216,255,297,342,390,441,495,552,612,675,741,810,882,957,1035,1116,1200,1287,1377,1470,1566,1665,1767,1872,1980,2091,2205,2322,2442,2565,2691,2820,2952,3087,3225,3366...
graphics/BackgroundHelper.asm
sleepingburrito/BackIsle
1
128975
<reponame>sleepingburrito/BackIsle SECTION "MAIN", ROM0[$0150] include "graphics/DialogueUI.asm" include "graphics/DialogHelper.asm" include "graphics/TextHelper.asm" ;copy tile map ;============= ;copy a full tile map to bg tile map ;BC: form, start of tilemap to copy ;HL: to, where in the bg tile map you wa...
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_ceil_fastcall.asm
meesokim/z88dk
0
128976
; float ceil(float x) __z88dk_fastcall SECTION code_fp_math48 PUBLIC cm48_sdcciy_ceil_fastcall EXTERN cm48_sdcciyp_dx2m48, am48_ceil, cm48_sdcciyp_m482d cm48_sdcciy_ceil_fastcall: call cm48_sdcciyp_dx2m48 call am48_ceil jp cm48_sdcciyp_m482d
libsrc/adt/linkedlist/adt_ListDeleteS_callee.asm
grancier/z180
8
128977
<filename>libsrc/adt/linkedlist/adt_ListDeleteS_callee.asm ; void __CALLEE__ adt_ListDeleteS_callee(struct adt_List *list, void *delete) ; /* void __FASTCALL__ (*delete)(void *item) */ ; 02.2003, 06.2005 aralbrec SECTION code_clib PUBLIC adt_ListDeleteS_callee PUBLIC _adt_ListDeleteS_callee PUBLIC ASMDISP_ADT_LISTDELE...
lab2.asm
GuyueFang/xv6
0
128979
<gh_stars>0 _lab2: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "types.h" #include "user.h" int main(int argc, char *argv[]) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 1...
vm/asm_constructions_test/StaticTestConstructionTest.asm
MarkoVMicic/nand2tetris-solutions
0
128980
<gh_stars>0 // Initialize stack pointer to start at 256 (i.e. RAM[0] contains 256) @256 D=A @SP M=D // Do stuff in Static test @111 D=A @SP A=M M=D @SP M=M+1 @333 D=A @SP A=M M=D @SP M=M+1 @888 D=A @SP A=M M=D @SP M=M+1 @SP M=M-1 A=M D=M @StaticTest.8 M=D @SP M=M-1 A=M D=M @StaticTest.3 M=D @SP M=M-1 A=M D=M @StaticTe...
programs/oeis/072/A072674.asm
karttu/loda
0
128981
<reponame>karttu/loda ; A072674: 3^n+2*2^n-3. ; 0,4,14,40,110,304,854,2440,7070,20704,61094,181240,539630,1610704,4815734,14414440,43177790,129402304,387944774,1163310040,3488881550,10464547504,31389448214,94159956040,282463090910,847355718304 mov $2,6 lpb $0,1 sub $0,1 add $3,$2 sub $3,4 add $1,$3 mul $1,2 ...
programs/oeis/135/A135532.asm
neoneye/loda
22
128982
; A135532: a(n) = 2*a(n-1) + a(n-2), with a(0)= -1, a(1)= 3. ; -1,3,5,13,31,75,181,437,1055,2547,6149,14845,35839,86523,208885,504293,1217471,2939235,7095941,17131117,41358175,99847467,241053109,581953685,1404960479,3391874643,8188709765,19769294173,47727298111,115223890395,278175078901,671574048197,1621323175295,39142...
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1253.asm
ljhsiun2/medusa
9
128983
<filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1253.asm .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x3112, %rsi lea addresses_WC_ht+0x12b92, %rdi nop nop nop and %r9, %r9 mov $105, %rcx...
programs/oeis/186/A186383.asm
karttu/loda
0
128985
; A186383: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f(i)=5i and g(j)=j(j+1)/2 (triangular number). Complement of A186384. ; 3,5,7,9,11,13,14,16,17,19,20,22,23,25,26,28,29,30,32,33,34,36,37,38,40,41,42,44,45,46,48,49,50,51,53,54,55,56,58,59,60,61,63,64,65,66,68,69,70...
debug/bootstrap.o.asm
SharpCoder/rpi-kernel
73
128986
bootstrap.o: file format elf32-littlearm Disassembly of section .text: 00000000 <init>: 0: e3a0d702 mov sp, #524288 ; 0x80000 4: ebfffffe bl 0 <kmain> 8: eaffffff b c <hang$> 0000000c <hang$>: c: eafffffe b c <hang$> Disassembly of section .ARM.attributes: 00000000 <.ARM.attributes>: 0: 00...
Examples/ch15/Pixel2.asm
satadriver/LiunuxOS
0
128988
<filename>Examples/ch15/Pixel2.asm TITLE Cartesian Coordinates (Pixel2.asm) ; This program switches into 800 X 600 graphics mode and ; draws the X and Y axes of a Cartesian coordinate system. ; Switch to full-screen mode before running this program. ; Color constants are defined in Irvine16.inc. ...
iod/iou/defs.asm
olifink/smsqe
0
128990
; Additional definitions for IOU routines section iou xdef iou_ ;+++ ; The IOU routines make a number of assummptions about the filing system ; device data structures over and above those of QDOS. ; ; Drive Definition ; ; iod_mnam equ $0016 string Medium NAMe (up to 10 characters long) ; iod...
programs/oeis/235/A235534.asm
neoneye/loda
22
128991
<filename>programs/oeis/235/A235534.asm ; A235534: a(n) = binomial(6*n, 2*n) / (4*n + 1). ; 1,3,55,1428,43263,1430715,50067108,1822766520,68328754959,2619631042665,102240109897695,4048514844039120,162250238001816900,6568517413771094628,268225186597703313816,11034966795189838872624,456949965738717944767791 mul $0,2 mov...
test2/test_ptn_asm/instructions_b.asm
csrdxbb/xbyak_aarch64
1
128992
<gh_stars>1-10 bsl2n z8.d,z8.d/*asm*/,z8.d,z8.d bsl2n z1.d,z1.d/*asm*/,z8.d,z8.d bsl2n z2.d,z2.d/*asm*/,z8.d,z8.d bsl2n z4.d,z4.d/*asm*/,z8.d,z8.d bsl2n z0.d,z0.d/*asm*/,z8.d,z8.d bsl2n z16.d,z16.d/*asm*/,z8.d,z8.d bsl2n z30.d,z30.d/*asm*/,z8.d,z8.d bsl2n z31.d,z31.d/*asm*/,z8.d,z8.d bsl2n z8.d,z8.d/*asm*/,z8.d,z8.d bs...
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_erfc_fastcall.asm
meesokim/z88dk
0
128993
<gh_stars>0 ; float erfc(float x) __z88dk_fastcall SECTION code_fp_math48 PUBLIC cm48_sdccix_erfc_fastcall EXTERN cm48_sdccixp_dx2m48, am48_erfc, cm48_sdccixp_m482d cm48_sdccix_erfc_fastcall: call cm48_sdccixp_dx2m48 call am48_erfc jp cm48_sdccixp_m482d
oeis/253/A253880.asm
neoneye/loda-programs
11
128995
<reponame>neoneye/loda-programs<filename>oeis/253/A253880.asm ; A253880: Triangular numbers (A000217) that are also centered heptagonal numbers (A069099). ; Submitted by <NAME> ; 1,253,64261,16322041,4145734153,1053000152821,267457893082381,67933251842771953,17254778510170993681,4382645808331589623021,11131747805377135...
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_3081.asm
ljhsiun2/medusa
9
128996
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r14 push %r8 push %rax push %rcx push %rsi // Store lea addresses_WT+0x1cd23, %rcx nop cmp $8283, %r12 movl $0x51525354, (%rcx) nop nop nop nop nop add %rcx, %rcx // Faulty Lo...
programs/oeis/221/A221049.asm
neoneye/loda
22
128997
<reponame>neoneye/loda ; A221049: Expansion of (1+2*x+3*x^2-x^3)/((1-x)*(1+x)*(1-2*x)*(1+2*x)). ; 1,2,8,9,36,37,148,149,596,597,2388,2389,9556,9557,38228,38229,152916,152917,611668,611669,2446676,2446677,9786708,9786709,39146836,39146837,156587348,156587349,626349396,626349397,2505397588,2505397589,10021590356,10021590...
demos/SicDemos/graph-screen/dino-runner/dino-runner-vsync.asm
roycrippen/sicxe
0
128998
dino START 0 . TEXT MAIN_ENTRY ............ INITIALIZE STACK ............ JSUB stackinit ............................................. ............ INIT PLAYER VARIABLES ............. LDA #30 FLOAT STF playerX ...
maze_fasm.asm
hwreverse/g850_maze
0
128999
; Maze implementation in Z80 Assembler ; by HWR0 aka @r0_hw ; Code bits from libg800 ; Sept '2021 ; Assembled with z88dk ; ------------------------------------ ORG 0x100 home_screen: ld A, 0x40 out (0x40), A ; clear vvram maze_start: call vclear ld A, R ld H, A ld A, R ld L, A ca...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_616.asm
ljhsiun2/medusa
9
129000
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_A_ht+0x1e5c0, %rdi nop nop nop nop and $1535, %r8 and $0xffffffffffffffc0, %rdi movntdqa (%rdi), %xmm0 vpextrq $1, %xmm0, %r13 nop nop nop nop sub %r10, %r10 lea addresses_A_ht+0x1414...
src/map.asm
cicr99/SpaceInvaders
3
129001
%define MAP_ASM %include "map.mac" extern putc %macro INI 0 push ebp mov ebp, esp pusha %endmacro %macro END 0 popa mov esp, ebp pop ebp %endmacro section .text global paint_map paint_map: INI %define punt_map [ebp + 8] mov ch, 0 mov cl, 0 mov esi, 0 mov edi, punt_map paint_map.jump: ...
Working Disassembly/General/Sprites/Shields/Map - Shield S2.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
0
129004
dc.w word_18A4E-Map_Shield_S2 dc.w word_18A68-Map_Shield_S2 dc.w word_18A82-Map_Shield_S2 dc.w word_18A9C-Map_Shield_S2 dc.w word_18AB6-Map_Shield_S2 dc.w word_18AD0-Map_Shield_S2 word_18A4E: dc.w 4 ; DATA XREF: ROM:00018A42o dc.b $F0, 5, 0, 0, $FF, $F0 dc.b $F0, 5, 8, 0, 0, 0 dc.b...
interrupt/i3.asm
remy/z80-wip
0
129005
<reponame>remy/z80-wip<gh_stars>0 device ZXSPECTRUMNEXT BORDER: equ $c350 Start: equ $8000 org Start jr SetupISR Update: ld a,(BORDER) break inc a ld c,7 and c out (254),a ld (BORDER),a ret SetupISR: ; Setup the 128 entry vector table di ld hl, IM2Table l...
oeis/000/A000153.asm
neoneye/loda-programs
11
129007
; A000153: a(n) = n*a(n-1) + (n-2)*a(n-2), with a(0) = 0, a(1) = 1. ; Submitted by <NAME>(s4) ; 0,1,2,7,32,181,1214,9403,82508,808393,8743994,103459471,1328953592,18414450877,273749755382,4345634192131,73362643649444,1312349454922513,24796092486996338,493435697986613143,10315043624498196944,225991194376207785541,517810...
Test_AllInstructions/testprogram-all_instructions.asm
colasgrenier/pipelined-mips-processor
0
129008
#Testing forwarding for execute using execute result and memory result together #Just to start us off, do addi addi $1, $1, 8 addi $2, $2, 16 addi $6, $6, 12 addi $16, $16, 159 #Arithmetic add $1, $1, $2 sw $1, 0($0) sub $2, $1, $2 sw $2, 4($0) #R1=24, R2=8 #need mult to get a 64 bit result (a 1 somew...
ugbc/src/hw/zx/text_at.asm
spotlessmind1975/ugbasic
10
129010
; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021-2022 <NAME> (<EMAIL>) ; * ; * Licensed under the Apache...
programs/oeis/266/A266550.asm
karttu/loda
1
129013
<gh_stars>1-10 ; A266550: Independence number of the n-Mycielski graph. ; 1,1,2,5,11,23,47,95,191,383,767,1535,3071,6143,12287,24575,49151,98303,196607,393215,786431,1572863,3145727,6291455,12582911,25165823,50331647,100663295,201326591,402653183,805306367,1610612735,3221225471,6442450943,12884901887 mov $1,2 pow $1,$...
untested/x86/convert.asm
GabrielRavier/Generic-Assembly-Samples
0
129014
<reponame>GabrielRavier/Generic-Assembly-Samples<gh_stars>0 global _i32toi64 segment .text align=16 _i32toi64: mov eax, [esp + 4] cdq ret align 16 _i32toi64Alt: mov eax, [esp + 4] mov edx, eax sar edx, 31 ret
ffmpeg-3.2.5/libavfilter/x86/vf_bwdif.asm
huyu0415/FFmpeg
3,645
129015
;***************************************************************************** ;* x86-optimized functions for bwdif filter ;* ;* Copyright (C) 2016 <NAME> <<EMAIL>> ;* ;* Based on yadif simd code ;* Copyright (C) 2006 <NAME> <<EMAIL>> ;* 2013 <NAME> <<EMAIL>> ;* ;* This file is part of FFmpeg. ;* ;* FFmpe...
farthing.asm
lsst-sqre/minimal
0
129017
<filename>farthing.asm ;; https://stackoverflow.com/questions/53382589 ;; tiny x86_64 Linux executable modified to return 0 rather than 42. bits 64 org 0x08048000 ehdr: ; Elf64_Ehdr db 0x7F, "ELF", 2, 1, ; e_ident _start: m...
arch/x86/gdt.asm
jroivas/cxx-kernel
1
129018
[global gdt_flush] [extern __gdt_ptr] gdt_flush: lgdt [__gdt_ptr] mov ax, 0x10 mov ds, ax mov es, ax mov ss, ax ;mov fs, ax ;mov gs, ax mov ax, 0x30 ;or ax, 3 mov fs, ax ;gs mov ax, 0x38 ;or ax, 3 mov gs, ax jmp 0x08:__gdt_flush_exit __gdt_flush_exit: re...
MSDOS/Virus.MSDOS.Unknown.vboot.asm
fengjixuchui/Family
3
129019
<reponame>fengjixuchui/Family<gh_stars>1-10 jmp short loc_3 nop dec cx inc dx dec bp and [bx+si],ah xor bp,data_10 add al,[si] data_14 dw 1 add al,[bx+si] add bh,[bp+di] mov data_12,al add [bx+di],dl add [si],al add [bx+di],dl add [bp+di],dh loc_3: xor ax,ax mov ss,ax mov sp,7C00h ...
libsrc/stdio/ansi/px4/f_ansi_scrollup.asm
grancier/z180
0
129020
; ; ANSI Video handling for the Epson PX4 ; By <NAME> - Nov 2014 ; ; Scrollup ; ; ; $Id: f_ansi_scrollup.asm,v 1.2 2016/06/12 16:06:43 dom Exp $ ; SECTION code_clib PUBLIC ansi_SCROLLUP EXTERN ansi_del_line .ansi_SCROLLUP ld hl,8*32 ld de,$e000 add hl,de ld bc,32*8*7 ldir ld a,7 jp ansi_del_...
ASM/src/textload.asm
accept8605/OOT-Rando-with-working-Navi
0
129021
<reponame>accept8605/OOT-Rando-with-working-Navi ;Accept86 WorkingNavi / Saria Repeats hints ;================================================================================================== ;TextTables for NaviHints / Saria TABLE_START equ 0xB849EC C_TABLE_START: .word TABLE_START TABLE_START_RAM equ 0x8010EA8C...
src/unison/test/fast/ARM/size/gcc.expmed.ceil_log2.asm
Patstrom/disUnison
88
129024
.text .syntax unified .eabi_attribute 67, "2.09" @ Tag_conformance .cpu arm1156t2f-s .eabi_attribute 6, 8 @ Tag_CPU_arch .eabi_attribute 8, 1 @ Tag_ARM_ISA_use .eabi_attribute 9, 2 @ Tag_THUMB_ISA_use .fpu vfpv2 .eabi_attribute 17, 1 @ Tag_ABI_PCS_GOT_use .eabi_attribute 20, 1 @ Tag_ABI_FP_denormal .eabi_att...
oeis/104/A104513.asm
neoneye/loda-programs
11
129025
<filename>oeis/104/A104513.asm ; A104513: The number of consecutive integers > 1 beginning with A104512(n), the sum of which equals n, or 0 if impossible. ; Submitted by <NAME> ; 0,0,2,0,2,3,2,0,3,4,2,3,2,4,5,0,2,4,2,5,6,4,2,3,5,4,6,7,2,5,2,0,6,4,7,8,2,4,6,5,2,7,2,8,9,4,2,3,7,5,6,8,2,9,10,7,6,4,2,8,2,4,9,0,10,11,2,8,6,...
libsrc/stdio/vsscanf.asm
jpoikela/z88dk
640
129026
<filename>libsrc/stdio/vsscanf.asm MODULE vsscanf SECTION code_clib PUBLIC vsscanf EXTERN asm_scanf EXTERN scanf_ungetc EXTERN scanf_getc EXTERN __sgoioblk ; sccz80 version ;void vsscanf(char *buf, char *fmt,va_arg ap) ;{ ; asm_scanf(fp, ungetc, getc, sccz80_delta, *ct,ct-1); ;} vsscanf: ld hl,7 ...
home/pokedex_flags.asm
AtmaBuster/pokeplat-gen2
6
129027
SetSeenAndCaughtMon:: call GetPokemonFlagIndex push de call SetSeenMonIndex pop de SetCaughtMonIndex:: ld hl, wPokedexCaught jr SetPokedexStatusMonIndex SetSeenMon:: call GetPokemonFlagIndex SetSeenMonIndex:: ld hl, wPokedexSeen SetPokedexStatusMonIndex: ld b, SET_FLAG jr FlagActionBaseOne CheckCaughtMon:: ...
data/pokemon/base_stats/rhydon.asm
opiter09/ASM-Machina
1
129029
db DEX_RHYDON ; pokedex id db 105, 130, 120, 40, 45 ; hp atk def spd spc db GROUND, ROCK ; type db 60 ; catch rate db 204 ; base exp INCBIN "gfx/pokemon/front/rhydon.pic", 0, 1 ; sprite dimensions dw RhydonPicFront, RhydonPicBack db HORN_ATTACK, STOMP, TAIL_WHIP, FURY_ATTACK ; level 1 learnset db ...
src/bin/cpu-visualizer/asm/fibonacci-u16.asm
gregtatum/cpu-6502-rs
0
129031
; Fill the zero page with the fibonacci sequence ; Set the initial arguments jsr init jsr fibonacci kil init: ; Store the first 2 values of the fibonacci sequence. ; Little endian u16: 0 lda #$00 sta $00 lda #$00 sta $01 ; Little endian u16: 1 lda #$01 sta $02 lda #$00 sta $03 ; Set the X v...
Transynther/x86/_processed/NONE/_ht_st_zr_un_/i7-7700_9_0xca.log_21829_883.asm
ljhsiun2/medusa
9
129032
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1e47a, %r8 nop nop nop nop nop sub $9391, %rdi mov $0x6162636465666768, %rax movq %rax, (%r8) nop inc %rbx lea addresses_WT_ht+0x14cda, %rax xor %r11, %r11 movb (%rax), %r14b ...
L7P2_mms282.asm
MattStrauss/simon-mips
0
129034
.data ### Provided stack data ### stack_beg: .word 0 : 100 stack_end: ### Provided queue data ### sequence_queue: .word 0 : 10 # Ascii messages ### user_input_prompt: .asciiz "Enter the pattern that you just watched \n" lose_message: .asciiz "Sorry, you lost. Try again sometime! \n" win_message: "Cong...
Driver/Printer/PrintCom/Cursor/cursorSetCursorPCL.asm
steakknife/pcgeos
504
129035
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: LaserJet print driver FILE: cursorSetCursorPCL.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- REVISION HI...
oeis/100/A100150.asm
neoneye/loda-programs
11
129036
; A100150: Structured snub cubic numbers. ; Submitted by <NAME>(s2) ; 1,24,107,288,605,1096,1799,2752,3993,5560,7491,9824,12597,15848,19615,23936,28849,34392,40603,47520,55181,63624,72887,83008,94025,105976,118899,132832,147813,163880,181071,199424,218977,239768,261835,285216,309949,336072,363623,392640,423161,455224,4...
Homework Submission/Homework 5/1.asm
asad-n/CSE331L_Section_7_Summer_2020_NSU
0
129037
.MODEL SMALL .STACK 100H .DATA PROMPT DB 'ENTER THE BINARY NUM:$' MSG DB 0DH, 0AH, 'GIVEN BINARY NUM IN REV ORDER:$' .CODE MAIN PROC MOV AX,@DATA MOV DS,AX LEA DX, PROMPT MOV AH, 9 INT 21H XOR BL,BL MOV CX,8 MOV AH,1 ...
oeis/109/A109242.asm
neoneye/loda-programs
11
129038
<reponame>neoneye/loda-programs ; A109242: Expansion of 1/((1-x)(1-10x)(1-100x)). ; 1,111,11211,1122211,112232211,11223332211,1122334332211,112233444332211,11223344544332211,1122334455544332211,112233445565544332211,11223344556665544332211,1122334455667665544332211,112233445566777665544332211,11223344556677877665544332...
src/Fixed/Interrupts.asm
stoneface86/GameboyBoilerplateProj
25
129039
; Hardware interrupts section "iVBlank", rom0 [$40] jp VBlank section "iLCDC", rom0 [$48] jp LCDC section "iTimer", rom0 [$50] jp Timer section "iSerial", rom0 [$58] jp Serial ; Unused and really shouldn't be used section "iJoypad", rom0 [$60] jp Joypad
src/cm_draw.asm
spannerisms/lttphack
6
129041
<gh_stars>1-10 EmptyEntireMenu: REP #$20 SEP #$10 LDX.b #$00 LDA.w #$002F .loop STA.w SA1RAM.MENU+$0000,X : STA.w SA1RAM.MENU+$0080,X STA.w SA1RAM.MENU+$0100,X : STA.w SA1RAM.MENU+$0180,X STA.w SA1RAM.MENU+$0200,X : STA.w SA1RAM.MENU+$0280,X STA.w SA1RAM.MENU+$0300,X : STA.w SA1RAM.MENU+$0380,X STA.w SA1RAM....
oeis/078/A078015.asm
neoneye/loda-programs
11
129043
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A078015: Expansion of (1-x)/(1-x+x^2-2*x^3). ; Submitted by <NAME>(s1.) ; 1,0,-1,1,2,-1,-1,4,3,-3,2,11,3,-4,15,25,2,7,55,52,11,69,162,115,91,300,439,321,482,1039,1199,1124,2003,3277,3522,4251,7283,10076,11295,15785,24642,31447,38375,56212,80731,101269,132962,193155,2627...
programs/oeis/098/A098359.asm
karttu/loda
1
129044
<reponame>karttu/loda ; A098359: Multiplication table of the square numbers read by antidiagonals. ; 1,4,4,9,16,9,16,36,36,16,25,64,81,64,25,36,100,144,144,100,36,49,144,225,256,225,144,49,64,196,324,400,400,324,196,64,81,256,441,576,625,576,441,256,81,100,324,576,784,900,900,784,576,324,100,121,400,729 cal $0,3991 ; ...
programs/oeis/047/A047429.asm
karttu/loda
1
129045
<filename>programs/oeis/047/A047429.asm ; A047429: Numbers that are congruent to {4, 5, 6} mod 8. ; 4,5,6,12,13,14,20,21,22,28,29,30,36,37,38,44,45,46,52,53,54,60,61,62,68,69,70,76,77,78,84,85,86,92,93,94,100,101,102,108,109,110,116,117,118,124,125,126,132,133,134,140,141,142,148,149,150,156,157 mov $1,$0 div $0,3 mul...
programs/oeis/061/A061142.asm
jmorken/loda
1
129046
; A061142: Replace each prime factor of n with 2: a(n) = 2^bigomega(n), where bigomega = A001222, number of prime factors counted with multiplicity. ; 1,2,2,4,2,4,2,8,4,4,2,8,2,4,4,16,2,8,2,8,4,4,2,16,4,4,8,8,2,8,2,32,4,4,4,16,2,4,4,16,2,8,2,8,8,4,2,32,4,8,4,8,2,16,4,16,4,4,2,16,2,4,8,64,4,8,2,8,4,8,2,32,2,4,8,8,4,8,2,...
oeis/002/A002999.asm
neoneye/loda-programs
11
129047
<filename>oeis/002/A002999.asm ; A002999: Expansion of (1+x*exp(x))^2. ; 1,2,6,18,56,170,492,1358,3600,9234,23060,56342,135192,319514,745500,1720350,3932192,8912930,20054052,44826662,99614760,220201002,484442156,1061158958,2315255856,5033164850,10905190452,23555211318,50734301240,108984795194,233538846780,499289948222,...
challenge.asm
KanegaeGabriel/synacor-challenge
0
129048
<reponame>KanegaeGabriel/synacor-challenge 0: noop 1: noop 2: out 87 # 'W' 4: out 101 # 'e' 6: out 108 # 'l' 8: out 99 # 'c' 10: out 111 # 'o' 12: out 109 # 'm' 14: out 101 # 'e' 16: out 32 # ' ' 18: out 116 # 't' 20: out 111 # 'o' 2...
test/fib64.asm
hqythu/MIPS-CPU
3
129049
<filename>test/fib64.asm START: NOP LI R1 0X01 LI R2 0X00 LI R3 0X00 LI R4 0X00 ; R7为当前需要写入的内存地址 LI R7 0X86 SLL R7 R7 0X0 SW R7 R1 0X0 SW R7 R2 0X1 SW R7 R3 0X3 SW R7 R4 0X4 ADDIU R7 0X4 SW R7 R1 0X0 SW R7 R2 0X1 SW R7 R3 0X3 SW R7 R4 0X4 ADDIU R7 0X4 LI R0 0X2 ; 外层循环的起始点,用于计算每一...
octa.asm
gp48k/lpfp
17
129050
<gh_stars>10-100 ; Convert 3D FP vector to octahedral map index ; Input: (BC,DE,HL) = 3D vector ; Output: A = octahedral map index ; Pollutes: F, AF',BC, BC', DE, DE', HL, HL' V3D2O: PUSH HL PUSH DE PUSH BC RES 7,H RES 7,D CALL FADDP LD E,C LD D,B RES 7,D CALL FADDP POP BC PUSH HL CALL FDIV EXX POP HL PO...
oeis/134/A134763.asm
neoneye/loda-programs
11
129051
<reponame>neoneye/loda-programs<filename>oeis/134/A134763.asm ; A134763: A000718^(-2) * A134762. ; Submitted by <NAME>(s1) ; 1,2,4,2,16,2,58,2,208,2,754,2,2770,2 mov $1,$0 div $0,2 sub $2,$1 bin $1,$0 mod $2,2 gcd $1,$2 mul $1,3 sub $1,$2 mov $0,$1 sub $0,2
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1748.asm
ljhsiun2/medusa
9
129052
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1a027, %rsi lea addresses_WC_ht+0x11e2d, %rdi nop nop inc %r9 mov $10, %rcx rep movsw nop mfence lea addresses_normal_ht+0xf507, %r15 and $53558, %rbp movb $0x61, (%r15) nop n...
programs/oeis/118/A118415.asm
neoneye/loda
22
129053
<filename>programs/oeis/118/A118415.asm ; A118415: (4*n - 3) * 2^(n - 1). ; 1,10,36,104,272,672,1600,3712,8448,18944,41984,92160,200704,434176,933888,1998848,4259840,9043968,19136512,40370176,84934656,178257920,373293056,780140544,1627389952,3388997632,7046430720,14629732352,30333206528,62813896704,129922760704,2684354...
libsrc/target/ticalc/stdio/ansi/f_ansi_cls.asm
Frodevan/z88dk
640
129054
; ; ANSI Video handling for the TI calculators ; By <NAME> - Dec. 2000 ; ; CLS - Clear the screen ; ; ; $Id: f_ansi_cls.asm,v 1.6 2016-06-12 16:06:43 dom Exp $ ; INCLUDE "target/ticalc/stdio/ansi/ticalc.inc" SECTION code_clib PUBLIC ansi_cls EXTERN base_graphics EXTERN cpygraph .ansi_cls ld hl,(bas...
oeis/006/A006504.asm
neoneye/loda-programs
11
129055
<reponame>neoneye/loda-programs ; A006504: Coefficient of x^4 in (1-x-x^2)^(-n). ; Submitted by <NAME> ; 5,20,51,105,190,315,490,726,1035,1430,1925,2535,3276,4165,5220,6460,7905,9576,11495,13685,16170,18975,22126,25650,29575,33930,38745,44051,49880,56265,63240,70840,79101,88060,97755,108225,119510,131651,144690,158670,...
data/pokemon/dex_entries/mismagius.asm
AtmaBuster/pokeplat-gen2
6
129056
db "MAGICAL@" ; species name db "Its cry sounds" next "like incantations" next "to torment its" page "foes. It will" next "appear when you" next "least expect it.@"
oeis/088/A088671.asm
neoneye/loda-programs
11
129057
<reponame>neoneye/loda-programs<filename>oeis/088/A088671.asm ; A088671: Number of n X n matrices over GF(3) with characteristic polynomial x^(n-1) * (x-1). ; Submitted by <NAME> ; 1,12,1053,787320,5208653241,308413053837252,164053436379620039253,784901799876425497055472240,33790882475498615361517892887614321,130917236...
programs/oeis/014/A014963.asm
neoneye/loda
22
129058
; A014963: Exponential of Mangoldt function M(n): a(n) = 1 unless n is a prime or prime power when a(n) = that prime. ; 1,2,3,2,5,1,7,2,3,1,11,1,13,1,1,2,17,1,19,1,1,1,23,1,5,1,3,1,29,1,31,2,1,1,1,1,37,1,1,1,41,1,43,1,1,1,47,1,7,1,1,1,53,1,1,1,1,1,59,1,61,1,1,2,1,1,67,1,1,1,71,1,73,1,1,1,1,1,79,1,3,1,83,1,1,1,1,1,89,1,...
libsrc/z80_crt0s/crt0/l_getptr.asm
meesokim/z88dk
0
129059
<reponame>meesokim/z88dk<filename>libsrc/z80_crt0s/crt0/l_getptr.asm ; Z88 Small C+ Run Time Library ; ; Get Long Pointer from Near Memory PUBLIC l_getptr ;Fetch long from (hl) .l_getptr ld e,(hl) inc hl ld d,(hl) inc hl ld l,(hl) ld h,0 ex de,hl ret
pwnlib/shellcraft/templates/arm/linux/write_stack.asm
alexpark07/pwntools
1
129060
<% from pwnlib.shellcraft import arm, common %> <%page args="out_fd=None, size=255" /> <%docstring> Writes a file from stack Args: out_fd (imm/reg) = STDIN_FILENO size (int/str/imm/reg) = 255 </%docstring> mov r2, ${size} mov r0, ${out_fd} mov r1, sp svc SYS_write
base/runtime/shl.asm
polluks/effectus
7
129061
/* shlEAX_CL.BYTE shlEAX_CL.WORD shlEAX_CL.CARD */ .proc shlEAX_CL ;SHORT jsr @expandToCARD1.SHORT ; jmp CARD ;SMALL jsr @expandToCARD1.SMALL ; jmp CARD BYTE lda #0 sta :STACKORIGIN-1+STACKWIDTH,x WORD lda #0 sta :STACKORIGIN-1+STACKWIDTH*2,x sta :STACKORIGIN-1+STACKWIDTH*3,x CARD clc...
test/decoder/arm/fasmarm/memory.golden.asm
matanlurey/armv4t.dart
8
129063
ldr r0, [r1] ;e5910000 ldr r0, [r1], r2 ;e6910002 ldr r0, [r1], -r2 ;e6110002 ldr r0, [r1], -r2, lsl 3 ;e6110182 ldr r0, [r1], r2, lsr 3 ;e69101a2 ldr r0, [r1], r2, asr 3 ;e69101c2 ldr r0, [r1], r2, ror 3 ;e69101e2 ldr r0, [r1], -r2, ...
programs/oeis/106/A106633.asm
neoneye/loda
22
129064
; A106633: Number of ways to express n as k+l*m, with k, l, m all in the range [0..n]. ; 1,4,8,12,17,21,27,31,37,42,48,52,60,64,70,76,83,87,95,99,107,113,119,123,133,138,144,150,158,162,172,176,184,190,196,202,213,217,223,229,239,243,253,257,265,273,279,283,295,300,308,314,322,326,336,342,352,358,364,368,382,386,392,40...
PREV/prevNaloga2/prgs/final/sudoku.asm
RokKos/FRI_Programiranje
5
129065
% Code generated by PREV compiler SP GREG Stack_Segment FP GREG #6100000000000000 HP GREG Data_Segment LOC Data_Segment L3 BYTE "facItr:",0 L4 BYTE ": ",0 L5 BYTE "facRec:",0 L6 BYTE ": ",0 L7 BYTE "fibItr:",0 L8 BYTE ": ",0 L9 BYTE "fibRec:",0 L10 BYTE ": ",0 L11 BYTE "Combs:",0 L12 BYTE "BinTree:",0 L13 BYTE "Sudoku...
libsrc/stdio_new/fd/setdefdev.asm
meesokim/z88dk
8
129066
; void __FASTCALL__ *setdefdev(void *driver_function) ; 06.2008 aralbrec PUBLIC setdefdev EXTERN _stdio_defdev .setdefdev ; set a new default device ; ; enter : hl = void *driver_function ; exit : hl = former default driver function ld de,(_stdio_defdev) ld (_stdio_defdev),hl ex de,hl r...