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
v0100/smlrc16.asm
domesticmouse/SmallerC
1,130
52639
; /* ; Copyright (c) 2013-2015, <NAME> ; 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 an...
oeis/283/A283878.asm
neoneye/loda-programs
11
52640
<gh_stars>10-100 ; A283878: An eventually quasilinear solution to Hofstadter's Q recurrence. ; 0,2,3,1,3,6,1,3,9,1,3,12,1,3,15,1,3,18,1,3,21,1,3,24,1,3,27,1,3,30,1,3,33,1,3,36,1,3,39,1,3,42,1,3,45,1,3,48,1,3,51,1,3,54,1,3,57,1,3,60,1,3,63,1,3,66,1,3,69,1,3,72,1,3,75,1,3,78,1,3,81,1,3,84,1,3,87,1,3,90,1,3,93,1,3,96,1,3,...
template.asm
sinipelto/atari2600
0
52642
;;;; processor ;;;; PROCESSOR 6502 ;;;; assembly includes ;;;; INCLUDE "macro.h" INCLUDE "vcs.h" ;;;; ram ;;;; SEG.U VARIABLES ORG $80 ;;;; variables ;;;; Var .byte ; RAM variable ;;;; move to rom start ;;;; SEG ROM ORG $F000 ;;;; reset vcs REGS, RAM, TIA ;;;; Reset: CLEA...
tests/syntax_test_edtasm.asm
dougmasten/dougmasten-sublime-assembly-6809
5
52643
# SYNTAX TEST "Packages/Assembly-6809/Assembly-6809.sublime-syntax" # <- source.mc6809 ; Edtasm assembly file 01260 NOZERO LEAU 4,U # <- comment.line #^^^^ comment.line # ^ - comment.line # ^^^^^^ entity.name.type.constant # ^^ - comment.line # ^^^^ keyword.operator # ...
programs/oeis/093/A093357.asm
jmorken/loda
1
52644
; A093357: Number of occurrences of pattern 2-1 after n iterations of morphism A007413. ; 0,4,20,88,368,1504,6080,24448,98048,392704,1571840,6289408,25161728,100655104,402636800,1610579968,6442385408,25769672704,103078952960,412316336128,1649266393088,6597067669504,26388274872320 mov $1,3 lpb $0 sub $0,1 mul $1,2 ...
oeis/151/A151379.asm
neoneye/loda-programs
11
52645
<gh_stars>10-100 ; A151379: Number of walks within N^2 (the first quadrant of Z^2) starting at (0,0), ending on the vertical axis and consisting of 2 n steps taken from {(-1, 0), (1, -1), (1, 1)}. ; Submitted by <NAME>(s3) ; 1,1,4,15,84,420,2640,15015,100100,612612,4232592,27159132,192203088,1274816400,9178678080,62386...
hello.asm
KiYOKing/fizzbuzz
0
52646
<reponame>KiYOKing/fizzbuzz<filename>hello.asm<gh_stars>0 bits 64 ; 64bitモードを明示 global _start ; メインプログラムを記述する .text セクション --- (*1) section .text _start: mov rax, 1 ; Linuxのsys_writeを指定 --- (*2) mov rdi, 1 ; stdoutを指定 mov rsi, str ; strのアドレスを格納 mov rdx, length ; lengthを格納 syscall ...
programs/oeis/158/A158753.asm
neoneye/loda
22
52647
<filename>programs/oeis/158/A158753.asm<gh_stars>10-100 ; A158753: Lucas even count down recursion:e(n,k)=(e(n - 1, k)*e(n, k - 1) + 1)/e(n - 1, k - 1) ; 1,4,1,11,4,1,29,11,4,1,76,29,11,4,1,199,76,29,11,4,1,521,199,76,29,11,4,1,1364,521,199,76,29,11,4,1 seq $0,25676 ; Exponent of 8 (value of i) in n-th number of form ...
oeis/165/A165750.asm
neoneye/loda-programs
11
52649
<reponame>neoneye/loda-programs ; A165750: a(n) = (10/11)*(2+9*(-10)^(n-1)). ; Submitted by <NAME>(s4) ; 1,10,-80,820,-8180,81820,-818180,8181820,-81818180,818181820,-8181818180,81818181820,-818181818180,8181818181820,-81818181818180,818181818181820,-8181818181818180,81818181818181820,-818181818181818180,81818181818181...
oeis/133/A133271.asm
neoneye/loda-programs
11
52650
<reponame>neoneye/loda-programs ; A133271: Indices of 7-gonal numbers which are also centered 7-gonal numbers. ; Submitted by <NAME>(s1) ; 1,8,92,1093,13021,155156,1848848,22031017,262523353,3128249216,37276467236,444189357613,5292995824117,63071760531788,751568130557336,8955745806156241,106717381543317553,127165283271...
programs/oeis/190/A190050.asm
neoneye/loda
22
52651
; A190050: Expansion of ((1-x)*(3*x^2-3*x+1))/(1-2*x)^3 ; 1,2,6,17,46,120,304,752,1824,4352,10240,23808,54784,124928,282624,634880,1417216,3145728,6946816,15269888,33423360,72876032,158334976,342884352,740294656,1593835520,3422552064,7331643392,15669919744,33420214272,71135395840,151129161728,320511934464,678604832768,...
Examples/ch15/Mode13.asm
satadriver/LiunuxOS
0
52653
; Memory Mapped Graphics, Mode 13 (Mode13.asm) Comment ! This program demonstrates direct memory mapping in video graphics Mode 13 (320 x 200, 256 colors). The video memory is a two-dimensional array of memory bytes which can be addressed and modified individually. Each byte represents a pixel on the ...
_anim/obj23.asm
NatsumiFox/AMPS-Sonic-1-2005
2
52654
<reponame>NatsumiFox/AMPS-Sonic-1-2005 ; --------------------------------------------------------------------------- ; Animation script - missile that Buzz Bomber throws ; --------------------------------------------------------------------------- dc.w byte_9A2E-Ani_obj23 dc.w byte_9A32-Ani_obj23 byte_9A2E: dc.b 7,...
programs/oeis/183/A183144.asm
neoneye/loda
22
52655
; A183144: [1/s]+[2/s]+...+[n/s], where s=(3+sqrt(3))/2, []=floor. ; 0,0,1,2,4,6,8,11,14,18,22,27,32,37,43,49,56,63,71,79,87,96,105,115,125,135,146,157,169,181,194,207,220,234,248,263,278,294,310,326,343,360,378,396,415,434,453,473,493,514,535,556,578,600,623 lpb $0 mov $2,$0 sub $0,1 seq $2,183142 ; Beatty sequ...
progs/prog.asm
DavyGuedes/mic1
5
52656
BIPUSH 10 istore j bipush 10 istore k iload j iload k iadd istore i iload i bipush 25 if_icmpeq l1 iload j bipush 1 isub istore j goto l2 l1 bipush 13 istore k l2 bipush 25
test.asm
Unam3dd/ElfLibx86
0
52657
BITS 32 global _start section .text _start: push 0xb mov eax, [esp] xor edx, edx push edx push 'n/sh' push '//bi' mov ebx, esp xor ecx, ecx int 0x80
libsrc/_DEVELOPMENT/l/z80/long/l_long_sbc_mde_mhl.asm
meesokim/z88dk
0
52659
<gh_stars>0 SECTION code_l PUBLIC l_long_sbc_mde_mhl l_long_sbc_mde_mhl: ; subtract the two longs at addresses hl & de ; ; enter : de = long *A ; hl = long *B ; ; exit : dehl = A - B - carry ; flags set as result of msb subtraction ; ; uses : af, bc, de, hl ld a,...
engine/rtc/print_hours_mins.asm
Dev727/ancientplatinum
28
52660
Unreferenced_Function1dd6a9: ld a, b ld b, c ld c, a push bc push de ld hl, sp+$2 ld d, h ld e, l pop hl lb bc, PRINTNUM_LEADINGZEROS | 2, 5 call PrintNum pop bc ret PrintHoursMins: ; Hours in b, minutes in c ld a, b cp 12 push af jr c, .AM jr z, .PM sub 12 jr .PM .AM: or a jr nz, .PM ld a, 12 ....
test/asm/fixed-point-precision.asm
michealccc/rgbds
265
52661
f1 = 3.1 f2 = 5.2 pm = MUL(f1, f2) pr = 16.12 println "`3.1`: {9.6f:f1} -> ${08x:f1}" println "`5.2`: {9.6f:f2} -> ${08x:f2}" println "`MUL`: {9.6f:pm} -> ${08x:pm}" println "`16.12`: {9.6f:pr} -> ${08x:pr}" fl = 6.283185 println "`6.283185`: {.6f:fl} -> ${08x:fl}"
oeis/073/A073999.asm
neoneye/loda-programs
11
52662
; A073999: Number of strings of length n over GF(4) with trace 1 and subtrace x where x = RootOf(z^2+z+1). ; Submitted by <NAME> ; 0,0,3,16,60,240,1008,4096,16320,65280,261888,1048576,4193280,16773120,67104768,268435456,1073725440,4294901760,17179803648,68719476736,274877644800,1099510579200,4398045462528,1759218604441...
CPU/cpu_test/test_storage/1_shift_load.asm
SilenceX12138/MIPS-Microsystems
55
52663
#initial lui $1,0x2819 ori $1,$1,0x9384 lui $2,0x7cfd ori $2,$2,0x5738 lui $3,0x883c ori $3,$3,0x8847 lui $4,0x9382 ori $4,$4,0xacfe sw $1,0($0) sw $2,4($0) sw $3,8($0) sw $4,12($0) #lh ori $5,$0,1 sll $5,$5,2 lh $1,-2($5) lh $2,0($5) ori $6,$0,8 sra $6,$6,2 ori $7,$0,7 lh $2,2($6) lh $3,4($6) ori $5,$0,20 srl $5,$5,2 ...
TEST_DUMPREM.asm
alieonsido/ASM_TESTING
0
52664
TITLE TEST_DumpMem.asm INCLUDE Irvine32.inc INCLUDELIB Irvine32.lib INCLUDELIB Kernel32.Lib INCLUDELIB User32.Lib .data array DWORD 1,2,3,4,5,6,7,8,9,25o .code main PROC mov esi,OFFSET array mov ecx,LENGTHOF array mov ebx,TYPE array call DumpMem exit main ENDP END main
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca_notsx.log_21829_1757.asm
ljhsiun2/medusa
9
52665
<filename>Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca_notsx.log_21829_1757.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0xaed3, %rsi lea addresses_normal_ht+0xb773, %rdi nop nop cmp $23941, %r14 mov $...
Transynther/x86/_processed/P/_zr_un_/i7-7700_9_0x48.log_14574_1262.asm
ljhsiun2/medusa
9
52666
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_UC_ht+0x42c8, %r8 nop nop nop nop xor %rbp, %rbp mov (%r8), %r13 nop cmp %r13, %r13 lea addresses_WT_ht+0x9f08, %rax nop dec %rdi vmovups (%rax), %ymm6 vextracti128 $0, %ym...
1581/64tass/getact.asm
silverdr/assembly
23
52667
<filename>1581/64tass/getact.asm getact ldx lindx ; get the act buf# lda buf0,x ; accm= act buf# bpl ga1 ; x=lindx, n=1 no act buf lda buf1,x ga1 and #$bf ; strip dirty bit rts ;get act buf#-set lbused,flgs gaflgs ldx lindx stx lbused ; ...
Transynther/x86/_processed/AVXALIGN/_st_zr_4k_/i7-7700_9_0x48.log_21829_2130.asm
ljhsiun2/medusa
9
52668
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_UC_ht+0xb43, %rsi lea addresses_WT_ht+0x4a53, %rdi nop nop nop and $33779, %r14 mov $57, %rcx rep movsw nop nop nop nop inc %r15 lea addresses...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_21829_1697.asm
ljhsiun2/medusa
9
52672
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x4569, %r12 nop nop nop sub $55114, %rsi movups (%r12), %xmm7 vpextrq $1, %xmm7, %r11 nop sub $38357, %r12 lea addresses_WC_ht+0x52e9, %rsi nop nop nop nop nop ...
test_q.asm
jhsie007/xv6
0
52673
_test_q: file format elf32-i386 Disassembly of section .text: 00001000 <main>: #include "types.h" #include "user.h" #include "queue.h" int main(){ 1000: 55 push %ebp 1001: 89 e5 mov %esp,%ebp 1003: 83 e4 f0 and $0xfffffff0,%esp 1006: 83 ec...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_110.asm
ljhsiun2/medusa
9
52674
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1da2f, %rsi lea addresses_normal_ht+0x1e4ef, %rdi nop nop nop dec %rax mov $71, %rcx rep movsl inc %rbp lea addresses_D_ht+0x118ef, %rdi nop nop nop nop nop add $7647, %r8 movb (%r...
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_3114.asm
ljhsiun2/medusa
9
52675
<filename>Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_3114.asm .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x31be, %rcx nop nop nop nop and %rdi, %rdi movw $0x6162, (%rcx) nop nop nop add $5668...
Aurora/Aurora/x64/Debug/drvmngr.asm
manaskamal/aurora-xeneva
8
52677
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1 include listing.inc INCLUDELIB LIBCMT INCLUDELIB OLDNAMES PUBLIC ?drivers@@3PAU_aurora_driver_@@A ; drivers _BSS SEGMENT ?drivers@@3PAU_aurora_driver_@@A DB 03000H DUP (?) ; drivers driver_class_unique_id DD 01H DUP (?) _BSS ENDS CONST ...
programs/oeis/079/A079261.asm
karttu/loda
1
52678
<filename>programs/oeis/079/A079261.asm<gh_stars>1-10 ; A079261: Characteristic function of primes of form 4n+3 (1 if n is prime of form 4n+3, 0 otherwise). ; 0,0,1,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,1,0,0...
release/src/router/gmp/source/tests/x86call.asm
zhoutao0712/rtn11pb1
184
52679
<gh_stars>100-1000 dnl x86 calling conventions checking. dnl Copyright 2000, 2003 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or dnl modify it under the terms of the GNU Lesser General Public License as dn...
Transynther/x86/_processed/NONE/_st_zr_un_/i7-7700_9_0x48.log_4845_53.asm
ljhsiun2/medusa
9
52680
.global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x3b0c, %rsi lea addresses_WC_ht+0x1cb0c, %rdi xor %rbp, %rbp mov $22, %rcx rep movsb nop nop nop nop nop cmp $50772, %r15 lea addresses_UC_ht+0xc30c, %rsi lea addresses_A_h...
programs/oeis/055/A055426.asm
neoneye/loda
22
52682
<gh_stars>10-100 ; A055426: Number of points in Z^n of norm <= 2. ; 1,5,13,33,89,221,485,953,1713,2869,4541,6865,9993,14093,19349,25961,34145,44133,56173,70529,87481,107325,130373,156953,187409,222101,261405,305713,355433,410989,472821,541385,617153,700613,792269,892641,1002265,1121693,1251493,1392249,1544561,1709045,1...
programs/oeis/102/A102650.asm
karttu/loda
1
52683
<filename>programs/oeis/102/A102650.asm ; A102650: a(n) = 4 * floor(28*2^n/15). ; 4,12,28,56,116,236,476,952,1908,3820,7644,15288,30580,61164,122332,244664,489332,978668,1957340,3914680,7829364,15658732,31317468,62634936,125269876,250539756,501079516,1002159032,2004318068 mov $1,2 pow $1,$0 mul $1,56 div $1,30 mul $1,...
0-nASM/2hello32.asm
NavinShrinivas/os-dev
0
52684
section .data msg db "Hello World!",0xA len equ $-msg section .text global _start _start: mov eax,4 ;syscall for sys_write mov ebx,1 ;file descriptor for standar output [STDOUT] is 1 mov ecx,msg ;adress of string to write to buffer mov edx,len ;len of string to write int 0x80 mov eax,1...
target/cos_117/disasm/iop_overlay1/COPY4.asm
jrrk2/cray-sim
49
52685
<reponame>jrrk2/cray-sim 0x0000 (0x000000) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0001 (0x000002) 0x2919- f:00024 d: 281 | OR[281] = A 0x0002 (0x000004) 0x1000- f:00010 d: 0 | A = 0 (0x0000) 0x0003 (0x000006) 0x291A- f:00024 d: 282 | OR[282...
programs/oeis/117/A117295.asm
neoneye/loda
22
52686
; A117295: a(n) = phi(n)*(n-phi(n)) ; 0,1,2,4,4,8,6,16,18,24,10,32,12,48,56,64,16,72,18,96,108,120,22,128,100,168,162,192,28,176,30,256,260,288,264,288,36,360,360,384,40,360,42,480,504,528,46,512,294,600,608,672,52,648,600,768,756,840,58,704,60 mov $1,$0 seq $1,10 ; Euler totient function phi(n): count numbers <= n an...
kernel/gdt_idt.asm
fleakos/FleakOS
27
52687
<reponame>fleakos/FleakOS [GLOBAL gdt_flush] gdt_flush: mov eax , [esp+4] ; GDT pointer passed as arg lgdt [eax] ; Load The GDT pointer Into Special register GDTR ; Data Segment at : offset 0x10 mov ax , 0x10 ; Setting up all the data Segments mov ds , ax mov fs , ax mov es , ax mov gs , ax mov...
assignment-6/add_map_in_hosts_file.nasm
jasperla/slae64
0
52688
<gh_stars>0 global _start section .text _start: ;open push 0x2 pop rax xor rdi, rdi push rdi pop rsi push rsi ; 0x00 mov rcx, 0x2f2f2f2f6374652f ; stsoh/ mov rbx, 0x7374736f682f2f2f ; /cte/ push rbx push rcx add rdi, rsp xor rsi, rsi add si, 0x401 syscall...
code/6502/invaders/title.asm
visrealm/hbc-56
65
52689
<gh_stars>10-100 ; Troy's HBC-56 - 6502 - Invaders ; ; Copyright (c) 2021 <NAME> ; ; This code is licensed under the MIT license ; ; https://github.com/visrealm/hbc-56 ; ; Title screen ; TITLES !byte $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$E4,$D9,$B0,$D9,$DE !byte $E6,$D1,$D4,$D5,$E2,$E3,$FF,$FF,$FF,$FF,$...
programs/oeis/157/A157853.asm
jmorken/loda
1
52691
<filename>programs/oeis/157/A157853.asm ; A157853: 3600n^2 - 1601n + 178. ; 2177,11376,27775,51374,82173,120172,165371,217770,277369,344168,418167,499366,587765,683364,786163,896162,1013361,1137760,1269359,1408158,1554157,1707356,1867755,2035354,2210153,2392152,2581351,2777750,2981349,3192148,3410147,3635346,3867745,41...
Engine/Graphics/DrawFullscreenInterlacedImage.asm
wide-dot/thomson-to8-game-engine
11
52692
******************************************************************************** * Draw an interlaced image to data area * !!! IRQ should be disabled !!! * * input REG : [x] image data address ******************************************************************************** DrawFullscreenInterlacedEvenImage ...
code/objects/iceHole.asm
zxwanderer/A-World-of-One-way
7
52694
<gh_stars>1-10 module ICE_HOLE init: SET_EXEC_IX update xor a ld (ix+oData.isMovable),a ld (ix+oData.accelerate),a ld (ix+oData.drawMethod),a inc a ld (ix+oData.needDraw),a ld (ix+oData.color),5 ld c,(ix+oData.cellId) call getAttrAddrByCellId ld (ix+oData.clrScrAddrL),e ld (ix+oData.clrScrAddrH),d jp OBJE...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0.log_21829_989.asm
ljhsiun2/medusa
9
52695
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1c89c, %rsi lea addresses_WC_ht+0x90cc, %rdi clflush (%rdi) nop nop nop xor $45958, %r15 mov $15, %rcx rep movsw nop add %rsi, %rsi lea addresses_D_ht+0x198cc, %r9 clflush (%...
base/crts/fpw32/tran/i386/87tran.asm
npocmaka/Windows-Server-2003
17
52696
<reponame>npocmaka/Windows-Server-2003 page ,132 title 87tran - elementary functions - EXP, LOG, LN, X^Y ;*** ;87tran.asm - elementary functions - EXP, LOG, LN, X^Y ; ; Copyright (c) 1984-2001, Microsoft Corporation. All rights reserved. ; ;Purpose: ; Support for EXP, LOG, LN, X^Y (80x87/emulator version) ...
oeis/114/A114051.asm
neoneye/loda-programs
11
52697
; A114051: x such that x^2 - 23*y^2 = 1. ; Submitted by <NAME>(s2) ; 1,24,1151,55224,2649601,127125624,6099380351,292643131224,14040770918401,673664360952024,32321848554778751,1550775066268428024,74404881332329766401,3569883528885560359224,171280004505174567476351,8217870332719493678505624,394286495966030522000793601,1...
assets/_heart.asm
hundredrabbits/Donsol
113
52698
background: .db $81,$82,$82,$82,$82,$83,$00,$81,$82,$82,$82,$82,$83,$81,$82,$82,$82,$82,$83,$81,$82,$82,$82,$82,$83,$81,$82,$82,$82,$82,$83,$00 .db $85,$42,$86,$86,$86,$87,$00,$85,$42,$86,$86,$86,$87,$85,$42,$86,$86,$86,$87,$85,$42,$86,$86,$86,$87,$85,$42,$86,$86,$86,$87,$00 .db $85,$46,$86,$86,$86,$87,$00,$85,$4...
programs/oeis/179/A179237.asm
jmorken/loda
1
52701
<reponame>jmorken/loda<filename>programs/oeis/179/A179237.asm ; A179237: a(0) = 1, a(1) = 2; a(n+1) = 6*a(n) + a(n-1) for n>1. ; 1,2,13,80,493,3038,18721,115364,710905,4380794,26995669,166354808,1025124517,6317101910,38927735977,239883517772,1478228842609,9109256573426,56133768283165,345911866272416,2131604965917661,1...
examples/bin2dec.asm
AbdulrahmanAbumdas/emu8086
287
52702
; input8 bit binary number and print out decimal to screen. ; zeros and ones -> decimal value ORG 100h ; macro ; this macro prints a char in AL and advances ; the current cursor position: PUTC MACRO char PUSH AX MOV AL, char MOV AH, 0Eh INT 10h POP ...
ugbc/src/hw/6502/cpu_random.asm
Samuel-DEVULDER/ugbasic
0
52704
; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021 <NAME> (<EMAIL>) ; * ; * Licensed under the Apache Lice...
tests/asm/64/test64.asm
NoSuchProcess/udis86-sf
2
52705
[bits 64] mov rax, 0x102030405060708 mov [eax+0x10], ax mov [eax+0x1000], ebx mov [ebp+eax+0x40], esi mov qword [ebp+edi+0x1000], 0x10 mov byte [esp], 0x10 mov [eax], rax mov [r12], eax mov [r13+r12+0x200], eax mov [r8*4+0x670], sil inc rax dec rax mov [rip+0x200], ra...
programs/oeis/109/A109234.asm
karttu/loda
1
52706
<gh_stars>1-10 ; A109234: a(n) = floor(n*sinh(1)). ; 1,2,3,4,5,7,8,9,10,11,12,14,15,16,17,18,19,21,22,23,24,25,27,28,29,30,31,32,34,35,36,37,38,39,41,42,43,44,45,47,48,49,50,51,52,54,55,56,57,58,59,61,62,63,64,65,66,68,69,70,71,72,74,75,76,77 mov $1,$0 mov $2,$0 div $2,4 mov $3,$2 div $3,2 sub $1,$3 div $1,5 add $1,1 ...
src/accesing-ref-array-parameters.asm
hirohito-protagonist/hla-learn-adventure
0
52707
; Assembly code emitted by HLA compiler ; Version 2.16 build 4413 (prototype) ; HLA compiler written by <NAME> ; NASM compatible output bits 32 %define ExceptionPtr__hla_ [dword fs:0] global QuitMain__hla_ global DfltExHndlr__hla_ global _HLAMain global HWexcept__hla...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_325.asm
ljhsiun2/medusa
9
52708
<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_325.asm .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r13 push %r15 push %r9 push %rax push %rbx // Faulty Load lea addresses_normal+0x87db, %r9 nop nop sub $18991, %r13 movups (%r9), ...
programs/oeis/131/A131174.asm
neoneye/loda
22
52709
<reponame>neoneye/loda ; A131174: a(2n) = 2*A000217(n), a(2n+1) = A000217(n). ; 0,0,2,1,6,3,12,6,20,10,30,15,42,21,56,28,72,36,90,45,110,55,132,66,156,78,182,91,210,105,240,120,272,136,306,153,342,171,380,190,420,210,462,231,506,253,552,276,600,300,650,325,702,351,756,378,812,406,870,435,930,465,992,496,1056,528,1122,5...
Driver/Mouse/AlpsPen/alpspen.asm
steakknife/pcgeos
504
52710
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994 -- All Rights Reserved PROJECT: PC GEOS MODULE: MOUSE DRIVER -- Alps Digitizer FILE: alpspen.asm AUTHOR: <NAME>, Dec 6, 1994 ROUTINES: Name Description ---- ----------- REVISION HI...
programs/oeis/013/A013574.asm
neoneye/loda
22
52711
; A013574: Minimal scope of an (n,2) difference triangle. ; 3,7,10,12,15,19,22,24,27,31,34,36,39,43,46,48,51,55,58,60,63,67,70,72,75,79,82,84,87,91,94,96,99,103,106,108,111,115,118,120,123,127,130,132,135,139,142,144,147,151,154,156,159,163,166,168,171,175,178,180,183,187,190,192,195,199,202,204,207,211,214,216,219,223...
source/reserved.asm
dlope073/MonsterOS
1
52712
<filename>source/reserved.asm ;Copyright (c) 2013, <NAME> 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 source code must retain the above copyright notice, this list of conditions...
programs/oeis/201/A201500.asm
neoneye/loda
22
52713
; A201500: Number of n X 3 0..1 arrays with every row and column running average nondecreasing rightwards and downwards, and the number of instances of each value within one of each other. ; 2,2,6,5,12,8,20,13,30,18,42,25,56,32,72,41,90,50,110,61,132,72,156,85,182,98,210,113,240,128,272,145,306,162,342,181,380,200,420,...
ln.asm
PieMyth/cs333
0
52716
_ln: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 ...
oeis/167/A167339.asm
neoneye/loda-programs
11
52717
<reponame>neoneye/loda-programs<filename>oeis/167/A167339.asm ; A167339: Totally multiplicative sequence with a(p) = p*(p-2) = p^2-2p for prime p. ; 1,0,3,0,15,0,35,0,9,0,99,0,143,0,45,0,255,0,323,0,105,0,483,0,225,0,27,0,783,0,899,0,297,0,525,0,1295,0,429,0,1599,0,1763,0,135,0,2115,0,1225,0,765,0,2703,0,1485,0,969,0,3...
9. SUM AGAIN.asm
rng70/Assembly-Programming
0
52718
; TAKE INPUT OF TWO NUMBER AND PRINT THEIR SUM .MODEL SMALL .STACK 100H .DATA A DB ? B DB ? MSG DB 0DH, 0AH, 'THE SUM OF $' MSG1 DB ' AND $' MSG2 DB ' IS $'; .CODE MAIN PROC ; INITIALIZE DATA SEGMENT MOV AX, @DATA MOV DS, AX ...
Ej8.asm
ribriel2911/Organizacion-del-Computador
0
52719
<reponame>ribriel2911/Organizacion-del-Computador ; You may customize this and other start-up templates; ; The location of this template is c:\emu8086\inc\0_com_template.txt org 100h mov ax,0 mov bx,0 mov cx,0 mov dx,0 sig: mov al,3h cmp pos,al je fin mov bl,pos mov al,dato[bx] sub al,30...
aux/2600/blnktest_ext/blnktest_ext.asm
6502ts/6502.ts
49
52720
processor 6502 include ../vcs.h SwitchPeriod = 121 SEG.U VARS ORG $80 CtrlpfContents ds 1 FrameCounter ds 1 SEG CODE org $F000 Start SEI CLD LDX #$FF TXS LDA #0 ClearMem STA 0,X DEX BNE ClearMem MainLoop ; line 1 LDA #2 STA VBLANK STA VSYNC STA WSYNC ; line 2 STA WSYNC ; line 3 STA W...
programs/oeis/303/A303120.asm
jmorken/loda
1
52722
<filename>programs/oeis/303/A303120.asm ; A303120: Total area of all rectangles of size p X q such that p + q = n^2 and p <= q. ; 0,7,60,372,1300,4047,9800,22352,44280,84575,147620,251412,402220,632247,949200,1406272,2011440,2847447,3920460,5353300,7147140,9477567,12336280,15966672,20345000,25800047,32284980,40234292,4...
AlgorithmsFromTheBook/evenodd.asm
MateoParrado/AlgorithmsFromTheBook
0
52723
PUBLIC asm_even_odd .386 .model flat, c .code asm_even_odd PROC mov ecx, 0ffffffffh; L1: mov eax, ecx L2: cmp eax, 0 jz quit cmp eax, 1 je quit mul eax jmp L2 quit: mov ebx, ecx and ebx, 1 cmp ebx, eax je quit2 mov eax, 0 div ebx quit2: loop L1 ret asm_even_odd ENDP end
programs/oeis/070/A070410.asm
neoneye/loda
22
52724
; A070410: a(n) = 7^n mod 25. ; 1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18,1,7,24,18 mov $1,1 mov $2,$0 lpb $2 mul $1,7 ...
iod/con2/sprite/f3.asm
olifink/smsqe
0
52726
<reponame>olifink/smsqe * Sprite f3 * * Mode 4 * +|------+ * -ggg gg - * |g g g| * |g g| * |gg gg | * |g g| * |g g g| * |g gg | * +|------+ * section sprite xdef sp_f3 xref sp_zero sp_f3 dc.w $0100,$0000 dc.w 7,7,0,0 dc.l sc4_f3-* dc.l sp_zero-* dc.l 0 sc4_f3 dc.w $EC00,$0000 dc.w $9200,$0000 ...
_build/dispatcher/jmp_ippsRSA_MB_Encrypt_406c4bcd.asm
zyktrcn/ippcp
1
52727
extern m7_ippsRSA_MB_Encrypt:function extern n8_ippsRSA_MB_Encrypt:function extern y8_ippsRSA_MB_Encrypt:function extern e9_ippsRSA_MB_Encrypt:function extern l9_ippsRSA_MB_Encrypt:function extern n0_ippsRSA_MB_Encrypt:function extern k0_ippsRSA_MB_Encrypt:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeIni...
8086/62prearith/add.asm
iamvk1437k/mpmc
1
52728
MOV SI,1100H ;Load the address of data in SI MOV DI,1200H ;Load the result address in DI MOV AX,[SI] ;Move the contents of SI to AX register ADD AX, [SI+4] ;Add AX register with contents of SI MOV [DI],AX ;Move AX reg to DI MOV AX,[SI+2] ;Move the contents of SI+2 to AX register ADC AX, [SI+6] ;Add ca...
COM/amiga/simcpm/simcpm2.asm
johnsonjh/com-cpm
5
52729
************************************************************************* * * * Z-80 Emulator for MC68000 * * * * This file contains the target processor (Z-80) * * emulation routines. * * * ************************************************************************* * Last revised Janua...
Script/2.asm
YeasinArafatPrantik/CSE331L_Section_7_Summer20_NSU_Final
0
52730
.MODEL SMALL .STACK 100H .CODE MAIN PROC .DATA PROMPT_1 DB PROMPT_2 DB ODH,OAH ILLEGAL DB ODH,OAH COUN DB? .CODE MAIN PROC MOV AX, @DATA MOV DS,AX LEA DX, PROMT_1 MOV AH,9 INT 21H JMP @START @START_1 LEA DX,ILLEGAL MOV AH,9 ...
libsrc/_DEVELOPMENT/target/yaz180/driver/i2c/i2c_initialise.asm
jpoikela/z88dk
0
52731
<filename>libsrc/_DEVELOPMENT/target/yaz180/driver/i2c/i2c_initialise.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 an ackn...
programs/oeis/132/A132118.asm
neoneye/loda
22
52732
<reponame>neoneye/loda ; A132118: Triangle read by rows: T(n,k) = n*(n-1)/2 + 2*k - 1. ; 1,2,4,4,6,8,7,9,11,13,11,13,15,17,19,16,18,20,22,24,26,22,24,26,28,30,32,34,29,31,33,35,37,39,41,43,37,39,41,43,45,47,49,51,53,46,48,50,52,54,56,58,60,62,64,56,58,60,62,64,66,68,70,72,74,76,67,69,71,73,75,77,79,81,83,85,87,89,79,81...
groups.asm
Noah1989/asm21
1
52733
entrypoint print_groups .block LD A, (instruction_select_begin) AND A JP NZ, print_instructions LD E, 2 LD B, 26 LD HL, group_names LD A, (colors_editor+7) LD C, A next_line: XOR A OUT gaddr_l, A LD A, E OUT gaddr_h, A LD A, color_editor_left OUT color_io, A LD A, $B3 OUT chars_io, A LD B, 80-editor_wi...
Transynther/x86/_processed/NC/_ht_zr_/i9-9900K_12_0xa0.log_21829_808.asm
ljhsiun2/medusa
9
52734
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NC/_ht_zr_/i9-9900K_12_0xa0.log_21829_808.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0xa89a, %r12 nop nop inc %rbx mov (%r12), %r8 nop nop and %r13, ...
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca.log_21829_158.asm
ljhsiun2/medusa
9
52735
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x727c, %rbx nop cmp %rdx, %rdx mov $0x6162636465666768, %rbp movq %rbp, (%rbx) add %r9, %r9 lea addresses_UC_ht+0x9438, %r10 nop nop nop nop nop and %rbp, %...
programs/oeis/081/A081189.asm
karttu/loda
1
52736
; A081189: 7th binomial transform of (1,0,1,0,1,...), A059841. ; 1,7,50,364,2696,20272,154400,1188544,9228416,72147712,567104000,4476365824,35448129536,281408253952,2238205337600,17827278536704,142148043309056,1134363236564992,9057979233075200,72362273907933184 mov $1,8 pow $1,$0 mov $2,6 pow $2,$0 add $1,$2 sub $1,2 ...
src/drivers/MmcsdSDCSG.asm
sharksym/vgmplay-sharksym
6
52737
; ; MMC/SD Drive SN76489 DCSG driver (secondary) ; MMCSDS_SN76489: equ 3FH MMCSDsDCSG: MACRO super: DCSG MMCSDS_SN76489, MMCSDsDCSG_name slot: db 0 ENDM ; ix = this ; iy = drivers MMCSDsDCSG_Construct: call DCSG_Construct call MMCSDs_Detect jp nc,Driver_NotFound ld (ix + MMCSDsDCSG.slot),a call MMCSDv4_Enab...
4 专业科目/计算机组成/习题/hw/自己动手写CPU/Code/Chapter11/AsmTest/test1/inst_rom.asm
ladike/912_project
640
52738
<reponame>ladike/912_project inst_rom.om: file format elf32-tradbigmips Disassembly of section .text: 00000000 <_start>: 0: 34010100 li at,0x100 4: 00200008 jr at 8: 00000000 nop ... 40: 34018000 li at,0x8000 44: 34019000 li at,0x9000 48: 40017000 mfc0 at,c0_epc 4c: 20210004 addi at,at,4...
libsrc/graphics/osca/swapgfxbk.asm
andydansby/z88dk-mk2
1
52739
<gh_stars>1-10 ; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by <NAME> - 15/10/98 ; ; ; Page the graphics bank in/out - used by all gfx functions ; Simply does a swap... ; ; ; Stefano - Sept 2011 ; ; ; $Id: swapgfxbk....
oeis/088/A088312.asm
neoneye/loda-programs
11
52740
; A088312: Number of sets of lists (cf. A000262) with even number of lists. ; Submitted by <NAME> ; 1,0,1,6,37,260,2101,19362,201097,2326536,29668681,413257790,6238931821,101415565836,1765092183037,32734873484250,644215775792401,13404753632014352,293976795292186897,6775966692145553526,163735077313046119861,413849860007...
res/sleep.asm
Pusty/F0i
0
52741
%ifndef SLEEP %define SLEEP sleep:; input si: delay in 1.024*ms xor eax,eax;clear eax for using it as nanosec storeage mov ax,si shl eax,10 ;eax=2^10*si mov dx,ax shr eax,16 mov cx,ax ;dx,cx=eax mov ah, 86h int 15h;CX,DX interval in microseconds (1,000,000ths of a second) - CX is high word, DX is low wo...
oeis/327/A327662.asm
neoneye/loda-programs
11
52742
; A327662: Length of shortest word of frequency depth n. ; Submitted by <NAME> ; 1,2,2,3,4,5,7,10,14,21,31,45,66,99 lpb $0 sub $0,1 div $2,2 add $4,$1 add $4,$1 add $1,$3 mov $5,1 add $5,$2 mov $2,$3 mov $3,$5 sub $3,$1 add $4,3 add $2,$4 lpe mov $0,$3 add $0,1
sys/hal/x86/hal_stub_inc.asm
DarkAutomata/DarkOs
2
52743
<reponame>DarkAutomata/DarkOs ; Copyright (c) 2016, <NAME> ; 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 source code must retain the above copyright notice, this...
programs/oeis/075/A075319.asm
jmorken/loda
1
52744
<gh_stars>1-10 ; A075319: Pair the odd numbers such that the k-th pair is (r, r+2k) where r is the smallest odd number not included earlier: (1,3),(5,9),(7,13),(11,19),(15,25),(17,29),(21,35),(23,39),(27,45),... This is the sequence of the sum of the members of pairs. ; 4,14,20,30,40,46,56,62,72,82,88,98,108,114,124,13...
Architecture/a6/asm/main.asm
DulceWRLD/College
2
52745
; <NAME> ; Assignment 5 ; Used Moloney's /~bill/cs305/ directory for help. ; Main loop AddInput: lodd on: ; Starting value of 8. stod 4095 ; Transmitter address call xbsywt: ; Receiver function call. ; First number input loco r...
Borland/CBuilder5/Source/Vcl/erase.asm
TrevorDArcyEvans/DivingMagpieSoftware
1
52746
<gh_stars>1-10 ; ******************************************************* ; * * ; * Delphi Runtime Library * ; * * ; * Copyright (c) 1996,98 Inprise Corporation * ; * * ; ******************************************************* INCLUDE SE.ASM INCLUDE FILEIO.ASM .386 ....
programs/oeis/053/A053575.asm
jmorken/loda
1
52747
<gh_stars>1-10 ; A053575: Odd part of phi(n): a(n) = A000265(A000010(n)). ; 1,1,1,1,1,1,3,1,3,1,5,1,3,3,1,1,1,3,9,1,3,5,11,1,5,3,9,3,7,1,15,1,5,1,3,3,9,9,3,1,5,3,21,5,3,11,23,1,21,5,1,3,13,9,5,3,9,7,29,1,15,15,9,1,3,5,33,1,11,3,35,3,9,9,5,9,15,3,39,1,27,5,41,3,1,21,7,5,11,3,9,11,15,23,9,1,3,21,15,5,25,1,51,3,3,13,53,9,...
sbsext/ed/fline.asm
olifink/smsqe
0
52748
<gh_stars>0 * ED - Find BASIC line  1985 <NAME> QJUMP * section ed * xdef ed_bscan xdef ed_stlin xdef ed_fline xdef ed_flins xdef ed_nline xdef ed_pline * xref ed_setps xref ed_xplin * include dev8_sbsext_ed_keys include dev8_sbsext_ed_data * * Scan backwards * * d1 c s number of lines to go back * d2 ...
oeis/037/A037594.asm
neoneye/loda-programs
11
52749
<filename>oeis/037/A037594.asm ; A037594: Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,3. ; Submitted by <NAME>(s3) ; 1,8,67,537,4296,34371,274969,2199752,17598019,140784153,1126273224,9010185795,72081486361,576651890888,4613215127107,36905721016857,295245768134856,236...
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0x48.log_21829_1854.asm
ljhsiun2/medusa
9
52750
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0x48.log_21829_1854.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %rcx push %rdi push %rsi lea addresses_normal_ht+0xa94c, %rsi lea addresses_WC_ht+0x1994c, %rdi clflush (%rsi) nop nop nop nop nop cmp $3...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_199.asm
ljhsiun2/medusa
9
52751
<filename>Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_199.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x19acc, %rsi lea addresses_UC_ht+0xc9f4, %rdi clflush (%rdi) nop nop ...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1350.asm
ljhsiun2/medusa
9
52752
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x17ad9, %rsi lea addresses_A_ht+0x18bd9, %rdi cmp $65446, %rbx mov $22, %rcx rep movsb nop nop sub %rax, %rax lea addresses_WT_ht+0x27b9, %rax sub $2...
programs/oeis/130/A130188.asm
neoneye/loda
22
52754
<filename>programs/oeis/130/A130188.asm ; A130188: Denominators of rationals r(n) related to the z-sequence of the Sheffer matrix A060821 for Hermite polynomials. ; 1,4,4,32,16,64,64,1024,256,1024,1024,8192,4096,16384,16384,524288,65536,262144,262144,2097152,1048576,4194304,4194304,67108864,16777216,67108864,67108864,5...
CS202/lab6/lab6_2.asm
Wycers/Codelib
22
52755
<filename>CS202/lab6/lab6_2.asm .include "utils.asm" .data zero: .float 0 two: .float 2 a: .word 0 .text print_str("Please input number x: ") li $v0, 6 # $v0 = 6 syscall la $t1, zero # lwc1 $f10, 0($t1) c.lt.s $f0, $f10 bc1t end mov.s $f1, $f0 la $t1, two # lwc1 $f5, 0($t1) la $s0, a sw...
solutions/33 - Data Backup Day/size-8_speed-2.asm
michaelgundlach/7billionhumans
45
52756
-- 7 Billion Humans (2145) -- -- 33: Data Backup Day -- -- Author: landfillbaby -- Size: 8 -- Speed: 2 mem1 = nearest datacube mem2 = set e if mem1 > mem2: mem1 = set mem2 mem2 = nearest datacube endif pickup mem2 write mem1 drop
antigos/LEITURA_COMANDO.asm
mauriciocc/batalha-univatal
0
52757
<gh_stars>0 LETRA_1 EQU 041h ; DEFINE 1a. COLUNA COM A LETRA A LETRA_8 EQU 048h ; DEFINE ULTIMA COLUNA COM LETRA H NUMERO_1 EQU 31h NUMERO_8 EQU 38h org 100h MOV SI, offset JOGADA ;MOVE O VETOR DE JOGADAS PARA A MEMORIA ;*******************INICIO********************************** AGUARDA_LETRA: MO...