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
Scripts/data/labels.asm
1888games/golf
1
201480
<gh_stars>1-10 .label ZERO= 0 .label FALSE = 0 .label ALL_ON = 255 .label TRUE = 1 .label PAL = 0 .label NTSC = 1 .label GAME_MAP = 0 .label GAME_TITLE = 1 .label PROCESSOR_PORT = $01 .label INTERRUPT_VECTOR = $fffe .label JOY_PORT_2 = $dc00 .label SCREEN_R...
oeis/308/A308136.asm
neoneye/loda-programs
11
201481
<filename>oeis/308/A308136.asm ; A308136: Number of (undirected) Hamiltonian paths in the 2n-crossed prism graph. ; 72,288,960,2880,8064,21504,55296,138240,337920,811008,1916928,4472832,10321920,23592960,53477376,120324096,268959744,597688320,1321205760,2906652672,6366953472,13891534848,30198988800,65431142400,14133126...
engine/bcd.asm
etdv-thevoid/pokemon-rgb-enhanced
9
201482
<reponame>etdv-thevoid/pokemon-rgb-enhanced DivideBCDPredef:: DivideBCDPredef2:: DivideBCDPredef3:: DivideBCDPredef4:: call GetPredefRegisters DivideBCD:: xor a ld [hDivideBCDBuffer], a ld [hDivideBCDBuffer+1], a ld [hDivideBCDBuffer+2], a ld d, $1 .mulBy10Loop ; multiply the divisor by 10 until the leading dig...
oeis/127/A127240.asm
neoneye/loda-programs
11
201484
<gh_stars>10-100 ; A127240: Partial sums of central coefficients of Thue-Morse binomial triangle A127236. ; 1,2,2,2,3,3,3,3,3,4,5,6,7,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,10,11,11,12,13,14,15,15,16,17,18,18,18,19,19,19,19,19,19,20,21,21,21,21,22,22,22,22,23,23,23 mov $2,$0 mov $4,$0 lpb $2 mov $0,$4 sub $2,1 sub $0...
nasm/hello.asm
findhamza/Compilers
0
201485
section .data msg db 'Hello World',0xa len equ $ - msg section .txt global _start _start: mov edx,len mov ecx,msg mov ebx,1 mov eax,4 int 0x80 mov eax,1 int 0x80
Driver/Printer/DotMatrix/Ppds24/ppds24Page.asm
steakknife/pcgeos
504
201486
<filename>Driver/Printer/DotMatrix/Ppds24/ppds24Page.asm COMMENT }%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1993 -- All Rights Reserved PROJECT: PC GEOS MODULE: printer drivers FILE: ppds24Page.asm AUTHOR: <NAME> ROUTINES: Name Descri...
Advanced Programming/hm10/example1.asm
eugenetriguba/academic-courses
0
201487
<filename>Advanced Programming/hm10/example1.asm<gh_stars>0 ; <NAME> <<EMAIL>> ; Advanced Programming: Homework 10 ; ; Evaluates the expression -(x + y - 2z + 1) ; for double-word values stored in memory .586 .MODEL FLAT .STACK 4096 .DATA x DWORD 35 y DWORD 47 z DWORD 26 result DWORD ? .CODE main PROC ...
solutions/67 - Decimal Doubler/size-25_speed-940.asm
michaelgundlach/7billionhumans
45
201488
-- 7 Billion Humans (2144) -- -- 67: Decimal Doubler -- -- Author: soerface -- Size: 25 -- Speed: 940 step s pickup c if s == button: mem1 = set 1 a: step s step n mem1 = calc mem1 x 2 mem4 = set mem1 b: mem3 = calc mem4 / 10 mem2 = set mem3 mem3 = calc mem3 x 10 mem3 = calc mem4 - mem3 mem4 = set mem2 s...
data/opcodes/ld_hl_bc.asm
colinw7/CZ80
0
201489
; ORG 0x0100 0100 11 34 12 ; LD DE, 0x1234 0103 01 ff ff ; LD BC, 0xffff ; again: 0106 d5 ; PUSH DE 0107 e1 ; POP HL 0108 09 ; ADD HL, BC 0109 df ; RST 0x18 010a 90 ; DEFB 0x90 ; success: 01...
C5515_Support_Files/C5515_Lib/dsplib_2.40.00/55x_src/mmul.asm
HeroSizy/Sizy
0
201491
<gh_stars>0 ;*********************************************************** ; Version 2.40.00 ;*********************************************************** ; Function: mmul ; Description: matrix multiply implementation ; Usage: short mmul( DATA *x1, XAR0 ; short row1,...
ADL/Assemble/Update/2/BHR_sort_dec.asm
MaxMorning/LinkedListVisualization
3
201493
<reponame>MaxMorning/LinkedListVisualization aLine 0 gNew basePtr gMoveNext basePtr, Root gNewVPtr minNext gNewVPtr rootNext gMoveNext rootNext, Root gNewVPtr basePrev gNew minPtr, 1085, 800 gNewVPtr minPrev gNew currentPtr, 1085, 920 aLine 1 gBeq basePtr, null, 46 aLine 3 gMove minPtr, basePtr aLine 4 gMoveNext cu...
P6/data_P6_2/MDTest7.asm
alxzzhou/BUAA_CO_2020
1
201494
<reponame>alxzzhou/BUAA_CO_2020 ori $ra,$ra,0xf mtlo $5 lui $0,13444 sll $2,$2,7 mtlo $6 mthi $1 sll $5,$4,17 srav $5,$4,$5 mthi $1 addiu $5,$2,8547 addiu $4,$4,-7448 mult $4,$5 mtlo $4 mflo $4 sll $4,$3,29 mult $0,$4 srav $0,$2,$0 ori $2,$2,54043 multu $2,$4 mthi $1 mflo $2 lb $6,5($0) mflo $4 mtlo $1 addiu $4,$4,-130...
crypt.asm
gabrielganzer/EMU8086
1
201495
DIM1 EQU 20 ; min number of entries DIM2 EQU 50 ; max number of entries DIM3 EQU 52 ; dimensioni of occurence array ENTER EQU 13 ; ascii code for carriage return SPACE EQU 32 ; ascii code for space key K1 EQU 1 ; parameter k1 Caesar cipher K2 EQU 2 ; parameter k2 Caesar ci...
Test/Z80/VZ200 RS232 Terminal/VZ RS232.asm
sparks-c16/zasm
43
201497
#!/usr/local/bin/zasm --reqcolon -o ../original/ ; title VZ-200/300 RS-232 terminal rom software subttl Version 1.5 last revised 11th June 1985 at 2am in the morning !!!! SLE. ; ;VZ-200/300 RS-232/TERMINAL cartridge pack ; ;This source code and the ROM program it generates is copyright (c) 1985 ;by D<NAME> Elec...
3/3-6.asm
userElaina/MicrocomputerLab
0
201499
<filename>3/3-6.asm DSEG SEGMENT PARA PUBLIC'DSEG' M DB 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 P DB 20 DUP(?) N DB 20 DUP(?) DSEG ENDS CODE SEGMENT ASSUME CS:CODE,DS:DSEG START: MOV AX,DSEG MOV DS,AX LEA SI,P LEA DI,N LEA BX,M ...
src/isa/avx2/masm/powf_fma3.asm
jepler/aocl-libm-ose
66
201500
; ; Copyright (C) 2008-2020 Advanced Micro Devices, Inc. All rights reserved. ; ; Redistribution and use in source and binary forms, with or without modification, ; are permitted provided that the following conditions are met: ; 1. Redistributions of source code must retain the above copyright notice, ; this list...
programs/oeis/091/A091940.asm
neoneye/loda
22
201502
<reponame>neoneye/loda ; A091940: Given n colors, sequence gives number of ways to color the vertices of a square such that no edge has the same color on both of its vertices. ; 0,2,18,84,260,630,1302,2408,4104,6570,10010,14652,20748,28574,38430,50640,65552,83538,104994,130340,160020,194502,234278,279864,331800,390650,...
oeis/065/A065097.asm
neoneye/loda-programs
11
201503
<reponame>neoneye/loda-programs ; A065097: a(n) = ((2n+1) + (2n-1) - 1)!/((2n+1)!*(2n-1)!). ; Submitted by <NAME> ; 1,1,7,66,715,8398,104006,1337220,17678835,238819350,3282060210,45741281820,644952073662,9183676536076,131873975875180,1907493251046152,27767032438524099,406472021074865382,5979899192930226746,883669313935...
oeis/166/A166650.asm
neoneye/loda-programs
11
201504
; A166650: Totally multiplicative sequence with a(p) = 10*(p+1) for prime p. ; Submitted by <NAME> ; 1,30,40,900,60,1200,80,27000,1600,1800,120,36000,140,2400,2400,810000,180,48000,200,54000,3200,3600,240,1080000,3600,4200,64000,72000,300,72000,320,24300000,4800,5400,4800,1440000,380,6000,5600,1620000,420,96000,440,108...
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sccz80/esx_f_getcwd_drive.asm
jpoikela/z88dk
640
201506
; unsigned char esx_f_getcwd_drive(unsigned char drive, char *buf) SECTION code_esxdos PUBLIC esx_f_getcwd_drive EXTERN asm_esx_f_getcwd_drive esx_f_getcwd_drive: pop af pop hl pop de push de push hl push af ld a,e jp asm_esx_f_getcwd_drive
code/YeWenting/book4-28.asm
KongoHuster/assembly-exercise
1
201508
;; Created by Ywt. ;; Date: 11/09/2016 TITLE 4.28_YWT CALC MACRO X, Y, SUM ;; STORE THE REGISTERS PUSH AX PUSH DX XOR DX, DX ;; CALCULATE THE SUM ADD DX, X ADD DX, Y MOV AX, X CMP AX, Y JG XG ...
masm/lesson21/Lesson21.asm
neozhou2009/nehe-opengl
177
201511
<reponame>neozhou2009/nehe-opengl<gh_stars>100-1000 ;-------------------------------------------------------------------------------------------; ; ; ; MASM32 conversion of NeHe's OpenGL tutorial 21 by <NAME> (Chrishka) ; ; ...
mainB.asm
nesdoug/SNES_00
11
201514
;example code, for easySNES ;updated 6/2021 .p816 .smart .include "regs.asm" .include "macros.asm" .include "easySNES.asm" .include "init.asm" .include "MUSIC/music.asm" .segment "ZEROPAGE" hero_x: .res 2 hero_y: .res 2 facing: .res 1 .define FACE_LEFT 0 .define FACE_RIGHT 1 spike_x: .res 2 spike_y: .res 2 s...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2820.asm
ljhsiun2/medusa
9
201517
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x1f8, %rsi lea addresses_D_ht+0x9e98, %rdi sub %rdx, %rdx mov $63, %rcx rep movsb nop nop nop nop nop sub $9825, %r13 lea addresses_UC_ht+0xbaf8, %rsi lea addresses_WT_ht+0x14...
programs/oeis/001/A001790.asm
neoneye/loda
22
201520
; A001790: Numerators in expansion of 1/sqrt(1-x). ; 1,1,3,5,35,63,231,429,6435,12155,46189,88179,676039,1300075,5014575,9694845,300540195,583401555,2268783825,4418157975,34461632205,67282234305,263012370465,514589420475,8061900920775,15801325804719,61989816618513,121683714103007,956086325095055,1879204156221315,739153...
stage23/lib/pxe.asm
ArsenArsen/limine
658
201521
section .realmode global pxe_call global set_pxe_fp set_pxe_fp: mov eax, [esp + 4] mov [pxe_call.pxe_fp], eax ret pxe_call: ; Save GDT in case BIOS overwrites it sgdt [.gdt] ; Save IDT sidt [.idt] ; Load BIOS IVT lidt [.rm_idt] ; Save non-scratch GPRs push ebx push ...
MIPS_Language/exp_1_1.asm
Timothy-LiuXuefeng/MIPS
0
201524
<gh_stars>0 # $s0: i; $s1: j;$s2: sum .text main: move $s2, $0 # sum = 0 addi $v0, $0, 5 syscall # read i move $s0, $v0 addi $v0, $0, 5 syscall # read j move $s1, $v0 bltz $s0, revi # if i < 0 j endrevi revi: sub $s0, $0, $s0 # i = -i endrevi: b...
assign3_part1_fixed.asm
LizWanic/ASCIItoHex
0
201525
; <NAME> ; 5 February 2017 ; CS 3140 - Assignment 3 Part 1 ; Command line for assembly : ; nasm -f elf32 -g assign3_part1.asm ; Command line for linker : ; ld -o assign3_part1 -m elf_i386 assign3_part1.o ; ; User must enter ./assign3_part1 to run the program ; Then they will enter a series of characters followe...
programs/oeis/056/A056541.asm
neoneye/loda
22
201526
<reponame>neoneye/loda<filename>programs/oeis/056/A056541.asm ; A056541: a(n) = 2n*a(n-1) + 1 with a(0)=0. ; 0,1,5,31,249,2491,29893,418503,6696049,120528883,2410577661,53032708543,1272785005033,33092410130859,926587483664053,27797624509921591,889523984317490913,30243815466794691043,1088777356804608877549,4137353955857...
src/spaceace.asm
explodingnuggets/SpaceAce
2
201527
<gh_stars>1-10 INCLUDE ..\libs\Irvine32.inc INCLUDE ..\libs\win32.inc INCLUDE ..\libs\winmm.inc INCLUDELIB ..\libs\winmm.lib COLS = 80 ROWS = 25 LCOLS = 48 LROWS = 4 INSCOLS = 39 INSROWS = 8 GOCOLS = 55 GOROWS = 4 GetMatrixAddr PROTO mAddr:DWORD, mCols: DWORD, iRows: DWORD, iCols:DWORD, sType:BYTE .data ; Screen...
Examples/ch05/Stack.asm
satadriver/LiunuxOS
0
201528
<reponame>satadriver/LiunuxOS<filename>Examples/ch05/Stack.asm TITLE Program Template (Stack.asm) ; Testing PUSH and POP, 16-bit and 32-bit operands ; Last update: 11/16/01 Include Irvine32.inc .code main PROC call DumpRegs push 1 call DumpRegs push eax call DumpRegs push eax call DumpReg...
zero.asm
adkennan/BurgerMayhem
0
201529
<filename>zero.asm ; Game or Global data G_LEVEL_NUM = $10 ; Current level G_PLAYER_COUNT = $11 G_GAME_STATE = $12 G_QUIT = $13 G_CHOICE = $14 ; Level data L_CURR_LEVEL_LO = $20 ; Pointer to current level data L_CURR_LEVEL_HI = $21 L_TIME_MINUTES = $22 ; Minutes remaining L_TIME_SE...
oeis/102/A102592.asm
neoneye/loda-programs
11
201530
<reponame>neoneye/loda-programs ; A102592: a(n) = Sum_{k=0..n} binomial(2n+1, 2k)*5^(n-k). ; Submitted by <NAME> ; 1,8,80,832,8704,91136,954368,9994240,104660992,1096024064,11477712896,120196169728,1258710630400,13181388849152,138037296103424,1445545331654656,15137947242201088,158526641599938560 mov $2,4 pow $2,$0 lpb...
programs/oeis/182/A182868.asm
neoneye/loda
22
201531
; A182868: a(n) = -1 + n + 4*n^2. ; -1,4,17,38,67,104,149,202,263,332,409,494,587,688,797,914,1039,1172,1313,1462,1619,1784,1957,2138,2327,2524,2729,2942,3163,3392,3629,3874,4127,4388,4657,4934,5219,5512,5813,6122,6439,6764,7097,7438,7787,8144,8509,8882,9263,9652 mov $1,$0 mul $1,2 pow $1,2 add $0,$1 sub $0,1
_anim/Burning Grass.asm
kodishmediacenter/msu-md-sonic
9
201532
<gh_stars>1-10 ; --------------------------------------------------------------------------- ; Animation script - burning grass that sits on the floor (MZ) ; --------------------------------------------------------------------------- Ani_GFire: dc.w @burn-Ani_GFire @burn: dc.b 5, 0, $20, 1, $21, afEnd even
oeis/119/A119699.asm
neoneye/loda-programs
11
201533
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A119699: n^2*binomial(2*n, n)*Fibonacci(n)^2. ; Submitted by <NAME> ; 0,2,24,720,10080,157500,2128896,28420392,363242880,4552582320,55888690000,676114951512,8074566549504,95423851304600,1117539519314400,12986826568200000,149901793906152960,1720026938417810220 mov $2,$0...
Transynther/x86/_processed/NC/_st_zr_un_sm_/i7-7700_9_0x48.log_21829_102.asm
ljhsiun2/medusa
9
201534
<filename>Transynther/x86/_processed/NC/_st_zr_un_sm_/i7-7700_9_0x48.log_21829_102.asm .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r14 push %r15 push %r8 push %r9 push %rbp // Store mov $0x7de491000000038e, %r13 nop nop nop nop nop dec %r11 movl ...
05_FIBO_MENO.asm
aleattene/lc2-exams
0
201537
; ************ DESCRIZIONE SOTTOPROGRAMMA ************ Il seguente sottoprogramma denominato FIBO_MENO riceve nel registro R0 il numero intero N e restituisce sempre in R0 l’ennesimo termine F(N) di una sequenza simile a quella di Fibonacci, ma con l’operatore meno al posto del più. In altre parole, il termine N-esim...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_8940_386.asm
ljhsiun2/medusa
9
201539
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x6d87, %rsi lea addresses_WC_ht+0x167, %rdi clflush (%rsi) nop nop nop nop nop sub %r12, %r12 mov $103, %rcx rep movsl nop nop nop nop nop add $59836, %rbx le...
asm/adder.asm
wixette/8800-simulator
66
201540
;;;-------------------------------------------------------------------------------- ;;; Simple 8080 addition program. ;;;-------------------------------------------------------------------------------- LDA 0080H ; 00 111 010 10 000 000 00 000 000 MOV B,A ; 01 000 111 ...
libsrc/_DEVELOPMENT/stdio/z80/__stdio_nextarg_bc.asm
meesokim/z88dk
0
201541
<filename>libsrc/_DEVELOPMENT/stdio/z80/__stdio_nextarg_bc.asm<gh_stars>0 SECTION code_stdio PUBLIC __stdio_nextarg_bc __stdio_nextarg_bc: ; return next 16-bit parameter from parameter list ; ; enter : hl = void *stack_param ; ; exit : bc = 16-bit parameter ; hl = hl - 2 ; ; uses :...
libsrc/math/mbf64/c/sccz80/___mbf64_set_zero.asm
jpoikela/z88dk
640
201542
<reponame>jpoikela/z88dk SECTION code_fp_mbf64 PUBLIC ___mbf64_set_zero EXTERN ___mbf64_FA ___mbf64_set_zero: ld b,8 ld hl,___mbf64_FA zero_1: ld (hl),0 inc hl djnz zero_1 ret
programs/oeis/174/A174574.asm
karttu/loda
0
201543
<gh_stars>0 ; A174574: Partial sums of A065363. ; 0,1,1,2,4,3,3,4,4,5,7,8,10,13,11,10,10,9,9,10,10,11,13,12,12,13,13,14,16,17,19,22,22,23,25,26,28,31,33,36,40,37,35,34,32,31,31,30,30,31,29,28,28,27,27,28,28,29,31,30,30,31,31,32,34,35,37,40,38,37,37,36,36,37,37,38,40,39,39,40,40,41,43,44,46,49,49,50,52,53,55,58,60,63,67...
library/common/random.asm
paulscottrobson/rpl-32
0
201544
<reponame>paulscottrobson/rpl-32 ; ****************************************************************************** ; ****************************************************************************** ; ; Name : random.asm ; Purpose : 32 bit RNG ; Author : <NAME> (<EMAIL>) ; Created : 9th October 2019 ; ; **********...
oeis/167/A167314.asm
neoneye/loda-programs
11
201545
<reponame>neoneye/loda-programs ; A167314: Totally multiplicative sequence with a(p) = 4*(p-3) for prime p. ; Submitted by <NAME> ; 1,-4,0,16,8,0,16,-64,0,-32,32,0,40,-64,0,256,56,0,64,128,0,-128,80,0,64,-160,0,256,104,0,112,-1024,0,-224,128,0,136,-256,0,-512,152,0,160,512,0,-320,176,0,256,-256,0,640,200,0,256,-1024,0,...
bios/iodef.asm
zephray/Dramite
4
201546
<reponame>zephray/Dramite ;******************************************************************************* ; Test BIOS - Project Dramite ; ; Copyright 2021 <NAME> ; Copyright 2020 eyalabraham/new-xt-bios ; ; Licensed under MIT ;******************************************************************************* LF: ...
Transynther/x86/_processed/NONE/_ht_zr_/i7-8650U_0xd2.log_387_1335.asm
ljhsiun2/medusa
9
201547
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x32bf, %rsi lea addresses_D_ht+0x1274f, %rdi nop nop nop nop nop and %r15, %r15 mov $5, %rcx rep movsq nop nop nop inc %rcx lea addresses_WT_ht+0x156bf, %rsi lea addresses_D_ht+0x1...
tst/8080tst.asm
1801BM1/vm80a
131
201548
title 'Preliminary vm80a_core tests' disp equ 0FFF8h .8080 aseg org 0h start: lxi SP, stack mvi A, 1 ; test simple compares and z/nz jumps cpi 2 cz fault cpi 1 cnz fault jmp lab0 hlt ; emergency exit db 0FFh lab0: call lab2 ; does a simple call work? lab1: call fault ; fail lab2: pop H ; ch...
Kernel/Core/arch/amd64/stubs.inc.asm
ids1024/rust_os
622
201549
; ; ; EXPORT log EXPORT log2 EXPORT log10 EXPORT pow EXPORT exp EXPORT exp2 EXPORT ceil EXPORT floor EXPORT fmod EXPORT round EXPORT trunc EXPORT fdim EXPORT fma EXPORT sqrt EXPORT logf EXPORT log2f EXPORT log10f EXPORT powf EXPORT expf EXPORT exp2f EXPORT ceilf EXPORT floorf EXPORT fmodf EXPORT roundf EXPORT truncf EX...
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0.log_21829_1175.asm
ljhsiun2/medusa
9
201550
<filename>Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0.log_21829_1175.asm .global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x747a, %rax nop and %r13, %r13 movb $0x61, (%rax) cmp %rdi, %rdi lea addresses_normal_ht+0xa...
oeis/060/A060006.asm
neoneye/loda-programs
11
201552
<reponame>neoneye/loda-programs ; A060006: Decimal expansion of real root of x^3 - x - 1 (the plastic constant). ; Submitted by <NAME>(s3) ; 1,3,2,4,7,1,7,9,5,7,2,4,4,7,4,6,0,2,5,9,6,0,9,0,8,8,5,4,4,7,8,0,9,7,3,4,0,7,3,4,4,0,4,0,5,6,9,0,1,7,3,3,3,6,4,5,3,4,0,1,5,0,5,0,3,0,2,8,2,7,8,5,1,2,4,5,5,4,7,5,9,4,0,5,4,6,9,9,3,4...
extbio-rc2014/extbio-rc2014.asm
vipoo/msxrc2014
1
201553
<reponame>vipoo/msxrc2014<gh_stars>1-10 ORG 08000H include "msx.inc" ; +0 ID Put these first two bytes at 041H and 042H ("AB") to indicate that it is an additional ROM. ; +2 INIT Address of the routine to call to initialize a work area or I/O ports, or run a game, etc. ; +4 STATEMENT Runtime address of a program...
oeis/136/A136514.asm
neoneye/loda-programs
11
201554
<reponame>neoneye/loda-programs ; A136514: Number of unit square lattice cells inside half-plane (two adjacent quadrants) of origin centered circle of radius n. ; Submitted by <NAME> ; 0,2,8,16,30,44,60,82,108,138,166,196,238,278,324,366,416,468,526,588,644,714,780,848,930,1008,1090,1170,1256,1350,1438,1540,1638,1744,1...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1148.asm
ljhsiun2/medusa
9
201555
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r15 push %r8 push %r9 push %rbx // Faulty Load lea addresses_UC+0x1cba4, %r12 nop nop nop add $23188, %r9 movups (%r12), %xmm4 vpextrq $0, %xmm4, %r11 lea oracles, %r9 and $0xf...
Musics/Othersongs/source/starting.asm
kosmonautdnb/TheLandsOfZador
0
201556
<reponame>kosmonautdnb/TheLandsOfZador kp_song kp_reloc dc.w kp_song_registers dc.w kp_speed dc.w kp_grooveboxpos dc.w kp_grooveboxlen dc.w kp_groovebox dc.w kp_patternlen dc.w kp_patternmap_lo dc.w kp_patternmap_hi dc.w kp_insmap_lo dc.w kp_insmap_hi dc.w kp_volmap_lo dc.w kp_volmap_hi dc.w kp_sequence kp...
src/uart_int.asm
no111u3/m48_robo_asm
0
201557
<reponame>no111u3/m48_robo_asm ;**************************************************************** .include "m48def.inc" .include "service.inc" ;**************************************************************** ; Data ;**************************************************************** .dseg .org SRAM_START ; because avra i...
if-else-statement.asm
migg1012/Assembly-Tutorials
0
201558
;**************************************************************************** ; Author: <NAME> ; No warranty. Use at your own risk. ;**************************************************************************** ; ; IF-ELSE statement in C: ; if ( a < b ) { ; max = b; ; } else { ; max = a; ; } ; mov rax, [...
libsrc/stdio_new/general/stdio_idle.asm
andydansby/z88dk-mk2
1
201559
<filename>libsrc/stdio_new/general/stdio_idle.asm ; stdio_idle ; 08.2009 aralbrec XLIB stdio_idle LIB stdio_statesave, stdio_staterestore ; The library calls this function when it is waiting for data ; to be written or read from a device that is not ready. This ; could be an opportunity for a context switch in a mul...
programs/oeis/171/A171507.asm
neoneye/loda
22
201561
<gh_stars>10-100 ; A171507: a(n) = (5*2^(n+1)-9-(-1)^n)/6-2*n. ; 0,0,1,6,17,42,93,198,409,834,1685,3390,6801,13626,27277,54582,109193,218418,436869,873774,1747585,3495210,6990461,13980966,27961977,55924002,111848053,223696158,447392369,894784794,1789569645,3579139350,7158278761,14316557586,28633115237,57266230542,11453...
texmap/tmap_16.asm
osgcc/descent-pc
3
201562
<gh_stars>1-10 ;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX ;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO ;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS ;IN ...
electronic-device-development-practice/kadai3/kadai3-1/kadai3-1.asm
sasaplus1/curriculum-of-z80-assembly
0
201563
<reponame>sasaplus1/curriculum-of-z80-assembly HALTMR EQU 0F0H HALTMCR EQU 0F1H ; PAD EQU 1CH PAC EQU 1DH PBD EQU 1EH PBC EQU 1FH ; ORG 8000H ; LD SP,00H CALL WDTINI CALL PIOINI ;-------------------------------------- ; Main routine ;-------------------------------------- LOOP: CALL LEFT CALL WAIT...
oeis/036/A036147.asm
neoneye/loda-programs
11
201564
; A036147: a(n) = 2^n mod 149. ; Submitted by <NAME>(m3) ; 1,2,4,8,16,32,64,128,107,65,130,111,73,146,143,137,125,101,53,106,63,126,103,57,114,79,9,18,36,72,144,139,129,109,69,138,127,105,61,122,95,41,82,15,30,60,120,91,33,66,132,115,81,13,26,52,104,59,118,87,25,50,100,51,102,55,110,71,142,135,121,93,37,74,148,147,145,...
programs/oeis/062/A062481.asm
neoneye/loda
22
201565
<filename>programs/oeis/062/A062481.asm ; A062481: a(n) = n^prime(n). ; 1,8,243,16384,48828125,13060694016,232630513987207,144115188075855872,8862938119652501095929,100000000000000000000000000000,191943424957750480504146841291811 mov $1,1 add $1,$0 seq $0,6005 ; The odd prime numbers together with 1. pow $1,$0 mov $0,...
programs/oeis/253/A253654.asm
karttu/loda
1
201566
; A253654: Indices of pentagonal numbers (A000326) which are also centered pentagonal numbers (A005891). ; 1,6,46,361,2841,22366,176086,1386321,10914481,85929526,676521726,5326244281,41933432521,330141215886,2599196294566,20463429140641,161108236830561,1268402465503846,9986111487200206,78620489432097801 cal $0,145608 ...
templates/asm/exit.asm
jchristman/Grapenut
0
201567
push ebp ; Save stack-frame base pointer mov ebp, esp ; Set location of the stack mov eax, 0x1 ; sys_exit mov ebx, [ebp+8] ; Load ebx with value from call int 0x80 ; syscall mov esp, ebp ; Restore stack pointer pop ebp ; Restore calling function frame ret
programs/oeis/004/A004683.asm
neoneye/loda
22
201568
; A004683: Primes written in base 9. ; 2,3,5,7,12,14,18,21,25,32,34,41,45,47,52,58,65,67,74,78,81,87,102,108,117,122,124,128,131,135,151,155,162,164,175,177,184,201,205,212,218,221,232,234,238,241,254,267,272,274,278,285,287,308,315,322,328,331,337,342,344,355,371,375,377,382,407,414,425,427,432,438,447,454,461,465,472...
programs/oeis/268/A268382.asm
neoneye/loda
22
201570
<filename>programs/oeis/268/A268382.asm ; A268382: Partial sums of A268411; the least monotonic left inverse of A268415. ; 0,1,2,3,4,4,5,6,7,7,7,7,8,8,9,10,11,11,11,11,11,12,12,12,13,13,13,13,14,14,15,16,17,17,17,17,17,18,18,18,18,19,20,21,21,22,22,22,23,23,23,23,23,24,24,24,25,25,25,25,26,26,27,28,29,29,29,29,29,30,30...
playground/Gen1/CmdMisc.asm
marcelocaetano/XSharp
168
201571
; Generated at 4/14/2019 1:59:47 AM DebugStub_Ping: mov AL, 0xD Call DebugStub_ComWriteAL DebugStub_Ping_Exit: mov dword [INTs_LastKnownAddress], DebugStub_Ping_Exit Ret DebugStub_TraceOn: mov dword [DebugStub_TraceMode], 0x1 DebugStub_TraceOn_Exit: mov dword [INTs_LastKnownAddress], DebugStub_TraceOn_Exit Ret ...
oeis/142/A142496.asm
neoneye/loda-programs
11
201572
; A142496: Primes congruent to 32 mod 51. ; Submitted by <NAME> ; 83,389,491,593,797,1103,1307,1409,1511,1613,2531,2633,2837,2939,3041,3347,3449,4673,4877,5081,5387,5591,5693,5897,6101,6203,6917,7019,7121,7529,7937,8039,8243,8447,8753,9059,9161,9467,10079,10181,10487,10589,10691,11813,12119,12323,12527,13037,13241,1364...
resources/asm/na/levellistloader_arm9.asm
SkyTemple/ppmdu
37
201573
<filename>resources/asm/na/levellistloader_arm9.asm ; For use with ARMIPS v0.7d ; By: <EMAIL> ; 2016/08/16 ; For Explorers of Sky North American ONLY! ; ------------------------------------------------------------------------------ ; Copyright © 2016 <NAME> <<EMAIL>> ; This work is free. You can redistribute it and/or ...
src/center_team.asm
mvdhout1992/ts-patches
33
201574
<gh_stars>10-100 %include "TiberianSun.inc" %include "macros/patch.inc" %include "macros/datatypes.inc" ;;; Double tap the team selection key to center team on screen. ;;; Current way is to press alt+1 or alt+2 etc, to center team gint DoubleTapFrame, 0x7fffffff gint LastTeamNumber, 0 gint DoubleTapInterval, 30 hack...
programs/oeis/251/A251610.asm
karttu/loda
0
201575
<gh_stars>0 ; A251610: Determinants of the spiral knots S(4,k,(1,1,1)). ; 1,4,3,0,5,12,7,0,9,20,11,0,13,28,15,0,17,36,19,0,21,44,23,0,25,52,27,0,29,60,31,0,33,68,35,0,37,76,39,0,41,84,43,0,45,92,47,0,49,100,51,0,53,108,55,0,57,116,59,0,61,124,63,0,65,132,67,0,69,140,71,0,73,148,75,0,77,156,79,0,81,164,83,0,85,172,87,0,...
oeis/142/A142759.asm
neoneye/loda-programs
11
201576
<reponame>neoneye/loda-programs ; A142759: Primes congruent to 32 mod 59. ; Submitted by <NAME> ; 563,1153,1861,1979,2333,2687,3041,3631,4339,4457,5519,6581,7643,7879,8233,8941,9059,9413,9649,9767,10357,10711,12953,14251,14369,14723,15077,15313,15667,16139,16493,16729,17791,17909,18617,19207,20269,21803,22039,22157,225...
programs/oeis/166/A166536.asm
karttu/loda
1
201577
<reponame>karttu/loda<filename>programs/oeis/166/A166536.asm ; A166536: A product of consecutive doubled Fibonacci numbers. ; 1,3,6,16,40,105,273,715,1870,4896,12816,33553,87841,229971,602070,1576240,4126648,10803705,28284465,74049691,193864606,507544128,1328767776,3478759201,9107509825,23843770275,62423800998,16342763...
Chapter03/loops/loop.nasm
firebitsbr/Penetration-Testing-with-Shellcode
30
201578
<reponame>firebitsbr/Penetration-Testing-with-Shellcode global _start section .text _start: mov rcx,0x5 mov rbx,0x1 increment: inc rbx loop increment mov rax, 60 mov rdi, 0 syscall section .data
Library/Kernel/Graphics/graphicsManager.asm
steakknife/pcgeos
504
201579
<reponame>steakknife/pcgeos COMMENT @----------------------------------------------------------------------- Copyright (c) GeoWorks 1988 -- All Rights Reserved PROJECT: PC GEOS MODULE: Kernel/Graphics FILE: graphicsManager.asm AUTHOR: <NAME> REVISION HISTORY: Name Date Description ---- ---- --...
04/fill/Fill.asm
maxdemaio/hack-computer
3
201580
// 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 blackens the screen, // i.e. writes "black" i...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_10_1123.asm
ljhsiun2/medusa
9
201581
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %r9 push %rax push %rdi push %rsi lea addresses_D_ht+0x379d, %rax nop sub $1051, %r13 mov $0x6162636465666768, %r15 movq %r15, %xmm4 vmovups %ymm4, (%rax) nop nop nop add $34784, %rsi lea addresses_WC_ht+0xd11d, %r9 nop xor $6598, %r8 movb (...
astro_turret_1_data.asm
nealvis/astroblast
0
201582
////////////////////////////////////////////////////////////////////////////// // astro_turret_1_data.asm // Copyright(c) 2021 <NAME>. // License: MIT. See LICENSE file in root directory. ////////////////////////////////////////////////////////////////////////////// // file contains the data for turret 1 frames as they...
libsrc/_DEVELOPMENT/stdlib/c/sdcc_iy/strtol_callee.asm
jpoikela/z88dk
640
201583
; long strtol_callee(const char * restrict nptr, char ** restrict endptr, int base) SECTION code_clib SECTION code_stdlib PUBLIC _strtol_callee EXTERN asm_strtol _strtol_callee: pop af pop hl pop de pop bc push af jp asm_strtol
libsrc/math/z88math/dgt.asm
Toysoft/z88dk
8
201584
<reponame>Toysoft/z88dk ; ; Z88dk Z88 Maths Library ; ; ; $Id: dgt.asm,v 1.4 2016-06-22 19:55:06 dom Exp $ SECTION code_fp PUBLIC dgt EXTERN fsetup EXTERN stkequcmp INCLUDE "fpp.def" ; TOS >= FA? .dgt call fsetup fpp(FP_GT) jp stkequcmp
lcdAlarmClock.asm
nmg322/LCD-Alarm-Clock
2
201585
;Author: <NAME> ;Interfaced 16x2 LCD display in 4-bit mode using sufficient delay with ATMega328P .include "/usr/share/avra/m328Pdef.inc" .equ LCD_DATA = PORTD .equ LCD_DATA_DIR = DDRD .equ LCD_CTRL = PORTB .equ LCD_CTRL_DIR = DDRB .equ LCD_RS = 0 .equ LCD_RW = 1 .equ LCD_E = 2 .equ pushBT1 = 3 ;yes, increment, PORTB...
programs/oeis/123/A123296.asm
neoneye/loda
22
201586
; A123296: Number of permutations of n distinct letters (ABCD...) each of which appears 5 times and having n-2 fixed points. ; 0,25,75,150,250,375,525,700,900,1125,1375,1650,1950,2275,2625,3000,3400,3825,4275,4750,5250,5775,6325,6900,7500,8125,8775,9450,10150,10875,11625,12400,13200,14025,14875,15750,16650,17575,18525,...
libsrc/target/vz/graphics/getmaxy.asm
Frodevan/z88dk
640
201587
<reponame>Frodevan/z88dk<gh_stars>100-1000 SECTION code_clib PUBLIC getmaxy PUBLIC _getmaxy EXTERN __vz200_mode INCLUDE "graphics/grafix.inc" .getmaxy ._getmaxy ld a,(__vz200_mode) and a ld hl,31 ret z ld ...
oeis/251/A251366.asm
neoneye/loda-programs
11
201588
<filename>oeis/251/A251366.asm ; A251366: Number of (n+1) X (1+1) 0..2 arrays with every 2 X 2 subblock summing to 1 2 3 4 5 6 or 7. ; Submitted by <NAME>(s4) ; 79,695,6113,53769,472943,4159927,36590017,321839625,2830847119,24899654327,219013164449,1926402895881,16944315318191,149039342816695,1310924949760897,115306749...
programs/oeis/140/A140359.asm
neoneye/loda
22
201589
; A140359: a(n) = 2*a(n-1) + a(n-2) - 2*a(n-3). ; 1,1,6,11,26,51,106,211,426,851,1706,3411,6826,13651,27306,54611,109226,218451,436906,873811,1747626,3495251,6990506,13981011,27962026,55924051,111848106,223696211,447392426,894784851,1789569706,3579139411,7158278826,14316557651,28633115306,57266230611,114532461226,22906...
programs/oeis/081/A081503.asm
neoneye/loda
22
201590
; A081503: Number of steps to reach a single digit when map in A081502 is iterated. ; 0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,1,1,1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,2,3,3,2,2,2,2,2,3,3,3,2,2,2,2,3,3,3,2,2,2,2,3,3,3,2,2,2,2,3,3,3,3,2,2,2,3,3,3,3,3,3,2,3,3,3,3,3,3,2,3,3,3,3,3,3,2,3,3,3,3,3,3 lpb $0 mov $2,$0 seq $2,81502...
programs/oeis/040/A040426.asm
neoneye/loda
22
201591
<gh_stars>10-100 ; A040426: Continued fraction for sqrt(448). ; 21,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42 sub $0,1 mod $0,2 mul $0,11 add $0,2 pow $0,2 sub $0,4 div $0,13 mu...
software/atommc2/urom.asm
AtomicRoland/AtomFpga
25
201592
;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~;~~ ; ; *UROM [val] ; ; Set the current utility ROM, disable interface interrupts and await break..! ; Requires extension ROM board with latch at #BFFF. ; STARUROM: ldx #$cb ; scan parameter fail if none jsr ...
tests/automake/helloworld/print.asm
agguro/nasm-support
6
201593
;Project: helloworld ;Name: print.asm ;Description: external routine to print a string at rdi and length rsi to stdout [list -] %include "unistd.inc" [list +] bits 64 global print print: syscall write,stdout,rdi,rsi ret
coverage/PENDING_SUBMIT/amdvlk/0563-COVERAGE-no-folder-h-289/work/variant/1_spirv_asm/shader.frag.asm
asuonpaa/ShaderTests
0
201594
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 137 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %54 %90 OpExecutionMode %4 Ori...
coverage/IN_CTS/0492-COVERAGE-nir-search-helpers-220/work/variant/1_spirv_asm/shader.frag.asm
asuonpaa/ShaderTests
0
201598
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 55 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %36 OpExecutionMode %4 OriginUp...
libsrc/stdlib/qsort_sdcc.asm
ahjelm/z88dk
640
201599
<filename>libsrc/stdlib/qsort_sdcc.asm ; ; $Id: qsort.asm,v 1.4 2016-03-04 23:48:13 dom Exp $ ; SECTION code_clib PUBLIC qsort_sdcc PUBLIC _qsort_sdcc EXTERN qsort_sdcc_enter .qsort_sdcc ._qsort_sdcc pop af pop bc exx pop hl pop de pop bc push bc push de push hl exx push bc push af jp qsort_sdcc...
programs/oeis/086/A086955.asm
neoneye/loda
22
201600
; A086955: a(n) = n^2 + 2*n + 2 - (-1)^n. ; 1,6,9,18,25,38,49,66,81,102,121,146,169,198,225,258,289,326,361,402,441,486,529,578,625,678,729,786,841,902,961,1026,1089,1158,1225,1298,1369,1446,1521,1602,1681,1766,1849,1938,2025,2118,2209,2306,2401,2502,2601,2706,2809,2918,3025,3138,3249,3366,3481,3602,3721,3846,3969,4098...
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_21829_1604.asm
ljhsiun2/medusa
9
201601
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x134cf, %rdx nop nop nop add %r13, %r13 mov (%rdx), %r11 nop nop nop nop xor $34572, %r14 lea addresses_normal_ht+0x116c...
programs/oeis/189/A189450.asm
karttu/loda
1
201603
<reponame>karttu/loda ; A189450: Number of 2 X n array permutations with each element moving zero or one space horizontally or diagonally. ; 1,5,16,61,225,841,3136,11705,43681,163021,608400,2270581,8473921,31625105,118026496,440480881,1643897025,6135107221,22896531856,85451020205,318907548961,1190179175641,444180915360...
target/cos_117/disasm/iop_overlay1/XFMACC.asm
jrrk2/cray-sim
49
201604
<reponame>jrrk2/cray-sim @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@ Input: @@ OR[280] : Device desc. @@ OR[281] : Directory name string pointer @@ OR[282] : File name string pointer @@ OR[283] : 17 @@ OR[284] : 23 @@ OR[285] : 24 @@ @@ OR[28...
programs/oeis/010/A010170.asm
neoneye/loda
22
201605
; A010170: Continued fraction for sqrt(99). ; 9,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1,18,1 mov $1,$0 cmp $0,0 sub $...
calc-e.asm
cotarr/calc-pi-x86-64-asm
0
201606
;------------------------------------------------------------- ; ; SINGLE THREAD FLOATING POINT MULTI-PRECISION CALCULATOR ; ; Calculation of e ; ; File: calc-e.asm ; Module: calc.asm, calc.o ; Exec: calc-pi ; ; Created 12/7/2014 ; Last Edit 06/26/2015 ; ;----------------------------------------------------------...
programs/oeis/170/A170784.asm
neoneye/loda
22
201607
<filename>programs/oeis/170/A170784.asm ; A170784: a(n) = n^9*(n^2 + 1)/2. ; 0,1,1280,98415,2228224,25390625,186437376,1008840175,4362076160,15884240049,50500000000,143834809151,374084075520,901382446705,2035113108224,4344099609375,8830452760576,17195242092065,32233384684800,58406473297999,102656000000000,1755358902944...