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
example/primes.asm
falkreon/CoPU-VM
1
56782
MOV R0, 1 start: ADD R0, 1 JL R0, 8, start MOV R1, R0 MOV R0, 0 RET db str "This is a test " ; Argument passed in in R1. If it's prime, sets R2 to 0. If not-prime, sets it to 1. isPrime:
0x0b.asm
SpeedStepper/XchgRaxRax
53
56784
; ; $Id: 0x0b.asm,v 1.1.1.1 2016/03/27 08:40:12 raptor Exp $ ; ; 0x0b explanation - from xchg rax,rax by <EMAIL> ; Copyright (c) 2016 <NAME> <<EMAIL>> ; ; This snippet performs either a neg (two's complement ; negation) or a not (one's complement negation) operation ; on the value present in rdx, based on the content o...
oeis/040/A040540.asm
neoneye/loda-programs
11
56785
; A040540: Continued fraction for sqrt(564). ; Submitted by <NAME>iga ; 23,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1,46,1,2,1 gcd $0,262156 mul $0,42 mod $0,13 mov $1,$0 add $0,5 add $...
testfiles/simple.uv.asm
wvanbreukelen/universe-compiler
0
56786
global _start section .text _start: mov r8, [a] mov r9, r8 mov r10, r9 mov r11, r10 mov rax, 60 mov rdi, r11 syscall section .rodata section .data a: db 7
libsrc/_DEVELOPMENT/adt/bv_priority_queue/c/sdcc_ix/bv_priority_queue_push_callee.asm
jpoikela/z88dk
640
56788
; int bv_priority_queue_push_callee(bv_priority_queue_t *q, int c) SECTION code_clib SECTION code_adt_bv_priority_queue PUBLIC _bv_priority_queue_push_callee, l0_bv_priority_queue_push_callee EXTERN asm_bv_priority_queue_push _bv_priority_queue_push_callee: pop af pop hl pop bc push af l0_bv_priority...
programs/oeis/314/A314026.asm
neoneye/loda
22
56791
<reponame>neoneye/loda<filename>programs/oeis/314/A314026.asm<gh_stars>10-100 ; A314026: Coordination sequence Gal.5.130.4 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,5,11,15,20,25,29,35,40,45,51,55,60,65,69,75,80,85,91,95,100,...
main.asm
MaxLeiter/KIMP
3
56792
; KIMP: a KnightOS Image Editor ; Basically a frankenstein of KnightOS projects, ; thanks whoever made them (SirCmpwn, Willem3141, etc) ; By MaxLeiter <<EMAIL>> #include "kernel.inc" #include "corelib.inc" .db "KEXC" .db KEXC_ENTRY_POINT .dw start .db KEXC_STACK_SIZE .dw 20 .db KEXC_KERNEL_VER ...
cps_pp/tests/various/pmalloc/main.asm
RBC-UKQCD/CPS
7
56793
#include<config.h> CPS_START_NAMESPACE **-------------------------------------------------------------------- ** CVS keywords ** ** $Source: /space/cvs/cps/cps++/tests/various/pmalloc/main.asm,v $ ** $State: Exp $ ** **-------------------------------------------------------------------- .version 30 ;===============...
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/ldexp_callee.asm
Frodevan/z88dk
640
56794
<reponame>Frodevan/z88dk<gh_stars>100-1000 SECTION code_fp_math32 PUBLIC ldexp_callee EXTERN cm32_sccz80_ldexp_callee defc ldexp_callee = cm32_sccz80_ldexp_callee ; SDCC bridge for Classic IF __CLASSIC PUBLIC _ldexp_callee EXTERN cm32_sdcc_ldexp_callee defc _ldexp_callee = cm32_sdcc_ldexp_callee ENDIF
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_867.asm
ljhsiun2/medusa
9
56795
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_867.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r14 push %r15 push %rcx push %rdi push %rsi lea addresses_A_ht+0x17b2a, %rsi xor $43647, %r14 movb (%rsi), %r13b cmp $33302, %r12 le...
libsrc/_DEVELOPMENT/arch/sms/misc/c/sdcc_iy/sms_tiles_get_area.asm
jpoikela/z88dk
640
56796
; void sms_tiles_get_area(struct r_Rect8 *r, void *dst) SECTION code_clib SECTION code_arch PUBLIC _sms_tiles_get_area EXTERN asm_sms_tiles_get_area _sms_tiles_get_area: pop af pop ix pop de push de push hl push af jp asm_sms_tiles_get_area
Assignment_3/egg_hunter.nasm
DeathsPirate/SLAE
2
56797
<filename>Assignment_3/egg_hunter.nasm ; Title: Egg Hunter - Linux x86 ; Author: DeathsPirate ; Twitter: @DeathsPirate ; Web: https://whitehatters.academy ; StudentID: SLAE-734 global _start section .text _start: align_page: or cx,0xfff ; Setup the page alignment next_address: inc ecx ; Increment ...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_532.asm
ljhsiun2/medusa
9
56799
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_D_ht+0xa2a9, %rsi lea addresses_normal_ht+0x2601, %rdi nop nop nop xor %r8, %r8 mov $53, %rcx rep movsq nop nop nop sub %rcx, %rcx lea addresses_normal_ht+0x138e9, %r9 nop nop nop cmp...
3x5/BLM3031 - Microprocessor Systems/Codes/8251.asm
LyotardPostmodernizm/YTU-CE
1
56800
<gh_stars>1-10 ;==================================================================== ; Main.asm file generated by New Project wizard ; ; Created: <NAME> 11 2016 ; Processor: 8086 ; Compiler: MASM32 ; ; Before starting simulation set Internal Memory Size ; in the 8086 model properties to 0x10000 ;===================...
queue.asm
qynvi/laserturret
0
56802
NAME QUEUE ;-------------------------------------------------------------------------------------------------------- ; RoboTrike Queue Routines ; ; The queue functions for the RoboTrike. ; ; QueueInit - Initializes queue of size s at address a. ; QueueEmpty - Checks if the queue is empty. ; QeueFull - Check...
C vs Assembly/swap 2 numbers using bitwise xor operator.asm
zakarialaoui10/HIGH-TO-LOW
18
56803
li $s0,3 li $s1,7 xor $s0,$s0,$s1 xor $s1,$s0,$s1 xor $s0,$s0,$s1 li $v0,1 la $a0,($s0) syscall li $v0,1 la $a0,($s1) syscall
src/asm/boot.asm
mattgathu/mysticalOS
0
56804
<filename>src/asm/boot.asm extern kmain global start section .text bits 32 start: ; Point the first entry of the level 4 page table to the first entry in ; the p3 table mov eax, p3_table ; copies the contents of p3_table entry into the eax register or eax, 0b11 ; or contents of eax with 0b11,...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_753.asm
ljhsiun2/medusa
9
56805
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0xaa01, %rsi lea addresses_WC_ht+0x6e01, %rdi nop nop nop nop nop cmp $27475, %r12 mov $76, %rcx rep movsb nop nop add %r11, %r11 lea addresses_WC_ht+0x4601, %r8 nop nop nop an...
oeis/074/A074309.asm
neoneye/loda-programs
11
56806
<reponame>neoneye/loda-programs ; A074309: Sum of next n terms of the form i^i. ; Submitted by <NAME> ; 4,283,50037,17650540,10405067904,9211817140115,11424093748466841,18896062057822100616,40192544399240309019728,106876212200059543898143707,347377340594805599176614321101,1354963622190726842073697019627188,624629238579...
matlab_ext/code-miners/projects/prepro/test-data/cb/_v3_MIP.asm
zaqwes8811/coordinator-tasks
0
56807
<gh_stars>0 ;************************************************************ ;************************************************************ #include <../headers/mip.inc> mObject_var _v3_MIP MipControlByte res 1 object code ;------------------------------------------------------------ _v#v(HERE)_MIP_INI mObject_sel T...
P6/data_P6/testpoint/testpoint87.asm
alxzzhou/BUAA_CO_2020
1
56808
ori $1, $0, 14 ori $2, $0, 14 ori $3, $0, 14 ori $4, $0, 10 sw $2, 0($0) sw $4, 4($0) sw $2, 8($0) sw $2, 12($0) sw $2, 16($0) sw $2, 20($0) sw $1, 24($0) sw $3, 28($0) sw $1, 32($0) sw $2, 36($0) sw $3, 40($0) sw $1, 44($0) sw $2, 48($0) sw $4, 52($0) sw $4, 56($0) sw $4, 60($0) sw $2, 64($0) sw $...
programs/oeis/295/A295012.asm
karttu/loda
1
56809
; A295012: a(n) = sigma(12n - 1)/12, where sigma = sum of divisors (A000203). ; 1,2,4,4,5,6,7,10,9,12,11,14,16,14,15,16,20,22,19,20,21,22,31,28,28,26,30,34,29,30,36,32,40,38,35,36,37,56,39,40,41,42,52,48,57,50,47,62,49,50,56,60,64,54,55,62,57,70,68,60,66,62,76,70,70,76,74,82,69,70,76,72,104,74,80,76,84,108,79,92,81,82,...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1073.asm
ljhsiun2/medusa
9
56811
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x11f24, %rsi lea addresses_A_ht+0x8cd4, %rdi nop nop nop nop nop and $38785, %r10 mov $119, %rcx rep movsw nop nop sub %r9, %r9 lea addresses_A_ht+0x1c4e4, %rax ...
oeis/321/A321546.asm
neoneye/loda-programs
11
56812
<reponame>neoneye/loda-programs<filename>oeis/321/A321546.asm ; A321546: a(n) = Sum_{d|n} (-1)^(d-1)*d^7. ; Submitted by <NAME>(s1) ; 1,-127,2188,-16511,78126,-277876,823544,-2113663,4785157,-9922002,19487172,-36126068,62748518,-104590088,170939688,-270549119,410338674,-607714939,893871740,-1289938386,1801914272,-24748...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_460.asm
ljhsiun2/medusa
9
56814
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x1e22c, %r10 nop nop and $52706, %rax mov (%r10), %r12 and $1663, %rax lea addresses_UC_ht+0x812c, %r14 nop nop nop nop nop sub $40314, %rcx movb (%r14), %r10b add %rsi, %rsi l...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_791.asm
ljhsiun2/medusa
9
56815
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x153d9, %rsi lea addresses_UC_ht+0x1c8df, %rdi clflush (%rdi) xor %r12, %r12 mov $0, %rcx rep movsb nop nop nop sub $16576, %rsi lea addresses_n...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1345.asm
ljhsiun2/medusa
9
56816
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x1e854, %r11 nop nop nop nop and $9152, %rax mov (%r11), %esi nop and %rax, %rax lea addresses_UC_ht+0xcbf5, %rsi lea addresses_normal_ht+0x12f28, %rdi cmp $50233, %r13 mov $7, %rcx rep...
programs/oeis/115/A115283.asm
neoneye/loda
22
56817
<reponame>neoneye/loda ; A115283: Diagonal sums of correlation triangle for 3-2*0^n. ; 1,3,6,13,18,27,37,48,60,76,90,108,127,147,168,193,216,243,271,300,330,364,396,432,469,507,546,589,630,675,721,768,816,868,918,972,1027,1083,1140,1201,1260,1323,1387,1452,1518,1588,1656,1728,1801 mov $6,$0 add $6,1 mov $7,$0 lpb $6 ...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1051.asm
ljhsiun2/medusa
9
56820
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x103ad, %r13 nop nop inc %r11 movl $0x61626364, (%r13) nop add $6350, %rax lea addresses_WT_ht+0x410d, %r13 nop nop nop nop xor %rax, %rax mov $0x61626364656667...
linux64/lesson10.asm
mashingan/notes-asmtutor
1
56821
<filename>linux64/lesson10.asm format ELF64 executable 3 entry start include 'procs.inc' segment readable writable banner db 'Count and print each line to 10', 0 start: mov rax, banner call sprintLF mov rdx, 0 @@: inc rdx cmp rdx, 10 jg @f mov rax, rdx ad...
arch/lib/char/is_char_alphabetic.asm
Mosseridan/Compiler-Principles
0
56822
/* char/is_char_uc.asm * R0 <- ('a' <= ARG[0] <= 'z') || ('A' <= ARG[0] <= 'Z') * * Programmer: <NAME>, 2010 */ IS_CHAR_ALPHABETIC: PUSH(FP); MOV(FP, SP); PUSH(R1); MOV(R1, FPARG(0)); PUSH(R1); CALL(IS_CHAR_UC); POP(R1); CMP(R0, IMM(0)); JUMP_NE(L_ICAT_EXIT); MOV(R1, FPARG(0)); PUSH(R1); C...
osmake/dosboot.asm
archibate/Lake-OS
1
56823
; vim: ft=nasm ai ; TODO: uncompleted! FDMEM0 equ 0x8000 HEADOFF equ 0x4400 DRV_NR equ 0x00 SAVCYLS equ 0xff0 org 0x100 [SECTION .text] entry: lea si, [msg_load] call print readkern: lea dx, [sysfilepath] mov ax, 0x3d02 int 0x21 jc error mov bx, ax mov cx, 0xfe00 lea dx, [buf] mov ah, 0x3f push bx int...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2134.asm
ljhsiun2/medusa
9
56824
<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2134.asm .global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1b5cd, %rsi lea addresses_A_ht+0x7e2d, %rdi inc %r15 mov $49, %rcx rep movsl nop nop nop nop and %r14, %r14 pop %rsi...
Transynther/x86/_processed/NC/_st_zr_sm_/i9-9900K_12_0xca.log_21829_1559.asm
ljhsiun2/medusa
9
56825
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r15 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x3d85, %rsi lea addresses_A_ht+0xc5a5, %rdi clflush (%rsi) nop nop nop nop nop and %r14, %r14 mov $125, %rcx rep movsw nop inc %r8 lea addresses_D_ht+0x161a5, %rsi lea address...
3_questao_ficha_assembly.asm
lucass235/Programas_em_Assembly
0
56827
<gh_stars>0 proc1: # $a1 = vetor. addi $t0, $zero, 3 # $t0 = 3 addi $t1, $zero, 6 # $t1 = 6 addi $t2, $zero, 4 # $t2 = 4 add $t2, $t2, $t2 add $t2, $t2, $t2 # multiplicando por 4*$t2 add $t2, $t2, $a1 # guarda em $t2 o novo endereco do vetor. lw $t3, 0($t2) # armazena o novo endereco do vetor no $t3. slt $t4...
asm/gfx.asm
zig-for/ALttPDoorRandomizer
0
56828
<reponame>zig-for/ALttPDoorRandomizer GfxFixer: { lda $b1 : bne .stage2 jsl LoadRoomHook ; this is the rando version - let's only call this guy once - may fix star tiles and slower loads jsl Dungeon_InitStarTileCh jsl LoadTransAuxGfx jsl Dungeon_LoadCustomTileAttr jsl PrepTransAuxGfx lda #$0...
programs/oeis/096/A096501.asm
neoneye/loda
22
56829
<gh_stars>10-100 ; A096501: Difference between primes preceding n+1 and n. ; 0,4,1,0,2,0,2,0,0,0,4,0,2,0,0,0,4,0,2,0,0,0,4,0,0,0,0,0,6,0,2,0,0,0,0,0,6,0,0,0,4,0,2,0,0,0,4,0,0,0,0,0,6,0,0,0,0,0,6,0,2,0,0,0,0,0,6,0,0,0,4,0,2,0,0,0,0,0,6,0,0,0,4,0,0,0,0,0,6,0,0,0,0,0,0,0,8,0,0,0 mov $2,$0 add $2,1 pow $2,2 add $2,1 add $...
source/rom1/r1_readKeys.asm
evanbowman/Red
5
56830
;;; $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ ;;; ;;; ASM Source code for Red GBC, by <NAME>, 2021 ;;; ;;; ;;; The following licence covers the source code included in this file. The ;;; game's characters and artwork belong to <NAME>, and should not be used ;;; without permission. ;;;...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1570.asm
ljhsiun2/medusa
9
56831
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x10a63, %rsi lea addresses_D_ht+0xdf23, %rdi nop nop nop sub %rbx, %rbx mov $12, %rcx rep movsq nop nop add %r13, %r13 lea addresses_A_ht+0xe913, %rdi...
oeis/145/A145095.asm
neoneye/loda-programs
11
56832
<gh_stars>10-100 ; A145095: Coefficients in expansion of Eisenstein series -q*E'_6. ; 504,33264,368928,2130912,7877520,24349248,59298624,136382400,268953048,519916320,892872288,1559827584,2432718288,3913709184,5766344640,8728481664,12165343344,17750901168,23711133600,33306154560,43406592768,58929571008,74610099648,9983...
programs/oeis/104/A104640.asm
neoneye/loda
22
56833
<filename>programs/oeis/104/A104640.asm<gh_stars>10-100 ; A104640: Number of odd digits in n^3. ; 1,0,1,0,2,1,2,2,2,1,4,2,3,1,4,1,3,2,2,0,2,1,3,2,3,4,3,3,2,1,4,2,5,3,2,1,3,2,5,0,2,1,4,2,4,4,3,4,4,2,4,1,3,3,4,4,5,5,4,1,2,2,2,1,2,2,3,3,3,2,6,3,4,1,3,3,4,3,4,2,4,4,5,3,3,2,3,2,3,2,6,2,3,2,5,2,4,4,4,1 add $0,1 pow $0,3 seq...
Library/SpecUI/CommonUI/CComp/copenMenuSlots.asm
steakknife/pcgeos
504
56834
<reponame>steakknife/pcgeos COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% (c) Copyright GeoWorks 1994. All Rights Reserved. GEOWORKS CONFIDENTIAL PROJECT: GEOS MODULE: specific UI FILE: copenMenuSlots.asm AUTHOR: <NAME>, Dec 9, 1994 ROUTINES: Name Description ...
src/dino_eggs.asm
tomzox/vic20_games
1
56835
<gh_stars>1-10 // ---------------------------------------------------------------------------- // Copyright 1982-1984,2019 by T.Zoerner (tomzo at users.sf.net) // All rights reserved. // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following cond...
src/lib/libc/hal/longjmp.asm
dgaur/dx
0
56837
<reponame>dgaur/dx<filename>src/lib/libc/hal/longjmp.asm // // longjmp.asm // #include "setjmp_offsets.h" .text // // Standard longjmp(). Restore the execution context saved in the jmp_buf, // and return to the site of the specified setjmp(). Signal state/mask is // not restored; floating-point context is not re...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1586.asm
ljhsiun2/medusa
9
56838
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1966c, %rcx clflush (%rcx) nop and $54704, %r8 mov $0x6162636465666768, %rbx movq %rbx, %xmm2 vmovups %ymm2, (%rcx) nop nop nop cmp $32822, %rdx lea addresses_WC_ht+0x1d32c, %r...
constants/map_constants.asm
zavytar/pokecolorless
0
56839
newgroup: MACRO const_value = const_value + 1 enum_start 1 ENDM map_const: MACRO ;\1: map id ;\2: width: in blocks ;\3: height: in blocks GROUP_\1 EQU const_value enum MAP_\1 \1_WIDTH EQU \2 \1_HEIGHT EQU \3 ENDM ; map group ids ; `newgroup` indexes are for: ; - MapGroupPointers (see data/maps/maps.asm) ; - MapGrou...
programs/oeis/071/A071679.asm
karttu/loda
0
56840
<gh_stars>0 ; A071679: Least k such that the maximum number of elements among the continued fractions for k/1, k/2, k/3, k/4 ...., k/k equals n. ; 1,3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584,4181,6765,10946,17711,28657,46368,75025,121393,196418,317811,514229,832040,1346269,2178309,3524578,5702887,9227465,14930...
programs/oeis/157/A157730.asm
karttu/loda
0
56842
<reponame>karttu/loda ; A157730: a(n) = 441*n^2 - 488*n + 135. ; 88,923,2640,5239,8720,13083,18328,24455,31464,39355,48128,57783,68320,79739,92040,105223,119288,134235,150064,166775,184368,202843,222200,242439,263560,285563,308448,332215,356864,382395,408808,436103,464280,493339,523280,554103,585808,618395,651864,68621...
src/hooks.asm
Iambian/cesium
1
56843
hook_token_stop := $d9 - $ce hook_parser: db $83 ; hook signifier cp a,2 jr z,.maybe_stop xor a,a ret .maybe_stop: ld a,hook_token_stop ; check if stop token cp a,b ld a,$ab jp z,_JError xor a,a ret hook_app_change: db $83 ;ld c,a ; huh ld a,b cp a,cxPrgmEdit ; only allow when editing ld b,a ret ...
src/utils/keyboard_sets.asm
Quatroctus/Startaste
1
56844
<gh_stars>1-10 ; Keyboard Scancode Set 2 routines for Protected Mode ; ============================================ ; ; Keyboard Scancode Set 2 Input Routine ; Arguments: None ; Outputs: cl: Character ; ============================================ ; keyboard_set2_input: push eax push ebx push edx in al, 0x60 ...
xv6-l/scsh.asm
xsuler/osPlayground
0
56845
_scsh: file format elf32-i386 Disassembly of section .text: 00000000 <main>: return -1; return 0; } int main(void) { 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 ...
Modellazione_e_analisi_di_sistemi/eclipse_workspace_mas/esercizi/scaricati/philosophers1.asm
katema-official/Universita_magistrale_anno_1.2
0
56846
<filename>Modellazione_e_analisi_di_sistemi/eclipse_workspace_mas/esercizi/scaricati/philosophers1.asm // EXAMPLE OF USE OF ASYNCR MULTI AGENT ASM // with multiple instances of the same agent // (all the agents have the same state, functions and rules) // first version: choose one philo and run it // if the philo is...
PRG/objects/7-7Main.asm
narfman0/smb3_pp1
0
56847
.byte $01 ; Unknown purpose .byte OBJ_GREENPIRANHA, $0A, $16 .byte OBJ_GREENPIRANHA, $12, $17 .byte OBJ_GREENPIRANHA, $22, $18 .byte OBJ_GREENPIRANHA, $34, $18 .byte OBJ_GREENPIRANHA, $48, $18 .byte OBJ_GREENPIRANHA, $4C, $18 .byte OBJ_GREENPIRANHA, $5C, $18 .byte OBJ_GREENPIRANHA, $6E, $18 .byte OBJ_GREENPI...
programs/oeis/331/A331528.asm
karttu/loda
0
56848
<filename>programs/oeis/331/A331528.asm ; A331528: a(n) = n^2 * (n+1)^2 * (n^2+n+1) / 12. ; 0,1,21,156,700,2325,6321,14896,31536,61425,111925,193116,318396,505141,775425,1156800,1683136,2395521,3343221,4584700,6188700,8235381,10817521,14041776,18030000,22920625,28870101,36054396,44670556,54938325,67101825,81431296,9822...
bahamut/source/menu-overviews.asm
higan-emu/bahamut-lagoon-translation-kit
2
56849
namespace menu { seek(codeCursor) //formation and equipment overview shared code namespace overviews { enqueue pc seek($eea6d2); jsl name seek($eea6e6); jsl class seek($eea6fa); jsl level seek($eea628); jsl drawWindowPaged seek($eea26b); lda #$0056 //X cursor position (initial) seek($eea265); inc; nop...
programs/oeis/319/A319117.asm
jmorken/loda
1
56850
<reponame>jmorken/loda ; A319117: Sign of the n-th Maclaurin coefficient of 1/(exp(x) + exp(1)/2). ; 1,-1,-1,1,1,-1,-1,1,1,-1,-1,1,1,-1,-1,1,1,1,-1,-1,1,1,-1,-1,1,1,-1,-1,1,1,-1,-1,-1,1,1,-1,-1,1,1,-1,-1,1,1,-1,-1,1,1,-1,-1,-1,1,1,-1,-1,1,1,-1,-1,1,1,-1,-1,1,1,1,-1,-1,1,1,-1,-1,1,1,-1 mov $2,$0 mul $0,2 mov $1,$0 mul ...
Transynther/x86/_processed/NC/_ht_/i9-9900K_12_0xa0.log_1_1212.asm
ljhsiun2/medusa
9
56851
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xba1b, %r11 nop nop nop nop xor $56747, %r12 vmovups (%r11), %ymm2 vextracti128 $0, %ymm2, %xmm2 vpextrq $0, %xmm2, %r9 nop nop and $3595, %rdx lea addresse...
test/kotlin/square/output.asm
OfekShilon/compiler-explorer
4,668
56852
public final class ExampleKt { public static final int square(int); line 1: 0: iload_0 line 1: 1: iload_0 line 1: 2: imul line 1: 3: ireturn LocalVariableTable: Start Length Slot Name Signature 0 4 0 num I }
libsrc/osca/write_bytes_to_file.asm
meesokim/z88dk
0
56853
<reponame>meesokim/z88dk<gh_stars>0 ; ; Old School Computer Architecture - interfacing FLOS ; <NAME>, 2012 ; ; write_bytes_to_file(char *filename, int address, int bank, unsigned long len) ; ; Input Registers: ; HL = null-terminated ascii filename of file to be appended to ; IX = address of source data ; B = bank of so...
audio/pokedex_rating_sfx.asm
opiter09/ASM-Machina
1
56854
<filename>audio/pokedex_rating_sfx.asm PlayPokedexRatingSfx:: ldh a, [hDexRatingNumMonsOwned] ld c, $0 ld hl, OwnedMonValues .getSfxPointer cp [hl] jr c, .gotSfxPointer inc c inc hl jr .getSfxPointer .gotSfxPointer push bc ld a, SFX_STOP_ALL_MUSIC ld [wNewSoundID], a call PlaySoundWaitForCurrent pop bc ld...
data/mapObjects/silphco5.asm
adhi-thirumala/EvoYellow
16
56856
SilphCo5Object: db $2e ; border block db $7 ; warps db $0, $18, $1, SILPH_CO_6F db $0, $1a, $1, SILPH_CO_4F db $0, $14, $0, SILPH_CO_ELEVATOR db $3, $1b, $5, SILPH_CO_7F db $f, $9, $4, SILPH_CO_9F db $5, $b, $4, SILPH_CO_3F db $f, $3, $5, SILPH_CO_3F db $0 ; signs db $b ; objects object SPRITE_LAPRAS_GIV...
tests/doublegap/stella.asm
topherCantrell/opcodetools
1
56857
; On the web: [http://www.alienbill.com/2600/101/docs/stella.html Stella Programmer's Guide] ; The address decoding for the 2600 is very simple. The TIA is accessed ; if A12 is 0 and A7 is 0. The TIA is selected if (address&1080 == 0000). ; ; The TIA chip uses the 6 lower address lines A0-A5. The reads seem to ; igno...
Transynther/x86/_processed/NONE/_st_/i7-7700_9_0xca.log_1483_328.asm
ljhsiun2/medusa
9
56858
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r14 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0xbd1c, %r13 nop nop add %r10, %r10 mov $0x6162636465666768, %r9 movq %r9, %xmm5 vmovups %ymm5, (%r13) nop xor $40824, %r10 lea addresses_A_ht+0x1339c, %r12 nop nop n...
libsrc/target/nc100/kmcharreturn.asm
jpoikela/z88dk
640
56859
<reponame>jpoikela/z88dk SECTION code_clib PUBLIC kmcharreturn PUBLIC _kmcharreturn .kmcharreturn ._kmcharreturn pop af pop bc push bc push af call 0xB803 ret
programs/oeis/007/A007910.asm
neoneye/loda
22
56860
<gh_stars>10-100 ; A007910: Expansion of 1/((1-2*x)*(1+x^2)). ; 1,2,3,6,13,26,51,102,205,410,819,1638,3277,6554,13107,26214,52429,104858,209715,419430,838861,1677722,3355443,6710886,13421773,26843546,53687091,107374182,214748365,429496730,858993459,1717986918,3435973837,6871947674,13743895347,27487790694,54975581389,10...
Arithmetic operations/Multiplication/mul_int.asm
berkcetinsaya/MIPSLanguageExamples
0
56861
<reponame>berkcetinsaya/MIPSLanguageExamples .text ### Load values to registers $t0-$t1 li $t0, 5 li $t1, 2 ### Load values to registers $t0-$t1 mul $s0, $t0, $t1 # $s0 = $t0 * $t1
code/init.asm
sinusoid-studios/rhythm-land
11
56862
INCLUDE "constants/hardware.inc" INCLUDE "constants/actors.inc" INCLUDE "constants/screens.inc" INCLUDE "constants/transition.inc" INCLUDE "constants/interrupts.inc" SECTION "Initialization", ROM0 Initialize:: ; Interrupts disabled from entry point ; Wait for VBlank and disable the LCD ldh a, [rL...
programs/oeis/299/A299231.asm
karttu/loda
0
56863
<filename>programs/oeis/299/A299231.asm ; A299231: Ranks of {2,3}-power towers that start with 2; see Comments. ; 1,3,4,6,9,10,13,15,17,19,21,23,25,27,29,31,33,35,37,39,41,43,45,47,49,51,53,55,57,59,61,63,65,67,69,71,73,75,77,79,81,83,85,87,89,91,93,95,97,99,101,103,105,107,109,111,113,115,117,119,121,123,125,127,129,1...
vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm
huangwenjun06/libvpx_mips
0
56864
<filename>vp9/common/arm/neon/vp9_short_idct16x16_add_neon.asm ; ; Copyright (c) 2013 The WebM project authors. All Rights Reserved. ; ; Use of this source code is governed by a BSD-style license ; that can be found in the LICENSE file in the root of the source ; tree. An additional intellectual property rights gra...
assemblylabarray1/6_sort.asm
zaoad/assembly-
0
56866
segment .data a: dq 2 b: dq 0 cnt: dq 0 cnt1: dq 0 fmt: dq "%lld ",10,0 newline: dq " " ,10,0 fmt_in: dq "%lld", 0 fmt_out: dq "THE SUM IS: %lld", 10, 0 segment .bss array resq 21 segment .text global main extern printf extern scanf main: push RBP mov RAX, 0 mov RCX, 0 mov RBX, 0 INPUT: cmp RCX, 5 jz init pus...
libtool/src/gmp-6.1.2/mpn/x86_64/coreisbr/mul_1.asm
kroggen/aergo
278
56867
<filename>libtool/src/gmp-6.1.2/mpn/x86_64/coreisbr/mul_1.asm dnl X86-64 mpn_mul_1 optimised for Intel Sandy Bridge. dnl Contributed to the GNU project by <NAME>. dnl Copyright 2003-2005, 2007, 2008, 2011-2013 Free Software Foundation, Inc. dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library...
oeis/142/A142373.asm
neoneye/loda-programs
11
56868
; A142373: Primes congruent to 22 mod 47. ; Submitted by <NAME> ; 163,257,727,821,1009,1103,1291,1667,1949,2137,3359,3547,3923,4111,4957,5051,5333,5521,5897,6367,7213,7307,7589,8059,8623,8999,9187,9281,10597,10691,10973,11161,11443,12007,12101,12289,12853,13229,13417,14639,14827,15391,15767,16519,17929,18211,18493,1858...
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_frexp.asm
jpoikela/z88dk
640
56869
; float frexp(float value, int *exp) SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdccix_frexp EXTERN l0_cm48_sdccix_frexp_callee cm48_sdccix_frexp: pop af pop de pop hl ; hlde' = float value exx pop hl ; hl = exp push hl p...
player-prototype-cheesecutter/src/logo.asm
ricardoquesada/sid-player
0
56870
<reponame>ricardoquesada/sid-player<gh_stars>0 ; Generated by CharPad 2. Assemble with 64TASS or similar. ; General constants:- TRUE = 1 FALSE = 0 COLRMETH_GLOBAL = 0 COLRMETH_PERTILE = 1 COLRMETH_PERCHAR = 2 ; Project constants:- COLOURING_METHOD = COLRMETH_PERCHAR CHAR_MULTICOLOUR_MODE = TRUE ...
src/VMTranslator/fixtures/MemoryAccess/StaticTest/StaticTest.raw.asm
tuzmusic/HackManager
1
56871
@111 // ** 1: push constant 111 ** D=A // store the current address as a value @SP // >> push constant value (111) onto stack << A=M // move to top of stack M=D // write value of D to current location @SP // increment stack pointer M=M+1 - ...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_790.asm
ljhsiun2/medusa
9
56872
.global s_prepare_buffers s_prepare_buffers: push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xc65e, %rsi lea addresses_WT_ht+0xe3ba, %rdi clflush (%rdi) nop nop nop xor %rdx, %rdx mov $9, %rcx rep movsq xor $34427, %rbp lea addresses_WC_ht+0x106b2, %rax cmp %r9, %r9 mo...
external/source/shellcode/windows/x86/src/block/block_reverse_http.asm
OsmanDere/metasploit-framework
26,932
56873
<gh_stars>1000+ ;-----------------------------------------------------------------------------; ; Author: <NAME> ; Compatible: Confirmed Windows 7, Windows 2008 Server, Windows XP SP1, Windows SP3, Windows 2000 ; Known Bugs: Incompatible with Windows NT 4.0, buggy on Windows XP Embedded (SP1) ; Version: 1.0 ;-----...
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0xca_notsx.log_176_1135.asm
ljhsiun2/medusa
9
56874
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x206f, %r12 nop nop nop nop add %rcx, %rcx movb $0x61, (%r12) nop add %rsi, %rsi lea addresses_A_ht+0x17c6f, %rdi nop nop nop nop nop cmp $60124...
iod/par/version.asm
olifink/smsqe
0
56876
<gh_stars>0 ; Parallel Driver versions section version xdef par_vers ; V2.00 First version. ; ; V2.01 Dynamic output buffering added. ; ; V2.02 Set and read headers added to V2.01. ; ; V2.03 Interrupt server modified for Canon PW1080A, PAR_PULSE added. ; ; V2.04 Zero length translated strings now OK. ; ;...
programs/oeis/024/A024164.asm
jmorken/loda
1
56878
; A024164: Number of integer-sided triangles with sides a,b,c, a<b<c, a+b+c=n such that c - b = b - a. ; 0,0,0,0,0,0,0,0,1,0,0,1,0,0,2,0,0,2,0,0,3,0,0,3,0,0,4,0,0,4,0,0,5,0,0,5,0,0,6,0,0,6,0,0,7,0,0,7,0,0,8,0,0,8,0,0,9,0,0,9,0,0,10,0,0,10,0,0,11,0,0,11,0,0,12,0,0,12,0,0,13,0,0,13,0,0,14,0,0,14,0,0,15,0,0,15,0,0,16,0,0,...
oeis/166/A166957.asm
neoneye/loda-programs
11
56880
; A166957: a(n) = 841*n^3 + 261*n^2 + 28*n + 1. ; Submitted by <NAME> ; 1,1131,7829,25141,58113,111791,191221,301449,447521,634483,867381,1151261,1491169,1892151,2359253,2897521,3512001,4207739,4989781,5863173,6832961,7904191,9081909,10371161,11776993,13304451,14958581,16744429,18667041,20731463,22942741,25305921,27826...
boot/boot_sect.asm
DanielEliad/os
0
56881
; A boot sector that boots a C kernel in 32 - bit protected mode [org 0x7c00] KERNEL_OFFSET equ 0x1000 ; This is the memory offset to which we will load our kernel STACK_OFFSET equ 0x9999 mov [BOOT_DRIVE], dl ; BIOS stores our boot drive in DL , so it ’s ; best to remember this for later. mov bp, STACK_OFFSET ; Set -u...
data/pokemon/unown_words.asm
AtmaBuster/pokeplat-gen2
6
56883
unownword: MACRO x = 1 rept STRLEN(\1) db STRSUB(\1, x, 1) - $40 x = x + 1 endr db -1 ENDM UnownWords: ; entries correspond to UNOWN_* form constants dw UnownWordA dw UnownWordA dw UnownWordB dw UnownWordC dw UnownWordD dw UnownWordE dw UnownWordF dw UnownWordG dw UnownWordH dw UnownWordI dw UnownWordJ d...
libsrc/_DEVELOPMENT/adt/bv_priority_queue/c/sccz80/bv_priority_queue_push.asm
teknoplop/z88dk
8
56884
; int bv_priority_queue_push(bv_priority_queue_t *q, int c) SECTION code_clib SECTION code_adt_bv_priority_queue PUBLIC bv_priority_queue_push EXTERN asm_bv_priority_queue_push bv_priority_queue_push: pop af pop bc pop hl push hl push bc push af jp asm_bv_priority_queue_push
builtin_exit.asm
jhunkeler/minos
1
56885
%ifndef _BUILTIN_EXIT_ASM %define _BUILTIN_EXIT_ASM builtin_exit: push .msg_fmt call printf add sp, 2 * 1 mov [terminal_exit], byte 1 ret .msg_fmt db 'exiting...\n', 0 %endif
lab1/assignment_4.asm
0000Blaze/Microprocess
0
56887
<reponame>0000Blaze/Microprocess # ORG 8000 MVI H,80 MVI L,80 MOV B,M MVI L,90 MOV M,B HLT # ORG 8080 # DB 55H
oeis/094/A094955.asm
neoneye/loda-programs
11
56888
<reponame>neoneye/loda-programs ; A094955: Main diagonal of array A094954. ; Submitted by <NAME>(s1) ; 1,2,11,91,985,13201,211303,3936808,83739041,2003229469,53252096051,1557702562417,49731172316281,1720974414781454,64174041067789199,2565470565551429551,109461497917277584513,4965206236292285024041 mov $3,$0 lpb $0 s...
macros/wait-cycles.asm
dougmasten/coco_libraries
2
56890
<reponame>dougmasten/coco_libraries<filename>macros/wait-cycles.asm ; wait-cycles.asm *pragmapush list ; Save state of list pragma pragma nolist ; Turn off assembly listing and exclude from symbol list ifndef WAIT_CYCLES_MACROS ;...
1337/no_cheat/no_spoofcall.asm
jon4dev/Fortnite-cheat-source-internal-self-leak
41
56891
<reponame>jon4dev/Fortnite-cheat-source-internal-self-leak PUBLIC _spoofer_stub .code _spoofer_stub PROC pop r11 add rsp, 8 mov rax, [rsp + 24] mov r10, [rax] mov [rsp], r10 mov r10, [rax + 8] mov [rax + 8], r11 mov [rax + 16], rsi lea rsi, fixup mov [rax], rsi ...
oeis/097/A097069.asm
neoneye/loda-programs
11
56892
; A097069: Positive integers n such that 2n - 9 is prime. ; Submitted by <NAME> ; 6,7,8,10,11,13,14,16,19,20,23,25,26,28,31,34,35,38,40,41,44,46,49,53,55,56,58,59,61,68,70,73,74,79,80,83,86,88,91,94,95,100,101,103,104,110,116,118,119,121,124,125,130,133,136,139,140,143,145,146,151,158,160,161,163,170,173,178,179,181,18...
util/gut/usdiv.asm
olifink/smsqe
0
56894
* 32-bit integer arithmetic v0.01  Mar 1988 J.R.Oakley QJUMP * section gen_util * include 'dev8_keys_68000' * xdef gu_uldiv xdef gu_sldiv xdef gu_ulmul xdef gu_slmul *+++ * Divide a 32-bit signed dividend by a 32-bit signed divisor, giving * si...
libsrc/stdio_new/file/asprintf.asm
meesokim/z88dk
8
56895
; int asprintf(char **s, const char *fmt, ...) ; 05.2008 aralbrec PUBLIC asprintf EXTERN vasprintf_callee, stdio_varg, stdio_nextarg EXTERN ASMDISP_VASPRINTF_CALLEE .asprintf call stdio_varg push de ; stack = char **s call stdio_nextarg ; de = char *fmt ld c,l ld ...
Blinker.X/blinker.asm
veysby/MPLABXProjects
2
56896
PROCESSOR 16F1455 ; PIC16F1455 Configuration Bit Settings ; Assembly source line config statements #include <xc.inc> ; CONFIG1 /* CONFIG FOSC = ECL ; Oscillator Selection Bits (ECL, External Clock, Low Power Mode (0-0.5 MHz): device clock supplied to CLKIN pins) CONFIG WDTE = OFF ; Watch...
programs/oeis/086/A086666.asm
neoneye/loda
22
56897
<filename>programs/oeis/086/A086666.asm ; A086666: a(n) = sigma_2(n) - sigma_1(n). ; 0,2,6,14,20,38,42,70,78,112,110,182,156,226,236,310,272,416,342,504,468,574,506,790,620,808,780,994,812,1228,930,1302,1172,1396,1252,1820,1332,1750,1644,2120,1640,2404,1806,2478,2288,2578,2162,3286,2394,3162,2828,3472,2756,3980,3100,41...
General/Sprites/Tails/Anim - Tails 2P Tail.asm
NatsumiFox/AMPS-Sonic-3-Knuckles
5
56898
dc.w AniTails2P_Tail00-AniTails2P_Tail dc.w AniTails2P_Tail01-AniTails2P_Tail dc.w AniTails2P_Tail01-AniTails2P_Tail dc.w AniTails2P_Tail03-AniTails2P_Tail AniTails2P_Tail00:dc.b $20, 0, $FF AniTails2P_Tail01:dc.b 7, 1, 2, 3, $FF AniTails2P_Tail03:dc.b $FC, 4, 5, 6, $FF even
2d/scalea.asm
arbruijn/d1dos
2
56899
<reponame>arbruijn/d1dos ;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-USER...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_21829_2015.asm
ljhsiun2/medusa
9
56900
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x164d, %rsi lea addresses_WT_ht+0x808d, %rdi xor %r10, %r10 mov $66, %rcx rep movsw nop sub $29774, %r10 lea addresses_A_ht+0xc8cd, %r9 nop nop sub %r8, %r8 mov ...
programs/oeis/102/A102515.asm
karttu/loda
0
56901
; A102515: a(n) = floor(1 + sqrt(2n + 1)). ; 2,2,3,3,4,4,4,4,5,5,5,5,6,6,6,6,6,6,7,7,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13 mov $1,2 lpb $0,1 sub $0,$1 add $1,1 lpe
regression/parsers/nasm/strescapes.asm
path64/assembler
1
56902
db "foo" ; out: 66 6f 6f db `foo` ; out: 66 6f 6f db `\x` ; out: 78 db `\y` ; out: 79 db `\8` ; out: 38 db `\0007` ; out: 00 37 db `\xffff` ; out: ff 66 66 ;db `\uabcg` db `\u263a` ; out: e2 98 ba db `\'\"\`\\\?\a\b\t\n\v\f\r\e` ; out: 27 22 60 5c 3f 07 08 09 0a 0b 0c 0d 1a dd 'abcd'+1 ; out: 62 62...
asm/fpga_count_leds.asm
FKD13/RCPU
17
56903
.text .global main: main: ; D = 0 LDV D, 0 loop: ; push D as the value leds will display PSH D ; push address of leds, and write option LDV B, (0b1000000000) LSH B, 4 INC B PSH B ; do a syscall (this takes an address and maybe a value off the stack) SYS ; do nothing for a lot of cycles, so the result is visibl...