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 |
|---|---|---|---|---|
data/pokemon/dex_entries/tritales.asm | AtmaBuster/pokeplat-gen2 | 6 | 199805 | <reponame>AtmaBuster/pokeplat-gen2<gh_stars>1-10
db "FOX@" ; species name
db "It hides in the"
next "care of its mother"
next "while it begins"
page "to kindle the"
next "fire energy in"
next "its small tails.@"
|
programs/oeis/060/A060954.asm | neoneye/loda | 22 | 199807 | <reponame>neoneye/loda
; A060954: Largest prime factor of 10*n + 1.
; 11,7,31,41,17,61,71,3,13,101,37,11,131,47,151,23,19,181,191,67,211,17,11,241,251,29,271,281,97,43,311,107,331,31,13,19,53,127,23,401,137,421,431,7,41,461,157,37,491,167,73,521,59,541,29,17,571,83,197,601,47,23,631,641,31,661,61,227,691,701,79,103,43,... |
10-32bit_enter/32bit_main.asm | XHS-12302/OS-test-project | 0 | 199808 | [org 0x7c00]
mov bp,0x9000 ; set the stack
mov sp, bp
mov bx, MSG_REAL_MODE
call print ; this will be written after the BIOS messages
mov bx, init_pm
call print
call switch_to_pm
jmp $ ;this will actually never be executed
%include "../05-bootsector-functions-strings/boot_sect_print.asm"
%include "../09-32... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1067.asm | ljhsiun2/medusa | 9 | 199810 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %r15
push %rax
push %rbp
push %rdx
push %rsi
lea addresses_WC_ht+0x11718, %r15
nop
nop
add %r14, %r14
mov (%r15), %ebp
nop
nop
nop
nop
xor %r11, %r11
lea addresses_normal_ht+0x1270, %rax
nop
nop
nop
nop
add $8763, %rsi
movw $0x6162, (%rax)
nop
nop
no... |
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_iy/sp1_SetPrintPos.asm | jpoikela/z88dk | 640 | 199811 | ; void sp1_SetPrintPos(struct sp1_pss *ps, uchar row, uchar col)
SECTION code_clib
SECTION code_temp_sp1
PUBLIC _sp1_SetPrintPos
EXTERN asm_sp1_SetPrintPos
_sp1_SetPrintPos:
pop af
pop hl
pop bc
pop de
push de
push bc
push hl
push af
ld d,c
jp asm_sp1_SetPrintPos
|
programs/oeis/315/A315178.asm | jmorken/loda | 1 | 199812 | <reponame>jmorken/loda
; A315178: Coordination sequence Gal.4.62.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,6,10,14,18,22,28,34,38,42,46,50,56,62,66,70,74,78,84,90,94,98,102,106,112,118,122,126,130,134,140,146,150,154,158,16... |
COMP 3350 - Assembly & Comp Org/Lectures/22 Mem Operands (2)/strlen.asm | Skyfox64/auburn-csse | 1 | 199813 | INCLUDE Irvine32.inc
.data
hi BYTE "Hello", 0
bye BYTE "See you", 0
crlf_ BYTE 0Dh, 0Ah, 0
empty BYTE 0
.code
strlen PROC
; Returns the length of a null-terminated string
; Receives: EDX -- Pointer to string
; Returns: EAX -- Length of string
push edx
mov eax, 0 ; Store length in EAX, ... |
demo_asm.asm | fusion5/x86-64-linux-cpu-trap-flag | 1 | 199814 | ;
; This file generates an entire executable, without external C code.
;
section .text
global main
extern _start
; Strings that help to show that functions are called
msg_hcall db "hcall",0x0A
msg_hatta db "hatta",0x0A
_start:
call attach_trap_handler
call start_trace
nop ; Some dummy code that we shoul... |
oeis/028/A028401.asm | neoneye/loda-programs | 11 | 199815 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A028401: The (2^n+1)-th triangular number (cf. A000217).
; 3,6,15,45,153,561,2145,8385,33153,131841,525825,2100225,8394753,33566721,134242305,536920065,2147581953,8590131201,34360131585,137439739905,549757386753,2199026401281,8796099313665,35184384671745,140737513521153... |
learn-assembly/asm102/asm102-04.asm | hailehong95/Practice-Coding | 0 | 199817 | ; asm102-04: Nhap ky tu thuong, in ra ky tu hoa
.model small
.stack 100h
.data
msg1 db 'Nhap ky tu thuong: $'
msg2 db 13,10,'Ky tu in hoa la: $'
ch db ?
.code
mov ax, @data
mov ds, ax
lea dx, msg1
mov ah,9
int 21h
; Nhap ky tu
mov ah, 1
int 21h
mov ch, al
... |
3rdParties/src/nasm/nasm-2.15.02/travis/test/jmp64.asm | blue3k/StormForge | 1 | 199819 | <gh_stars>1-10
bits 64
jmp rcx
jmp [rax]
jmp qword [rax]
jmp near [rax]
jmp near qword [rax]
jmp far [rax]
jmp far dword [rax]
jmp far qword [rax]
call rcx
call [rax]
call qword [rax]
call near [rax]
call near qword [rax]
call far [rax]
call far dword [rax]
call far qword [rax]
|
programs/oeis/315/A315521.asm | jmorken/loda | 1 | 199820 | ; A315521: Coordination sequence Gal.6.620.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,6,11,17,22,28,32,38,43,49,54,60,66,71,77,82,88,92,98,103,109,114,120,126,131,137,142,148,152,158,163,169,174,180,186,191,197,202,208,212,2... |
libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_isless_callee.asm | jpoikela/z88dk | 640 | 199822 |
; int __CALLEE__ isless(double x, double y)
SECTION code_clib
SECTION code_fp_math48
PUBLIC cm48_sccz80_isless_callee
EXTERN am48_isless, cm48_sccz80p_dcallee2
cm48_sccz80_isless_callee:
call cm48_sccz80p_dcallee2
; AC'= y
; AC = x
jp am48_isless
|
programs/oeis/047/A047391.asm | karttu/loda | 1 | 199823 | <filename>programs/oeis/047/A047391.asm
; A047391: Numbers that are congruent to {1, 3, 5} mod 7.
; 1,3,5,8,10,12,15,17,19,22,24,26,29,31,33,36,38,40,43,45,47,50,52,54,57,59,61,64,66,68,71,73,75,78,80,82,85,87,89,92,94,96,99,101,103,106,108,110,113,115,117,120,122,124,127,129,131,134,136,138,141,143,145,148,150,152,155... |
Sim/test_uart.asm | ericsims/16B | 0 | 199824 | #include "CPU.asm"
#bank rom
top:
sti16 str_1, uart_print.data_pointer
cal uart_println
sti 0x00, counter
loop: ; loop 5 times
lda counter ; run itoa on counter and store in uitoa_b.buffer
sta uitoa_b.input_byte
cal uitoa_b
sti16 loop_str, uart_print.data_pointer ; print "loop #"... |
oeis/057/A057658.asm | neoneye/loda-programs | 11 | 199825 | ; A057658: a(n) = n*(n+1)^2*(n+2)^3*(n+3)^2*(n+4).
; 0,8640,172800,1512000,8467200,35562240,121927680,359251200,940896000,2242468800,4947022080,10231341120,20033395200,37425024000,67118284800,116138603520,194702952960,317346724800,504348768000,783510235200,1192349410560,1780781587200,2614360320000,3778164000000,5381419... |
programs/oeis/135/A135711.asm | jmorken/loda | 1 | 199827 | <reponame>jmorken/loda<gh_stars>1-10
; A135711: Minimal perimeter of a polyhex with n cells.
; 6,10,12,14,16,18,18,20,22,22,24,24,26,26,28,28,30,30,30,32,32,34,34,34,36,36,36,38,38,38,40,40,40,42,42,42,42,44,44,44,46,46,46,46,48,48,48,48,50,50,50,50,52,52,52,52,54,54,54,54,54,56,56,56,56,58,58,58,58,58,60,60
mul $0,2
... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1473.asm | ljhsiun2/medusa | 9 | 199828 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r9
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x114f1, %rcx
nop
nop
nop
nop
add %rbp, %rbp
movb $0x61, (%rcx)
nop
nop
nop
nop
cmp $47057, %r10
lea addresses_WT_ht+0x6978, %rdi
nop
nop
nop
xor %rcx, %rcx
mov $0x61626364... |
tests/nasm/psubd.asm | Tuna0128/Tuna0128.github.io | 12,700 | 199829 | <reponame>Tuna0128/Tuna0128.github.io
global _start
section .data
align 16
quad1:
dq 0x70ad80ad7fffffff
quad2:
dq 0x71ae01ff0f00ffbe
quad3:
dq 0xf100808080f0ff42
quad4:
dq 0xffffffffffffffff
mydword:
dd 0xcafebabe
myaddress:
dq 0x00adbeefc0de00ce
%include "header.inc"
movq mm0, [quad1]
movq mm1, [quad2]
... |
libsrc/games/z80tvgame/joystick.asm | jpoikela/z88dk | 640 | 199830 | <reponame>jpoikela/z88dk<filename>libsrc/games/z80tvgame/joystick.asm
MODULE joystick
SECTION code_clib
PUBLIC joystick
PUBLIC _joystick
EXTERN joystick_inkey
; 0 = #define MOVE_RIGHT 1
; 1 = #define MOVE_LEFT 2
; 2 = #define MOVE_DOWN 4
; 3 = #define MOVE_UP 8
; 4 = #... |
libsrc/z80_crt0s/gbz80/sccz80/l_mod.asm | Frodevan/z88dk | 4 | 199831 |
SECTION code_crt0_sccz80
PUBLIC l_mod
EXTERN ___div16_bcde
; signed division
; hl = de/hl, de = de%hl
l_mod:
; Delegate to the sdcc routine
; Entry BC=dividend, DE=divisor
; Exit: BC=quotient, DE=remainder
ld c,e
ld b,d
ex de,hl
call ___div16_bcde
ld l,e
ld h,d
ret
|
oeis/218/A218691.asm | neoneye/loda-programs | 11 | 199832 | <filename>oeis/218/A218691.asm<gh_stars>10-100
; A218691: Number of ways to paint some (possibly none or all) of the trees over all forests on n labeled nodes.
; Submitted by <NAME>
; 1,2,6,26,156,1242,12616,158034,2372880,41725106,843126624,19277549898,492447987136,13907344659210,430397513894016,14487404695687298,5270... |
oeis/333/A333557.asm | neoneye/loda-programs | 11 | 199836 | <filename>oeis/333/A333557.asm
; A333557: a(n) = Sum_{d|n, gcd(d, n/d) = 1} uphi(d) * uphi(n/d), where uphi = unitary totient function (A047994).
; Submitted by <NAME>
; 1,2,4,6,8,8,12,14,16,16,20,24,24,24,32,30,32,32,36,48,48,40,44,56,48,48,52,72,56,64,60,62,80,64,96,96,72,72,96,112,80,96,84,120,128,88,92,120,96,96,12... |
mips/apps/bootloader_app/jumpboot.asm | andrewandrepowell/axiplasma | 5 | 199837 | <reponame>andrewandrepowell/axiplasma<gh_stars>1-10
# @author <NAME>
# @date March 17, 2017
# @brief Implements the Jump application.
#
# Really simple application. Its only purpose is to force the
# Plasma-SoC's CPU to jump to the location of the main application
# which is assumed to be in memory already.
JUMP_A... |
src/boot/print.asm | devinus/torix | 3 | 199839 | ; ToriX - TORres Interactive eXecution
; Copyright (c) 2008 <NAME>
; Licensed under the MIT license.
%macro print 1
mov si, %1
call print_msg
%endmacro
|
gamev1.asm | zhaoJoseph/MIPSGAME | 0 | 199840 | ######################################################################
# Bitmap Display Configuration:
# -Unit width in pixels: 8 (update this as needed)
# -Unit height in pixels: 8 (update this as needed)
# -Display width in pixels: 256 (update this as needed)
# -Display height in pixels: 256 (update this as needed)
#... |
oeis/246/A246024.asm | neoneye/loda-programs | 11 | 199842 | ; A246024: A070952(n)-n.
; Submitted by <NAME>
; 1,2,1,3,0,4,-1,5,-1,3,1,3,0,6,-1,7,-1,2,2,5,1,2,1,5,2,2,0,6,2,5,1,8,-6,6,-5,11,-4,7,0,6,7,0,3,6,-6,10,-4,4,-4,4,-7,8,0,7,-5,10,1,3,-2,10,1,9,-3,15,0,-9,-1,2,1,-2,7,7,1,-5,9,3,2,10,2,7,8,-2,-1,11,-3,16,-8,1,3,-3,-4,22,-13,8,-4,13,-2,0,1,11
mov $2,$0
seq $0,70952 ; Number... |
programs/oeis/158/A158083.asm | karttu/loda | 0 | 199843 | ; A158083: Possible answer to <NAME>'s puzzle sequence: a(n)=If[n <= 4, a[n - 1] + a[n - 2], If[n == 5, a[n - 1] + a[n - 2] + 9, a[n - 1] + 9]].
; 2,3,5,8,13,30,39,48,57,66,75,84,93,102,111,120,129,138,147,156,165,174,183,192,201,210,219,228,237,246,255,264,273,282,291,300,309,318,327,336,345,354,363,372,381,390,399,40... |
programs/oeis/168/A168605.asm | karttu/loda | 0 | 199845 | <filename>programs/oeis/168/A168605.asm
; A168605: Number of ways of partitioning the multiset {1,1,1,2,3,...,n-2} into exactly three nonempty parts.
; 1,2,8,30,104,342,1088,3390,10424,31782,96368,291150,877544,2640822,7938848,23849310,71613464,214971462,645176528,1936053870,5809210184,17429727702,52293377408,156888520... |
bootloader/syscalls.nasm | RomankoMikhail/fspo-mp | 0 | 199846 | %include "fatdef.nasm"
;------------------------------------------------------------------------------
; Read a sector from disk, using LBA
; input: EAX - 32-bit DOS sector number
; ES:BX - destination buffer
; output: ES:BX points one byte after the last byte read
; EAX - next sector
readsector:
... |
oeis/010/A010469.asm | neoneye/loda-programs | 11 | 199847 | <filename>oeis/010/A010469.asm
; A010469: Decimal expansion of square root of 12.
; Submitted by <NAME>
; 3,4,6,4,1,0,1,6,1,5,1,3,7,7,5,4,5,8,7,0,5,4,8,9,2,6,8,3,0,1,1,7,4,4,7,3,3,8,8,5,6,1,0,5,0,7,6,2,0,7,6,1,2,5,6,1,1,1,6,1,3,9,5,8,9,0,3,8,6,6,0,3,3,8,1,7,6,0,0,0,7,4,1,6,2,2,9,2,3,7,3,5,1,4,4,9,7,1,5,1
mov $2,2
mov ... |
programs/oeis/029/A029927.asm | neoneye/loda | 22 | 199848 | ; A029927: Convert n from nautical miles to statute miles.
; 0,1,2,3,5,6,7,8,9,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,28,29,30,31,32,33,35,36,37,38,39,40,41,43,44,45,46,47,48,49,51,52,53,54,55,56,58,59,60,61,62,63,64
mul $0,23
add $0,140
mov $1,70
add $1,$0
div $1,20
sub $1,10
mov $0,$1
|
bddisasm_test/simd/3dnow_64.asm | andreaswimmer/bddisasm | 1 | 199849 | bits 64
pi2fw mm0,mm7
pi2fd mm0,mm7
pf2iw mm0,mm7
pf2id mm0,mm7
pfrcpv mm0,mm7
pfrsqrtv mm0,mm7
pfnacc mm0,mm7
pfpnacc mm0,mm7
pfcmpge mm0,mm7
pfmin mm0,mm7
pfmin mm0,mm7
pf... |
programs/oeis/129/A129029.asm | neoneye/loda | 22 | 199850 | ; A129029: a(n) = 8*n^4+44*n^3+106*n^2+100*n+30.
; 0,30,288,1134,3120,6990,13680,24318,40224,62910,94080,135630,189648,258414,344400,450270,578880,733278,916704,1132590,1384560,1676430,2012208,2396094,2832480,3325950,3881280,4503438,5197584,5969070,6823440,7766430,8803968
mov $4,$0
mul $0,2
mov $1,1
mov $2,$0
lpb $0
... |
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_518.asm | ljhsiun2/medusa | 9 | 199851 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r13
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_D_ht+0x11af4, %rdx
nop
nop
xor $38595, %rdi
movups (%rdx), %xmm1
vpextrq $0, %xmm1, %r8
nop
nop
nop
nop
nop
and %r8, %r8
lea addresses_WT_ht+0x4db4, %rdx
no... |
src/interrupts/idt.asm | MrKomish/PYROS | 5 | 199852 | section .text
align 4
extern kprint
extern pic_send_eoi
global int_ignore
global int_time_tick
; default interrupt handler
int_ignore:
push ebp
mov ebp, esp
sub esp, 4
; debugging only
push int_ignore_msg
call kprint
leave
iret
section .data
int_ignore_msg:
db `DEFAULT INTTERUPT... |
programs/oeis/229/A229788.asm | jmorken/loda | 1 | 199853 | <gh_stars>1-10
; A229788: 6*2^n - n^2 - 5*n - 6.
; 0,0,4,18,54,136,312,678,1426,2940,5988,12106,24366,48912,98032,196302,392874,786052,1572444,3145266,6290950,12582360,25165224,50330998,100662594,201325836,402652372,805305498,1610611806,3221224480,6442449888
mov $3,1
lpb $0
sub $0,1
add $1,$2
add $3,1
mul $3,2... |
util/gut/pause.asm | olifink/smsqe | 0 | 199854 | <reponame>olifink/smsqe
; Pause my Job V2.00 1988 <NAME>
section gen_util
xdef gu_pause
include 'dev8_keys_qdos_sms'
;+++
; Pause my Job, preserving registers
;
; d0 c r ticks to pause / error code
; status returned according to D0
;---
gu_pause
movem.l d1/d2/d3/a0/a1,-(sp)
move.w d0,d3 ; pause
moveq ... |
savefile/includes/audio_macros.asm | zzazzdzz/fools2018 | 35 | 199855 | <gh_stars>10-100
; === audio_macros.asm
; Macros and constants for the Gen I sound engine.
; Ripped directly from pokeyellow disassembly.
Ch0 EQU 0
Ch1 EQU 1
Ch2 EQU 2
Ch3 EQU 3
Ch4 EQU 4
Ch5 EQU 5
Ch6 EQU 6
Ch7 EQU 7
audio: MACRO
db (_NARG - 2) << 6 | \2
dw \1_\2
IF _NARG > 2
... |
programs/oeis/136/A136853.asm | neoneye/loda | 22 | 199858 | <filename>programs/oeis/136/A136853.asm
; A136853: Numbers k such that k and k^2 use only the digits 0, 1, 3 and 9.
; 0,1,3,10,30,100,300,1000,3000,10000,30000,100000,300000,1000000,3000000,10000000,30000000,100000000,300000000,1000000000,3000000000,10000000000,30000000000,100000000000,300000000000,1000000000000,300000... |
Transynther/x86/_processed/NC/_ht_zr_/i3-7100_9_0xca_notsx.log_21829_1403.asm | ljhsiun2/medusa | 9 | 199859 | <filename>Transynther/x86/_processed/NC/_ht_zr_/i3-7100_9_0xca_notsx.log_21829_1403.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r8
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x72c1, %rsi
lea addresses_UC_ht+0x10fff, %rdi
nop
nop
nop
and $31612, %rbp
mov $22, ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_773.asm | ljhsiun2/medusa | 9 | 199860 | .global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r8
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x3d83, %rsi
lea addresses_A_ht+0x1b7fd, %rdi
nop
nop
nop
nop
sub $40146, %r8
mov $55, %rcx
rep movsq
and $18757, %r13
pop %rsi
pop %rdi
pop %rcx
pop %r8
pop %r13
ret
.global s_faulty_load
s_faulty_load... |
libsrc/stdio/sos/getk.asm | grancier/z180 | 0 | 199861 | ;
; S-OS (The Sentinel) Japanese OS - Stdio
;
; getk() Read key status
;
; <NAME>, 2013
;
;
; $Id: getk.asm,v 1.3 2016/06/12 17:32:01 dom Exp $
;
SECTION code_clib
PUBLIC getk
PUBLIC _getk
.getk
._getk
call 1FD0h
ld l, a
ld h,0
ret
|
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-8650U_0xd2.log_181_485.asm | ljhsiun2/medusa | 9 | 199862 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %r8
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x1bcb3, %rax
nop
nop
nop
nop
nop
and %r8, %r8
mov $0x6162636465666768, %r11
movq %r11, (%rax)
nop
nop
nop
nop
sub $21361, %rsi
lea addresses_WT_ht+0x10213, %rsi
lea addres... |
Relatorios/Tarefa 06/Resolucao/codigo/programa2.asm | RafaelAmauri/Arquitetura-de-Computadores-2 | 0 | 199863 | <reponame>RafaelAmauri/Arquitetura-de-Computadores-2
addi $s0, $zero, 1 # x = 1
# y = 5*x
add $t0, $s0, $s0
add $t0, $t0, $t0
add $s1, $t0, $s0
# y = y + 15
addi $s1, $s1, 15 |
user/cat.asm | eric-qian-d/TCP | 0 | 199864 |
user/_cat: file format elf64-littleriscv
Disassembly of section .text:
0000000000000000 <cat>:
char buf[512];
void
cat(int fd)
{
0: 7179 addi sp,sp,-48
2: f406 sd ra,40(sp)
4: f022 sd s0,32(sp)
6: ec26 sd s1,24(sp)
8: e84a ... |
oeis/082/A082545.asm | neoneye/loda-programs | 11 | 199866 | ; A082545: a(n) = (2*n)! * Sum_{k=0..n} binomial(n,k)/(n+k)!.
; Submitted by <NAME>
; 1,3,21,229,3393,63591,1442173,38398641,1174226049,40558249963,1561734494661,66335687785533,3081211226192641,155369391396527439,8452596370942940973,493494408990278911561,30777323181433121541633,2042075395611656190239571,143629901383552... |
45/runtime/crt/crt0dat.asm | minblock/msdos | 0 | 199868 | <filename>45/runtime/crt/crt0dat.asm
page ,132
title crt0dat - DOS and Windows shared startup and termination
;***
;crt0dat.asm - DOS and Windows shared startup and termination
;
; Copyright (c) 1985-1988, Microsoft Corporation. All rights reserved.
;
;Purpose:
; Shared startup and termination.
;
;******************... |
programs/oeis/102/A102392.asm | karttu/loda | 0 | 199869 | ; A102392: Odious numbers in odious places.
; 0,1,2,0,4,0,0,7,8,0,0,11,0,13,14,0,16,0,0,19,0,21,22,0,0,25,26,0,28,0,0,31,32,0,0,35,0,37,38,0,0,41,42,0,44,0,0,47,0,49,50,0,52,0,0,55,56,0,0,59,0,61,62,0,64,0,0,67,0,69,70,0,0,73,74,0,76,0,0,79,0,81,82,0,84,0,0,87,88,0,0,91,0,93,94,0,0,97,98,0,100,0,0,103,104,0,0,107,0,109... |
asm_examples/bubbleSortingDSC.asm | FZU-CS/assembly | 0 | 199870 | <filename>asm_examples/bubbleSortingDSC.asm
title bubbleSortingDSC
include irvine32.inc
.data
tab db 12,9,4,5,7,3,1,8
count EQU ($-tab)
dab db count dup(?)
.code
main proc
mov cx,count
mov si,0
put1:
movsx eax,tab[si]
call writeint
mov al,32
call writechar
inc si
loo... |
programs/oeis/091/A091311.asm | jmorken/loda | 1 | 199871 | <filename>programs/oeis/091/A091311.asm
; A091311: Partial sums of 3^A007814(n).
; 0,1,4,5,14,15,18,19,46,47,50,51,60,61,64,65,146,147,150,151,160,161,164,165,192,193,196,197,206,207,210,211,454,455,458,459,468,469,472,473,500,501,504,505,514,515,518,519,600,601,604,605,614,615,618,619
mov $27,$0
add $27,1
lpb $27
c... |
v2.0/source/msdos/syscall.asm | neozeed/MS-DOS | 7 | 199872 | <reponame>neozeed/MS-DOS<gh_stars>1-10
;
; system call entry points MSDOS
;
INCLUDE DOSSEG.ASM
CODE SEGMENT BYTE PUBLIC 'CODE'
ASSUME SS:DOSGROUP,CS:DOSGROUP
.xlist
.xcref
INCLUDE DOSSYM.ASM
INCLUDE DEVSYM.ASM
.cref
.list
i_need YEAR,WORD
i_need DAY,BYTE
i_need WeekDay,BYTE
... |
Kernel/asm/rtc.asm | MatiMonaco/so-tp2 | 0 | 199873 | GLOBAL getCurrSecs
GLOBAL getCurrMins
GLOBAL getCurrHs
GLOBAL initRTC
GLOBAL getCurrDay
GLOBAL getCurrMonth
GLOBAL getCurrYear
section .text
initRTC:
push rbp
mov rbp,rsp
mov al,0x0b
out 70h,al
mov al,0x06
out 71h,al
mov rsp,rbp
pop rbp
ret
getCurrSecs:
push rbp
mov rbp, rsp
mov al, 0x00
out 70h, al
... |
TEST.asm | alieonsido/ASM_TESTING | 0 | 199874 | <gh_stars>0
TITLE Add and Subtract(TEST.asm)
INCLUDE Irvine32.inc
INCLUDELIB Irvine32.lib
INCLUDELIB Kernel32.Lib
INCLUDELIB User32.Lib
.code
main PROC
mov ax,10h
add ax,30h
call DumpRegs
INVOKE ExitProcess,0
exit
main ENDP
END main |
astro_sound_macs.asm | nealvis/astroblast | 0 | 199875 | <reponame>nealvis/astroblast
//////////////////////////////////////////////////////////////////////////////
// astro_sound_macs.asm
// Copyright(c) 2021 <NAME>.
// License: MIT. See LICENSE file in root directory.
//////////////////////////////////////////////////////////////////////////////
// consts and macros relate... |
Source/Assembly/mbr.asm | vitorfeliper/GGOS | 0 | 199877 | <gh_stars>0
%include "D:/GGOS/Source/Assembly/settings.asm"
[ORG 0x7C00]
;mov ah, 02
;mov al, 01
;CX := ((CYLINDER AND 255)SHL 8) OR ((CYLINDER AND 768) SHR 2) OR SECTOR;
;xor cx, cx
;or cx, 02
;mov dh, 0
;mov bx, 0x500
;mov es, bx
;xor bx, bx
mov ah, 42h
xor bx, bx
mov ds, bx
mov si, DAP
int 13h
cmp ah, 0
je BOOTADD... |
programs/oeis/192/A192953.asm | karttu/loda | 0 | 199878 | ; A192953: Coefficient of x in the reduction by x^2 -> x+1 of the polynomial p(n,x) defined at Comments.
; 0,1,2,6,13,26,48,85,146,246,409,674,1104,1801,2930,4758,7717,12506,20256,32797,53090,85926,139057,225026,364128,589201,953378,1542630,2496061,4038746,6534864,10573669,17108594,27682326,44790985,72473378
lpb $0,1
... |
assembly_code/chp2_09c.asm | PySaqib/BelalHashmi-Assembly-Exercise-Solutions | 104 | 199879 | ; solution developed by https://github.com/PySaqib
[org 0x0100]
; NOTE: You cannot perform memory to memory operations in assembly.
; We use a register to hold value temporarily.
mov ax, [0x0010] ; copying contents of 0010 into AX.
mov word [... |
scripts/celadongamecorner2.asm | adhi-thirumala/EvoYellow | 16 | 199880 | <filename>scripts/celadongamecorner2.asm<gh_stars>10-100
Func_f1f23:
ld hl, PikachuMovementData_f1f2c
ld b, SPRITE_FACING_DOWN
call TryApplyPikachuMovementData
ret
PikachuMovementData_f1f2c:
db $00
db $20
db $1e
db $35
db $3f
|
optimised/shared trackers.asm | PJBoy/SM-SPC | 4 | 199881 | <gh_stars>1-10
; Macros
{
macro noteLength(length)
db <length>
endmacro
macro noteParameters(length, volume, ringLength)
db <length>, <volume><<4|<ringLength>
endmacro
macro note(note)
db <note>
endmacro
macro percussionNote(note)
db <note>
endmacro
!end = "db 0"
!tie = "db $C8"
... |
Kernel/asm/interrupts.asm | asantoflaminio/TP2_SO | 0 | 199882 | GLOBAL haltcpu
GLOBAL _cli
GLOBAL _sti
GLOBAL picMasterMask
GLOBAL picSlaveMask
GLOBAL _irq00Handler
GLOBAL _irq01Handler
GLOBAL _irq02Handler
GLOBAL _irq03Handler
GLOBAL _irq04Handler
GLOBAL _irq05Handler
GLOBAL _exception0Handler
GLOBAL _exception6Handler
GLOBAL _irq80Handler
GLOBAL restoreContext
GLOBAL clearS... |
oeis/125/A125092.asm | neoneye/loda-programs | 11 | 199883 | <reponame>neoneye/loda-programs<filename>oeis/125/A125092.asm
; A125092: Triangle read by rows: T(n,k) = (k+1)^2*binomial(n,k) (0 <= k <= n).
; Submitted by <NAME>
; 1,1,4,1,8,9,1,12,27,16,1,16,54,64,25,1,20,90,160,125,36,1,24,135,320,375,216,49,1,28,189,560,875,756,343,64,1,32,252,896,1750,2016,1372,512,81,1,36,324,13... |
audio/sfx/cry22_1.asm | AmateurPanda92/pokemon-rby-dx | 9 | 199885 | SFX_Cry22_1_Ch4:
dutycycle 17
squarenote 2, 3, -5, 897
squarenote 7, 15, 5, 1537
squarenote 1, 12, 2, 1153
squarenote 8, 9, 1, 897
endchannel
SFX_Cry22_1_Ch5:
dutycycle 238
squarenote 2, 3, -6, 1456
squarenote 7, 13, 5, 1885
squarenote 1, 11, 2, 1712
squarenote 8, 6, 1, 1456
endchannel
SFX_Cry22_1_Ch7:
... |
libsrc/osca/dir_get_entry_name.asm | andydansby/z88dk-mk2 | 1 | 199886 | <filename>libsrc/osca/dir_get_entry_name.asm
;
; Old School Computer Architecture - interfacing FLOS
; <NAME>, 2011
;
; Get filename associated to current directory entry
;
; $Id: dir_get_entry_name.asm,v 1.1 2011/08/03 08:13:40 stefano Exp $
;
INCLUDE "flos.def"
XLIB dir_get_entry_name
dir_get_entry_name:
p... |
programs/oeis/186/A186219.asm | neoneye/loda | 22 | 199887 | ; A186219: Adjusted joint rank sequence of (f(i)) and (g(j)) with f(i) before g(j) when f(i)=g(j), where f and g are the triangular numbers and squares. Complement of A186220.
; 1,3,5,7,8,10,12,13,15,17,19,20,22,24,25,27,29,31,32,34,36,37,39,41,43,44,46,48,49,51,53,54,56,58,60,61,63,65,66,68,70,72,73,75,77,78,80,82,83... |
programs/oeis/132/A132197.asm | neoneye/loda | 22 | 199888 | ; A132197: 2^n-1 written 2^n-1 times.
; 1,3,3,3,7,7,7,7,7,7,7,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63,63
add $0,1
lpb $0
mul $1,2
add $1,1
trn $0,$1
lpe
mov $0,$1
|
Chapter04/crc8_win.asm | PacktPublishing/Mastering-Assembly-Programming | 34 | 199889 | ; File: src\template_win.asm
; First of all, we tell the compiler which type of executable
; we want it to be. In our case it is a 32-bit PE executable.
format PE GUI
; Tell the compiler where we want our program to start - define
; the entry point. We want it to be at the place labeled with '_start'.
entry _... |
PRG/levels/Plains/1-2Bonus.asm | narfman0/smb3_pp1 | 0 | 199890 | ; Original address was $BA49
; 1-2 bonus area
.word W102L ; Alternate level layout
.word W102O ; Alternate object layout
.byte LEVEL1_SIZE_01 | LEVEL1_YSTART_170
.byte LEVEL2_BGPAL_05 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18
.byte LEVEL3_TILESET_03 | LEVEL3_VSCROLL_FREE | LEVEL3_PIPENOTEXIT
.byte LEVEL4_BGBANK_INDEX... |
data/mapObjects/SeafoamIslandsB1F.asm | AmateurPanda92/pokemon-rby-dx | 9 | 199891 | SeafoamIslandsB1F_Object:
db $7d ; border block
db 7 ; warps
warp 4, 2, 0, SEAFOAM_ISLANDS_B2F
warp 7, 5, 4, SEAFOAM_ISLANDS_1F
warp 13, 7, 2, SEAFOAM_ISLANDS_B2F
warp 19, 15, 3, SEAFOAM_ISLANDS_B2F
warp 23, 15, 6, SEAFOAM_ISLANDS_1F
warp 25, 11, 5, SEAFOAM_ISLANDS_B2F
warp 25, 3, 5, SEAFOAM_ISLANDS_1F
db 0... |
oeis/022/A022331.asm | neoneye/loda-programs | 11 | 199892 | <filename>oeis/022/A022331.asm<gh_stars>10-100
; A022331: Index of 2^n within sequence of numbers of form 2^i*3^j.
; 1,2,4,6,9,13,17,22,28,34,41,48,56,65,74,84,95,106,118,130,143,157,171,186,202,218,235,253,271,290,309,329,350,371,393,416,439,463,487,512,538,564,591,619,647,676,706,736,767,798,830,863,896,930,965,1000,... |
libsrc/_DEVELOPMENT/l/sccz80/crt0/l_gcharspsp.asm | meesokim/z88dk | 0 | 199893 | ; Z88 Small C+ Run time Library
; l_gchar variant to be used sometimes by the peephole optimizer
;
SECTION code_l_sccz80
PUBLIC l_gcharspsp
l_gcharspsp:
add hl,sp
inc hl
inc hl
ld a,(hl)
ld l,a
rlca
sbc a,a
ld h,a
ex (sp),hl
jp (hl)
|
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_351.asm | ljhsiun2/medusa | 9 | 199895 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_351.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r15
push %r9
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1b4de, %rsi
lea addresses_D_ht+0xb984, %rdi
nop
and $43935, %rbp
mov $82, %rcx
rep movsw
nop
n... |
demo-widget/debug/demo-widget.asm | Vertver/mappage | 1 | 199896 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.23.28106.4
include listing.inc
INCLUDELIB MSVCRTD
INCLUDELIB OLDNAMES
CONST SEGMENT
$SG270486 DB 'C:\Qt\5.12.5\msvc2017_64\include\QtCore\qmetatype.h', 00H
$SG283455 DB '%s', 00H
ORG $+9
$SG270487 DB 'qRegisterNormalizedMetaType was called with a ... |
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_199_1107.asm | ljhsiun2/medusa | 9 | 199900 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %r13
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_UC_ht+0x105f0, %r12
nop
nop
nop
add %rdi, %rdi
vmovups (%r12), %ymm2
vextracti128 $1, %ymm2, %xmm2
vpextrq $0, %xmm2, %rbx
nop
nop
nop
nop
nop
and %rax, %rax
lea addresses... |
Source/Kernel/Assembly/Ports.asm | jorgy343/RustyOS | 0 | 199901 | [bits 32]
global outb
global outw
global outl
global inb
global inw
global inl
outb:
mov al,[esp + 4]
mov dx,[esp + 8]
out dx,al
ret
outw:
mov ax,[esp + 4]
mov dx,[esp + 8]
out dx,ax
ret
outl:
mov eax,[esp + 4]
mov dx,[esp + 8]
out dx,eax
ret
... |
libsrc/_DEVELOPMENT/math/float/math32/z80/d32_fsnormalize.asm | jpoikela/z88dk | 38 | 199902 | ;
; Copyright (c) 2015 Digi International Inc.
;
; This Source Code Form is subject to the terms of the Mozilla Public
; License, v. 2.0. If a copy of the MPL was not distributed with this
; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;
; feilipu, 2019 April
; adapted for z80, z180, and z80n
;
;-----... |
programs/oeis/091/A091085.asm | jmorken/loda | 1 | 199903 | <gh_stars>1-10
; A091085: a(n) = mod(A078008(n),10).
; 1,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6,0,2,2,6
mov $1,2
lpb $0
mov $3,$0
trn $0,4
mov $1,2
mo... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2.log_3280_82.asm | ljhsiun2/medusa | 9 | 199904 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %rax
push %rcx
push %rsi
lea addresses_WC_ht+0x3715, %r10
nop
nop
nop
nop
nop
add $22834, %rsi
movw $0x6162, (%r10)
nop
xor %rax, %rax
pop %rsi
pop %rcx
pop %rax
pop %r10
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r12
push %r14
push %rbx
pus... |
oeis/040/A040343.asm | neoneye/loda-programs | 11 | 199905 | ; A040343: Continued fraction for sqrt(363).
; Submitted by <NAME>
; 19,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38,19,38
trn $0,1
mod $0,2
mul $0,19
add $0,19
|
programs/oeis/049/A049766.asm | jmorken/loda | 1 | 199906 | <reponame>jmorken/loda<filename>programs/oeis/049/A049766.asm<gh_stars>1-10
; A049766: a(n) = Sum_{k=1..n} T(n,k), array T as in A049765.
; 0,1,4,7,14,18,29,36,48,58,77,83,106,122,141,156,187,200,235,251,280,308,351,361,403,437,476,502,557,573,632,663,712,758,813,828,899,951,1010,1038,1117,1145,1228,1274,1329,1393,1484... |
semyon.asm | HummusPrince/Semyon | 1 | 199907 | <filename>semyon.asm
;.module semyon
;Def file includes
;.include "define.def"
;.include "macro.def"
;Asm file includes
;.include "main.asm"
; T0 T2
; seed +
; delay +
; pwm +
; debounce + |
libsrc/spectrum/diagnostic/zx_kempston.asm | grancier/z180 | 0 | 199909 | ;
; ZX Spectrum specific routines
; by <NAME>, 14/09/2006
;
; int zx_kempston();
;
; The result is:
; - 1 (true) if the Kempston Joystick is connected
; - 0 (false) otherwise
;
; $Id: zx_kempston.asm,v 1.3 2016/06/10 20:02:05 dom Exp $
;
SECTION code_clib
PUBLIC zx_kempston
PUBLIC _zx_kempston
zx_kempston:
_zx_ke... |
Cameras/DyingLight/InjectableGenericCameraSystem/Interceptor.asm | Cyberim/InjectableGenericCameraSystem | 7 | 199910 | <filename>Cameras/DyingLight/InjectableGenericCameraSystem/Interceptor.asm
;////////////////////////////////////////////////////////////////////////////////////////////////////////
;// Part of Injectable Generic Camera System
;// Copyright(c) 2017, <NAME>
;// All rights reserved.
;// https://github.com/FransBouma/Injec... |
draw_example1.asm | mbartling/lc3Game | 1 | 199911 | <filename>draw_example1.asm
.ORIG x3000
; Dedicate R6 == Stack pointer
LEA R6, SP
LDR R6, R6, #0
;Main(){
LEA R5, DRAW
LDR R5, R5, #0 ;Load pointer to Draw()
LEA R4, UPDATE_ELEMENT
LDR R4, R4, #0 ;Load pointer to UpdateElement()
LEA R3, MOVE
LDR R3, R3, #0 ;Load pointer to Move()
;------------------------... |
demos/lite/lite.asm | 42Bastian/new_bll | 4 | 199912 | ***************
* FEUER.ASM
* simple body of a Lynx-program
*
* created : 06.12.97
* change :
****************
BRKuser set 1
Baudrate set 62500
DEBUG set 1 ; if defined BLL loader is included
_1000HZ_TIMER set 7
include <includes/hardware.inc>
* macros
include <macros/help.mac>
... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1323.asm | ljhsiun2/medusa | 9 | 199913 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x182c6, %rsi
lea addresses_A_ht+0x18f66, %rdi
nop
nop
nop
nop
nop
add %r10, %r10
mov $60, %rcx
rep movsl
nop
cmp $51084, %r10
lea addresses_D_ht+0x26c6, %r8
nop
mfence
mov $0x6162636465... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i3-7100_9_0xca_notsx.log_21829_1212.asm | ljhsiun2/medusa | 9 | 199914 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x2bb1, %rsi
lea addresses_UC_ht+0x59cd, %rdi
nop
nop
nop
nop
nop
xor $25823, %r15
mov $62, %rcx
rep movsw
nop
nop
nop
nop
nop
and %r12, %r12
lea addresses_normal_ht+0x501d, %... |
programs/oeis/003/A003434.asm | neoneye/loda | 22 | 199915 | <filename>programs/oeis/003/A003434.asm
; A003434: Number of iterations of phi(x) at n needed to reach 1.
; 0,1,2,2,3,2,3,3,3,3,4,3,4,3,4,4,5,3,4,4,4,4,5,4,5,4,4,4,5,4,5,5,5,5,5,4,5,4,5,5,6,4,5,5,5,5,6,5,5,5,6,5,6,4,6,5,5,5,6,5,6,5,5,6,6,5,6,6,6,5,6,5,6,5,6,5,6,5,6,6,5,6,7,5,7,5,6,6,7,5,6,6,6,6,6,6,7,5,6,6
lpb $0
se... |
programs/oeis/068/A068626.asm | neoneye/loda | 22 | 199916 | <filename>programs/oeis/068/A068626.asm<gh_stars>10-100
; A068626: a(3n) = a(3n-1) = 3*n^2, a(3n-2) = 3*n^2 - 3*n + 1.
; 1,3,3,7,12,12,19,27,27,37,48,48,61,75,75,91,108,108,127,147,147,169,192,192,217,243,243,271,300,300,331,363,363,397,432,432,469,507,507,547,588,588,631,675,675,721,768,768,817,867,867,919,972,972,102... |
oslab6/obj/user/buggyhello.asm | jasha64/OperatingSystems-lab | 0 | 199917 | <filename>oslab6/obj/user/buggyhello.asm
obj/user/buggyhello.debug: 文件格式 elf32-i386
Disassembly of section .text:
00800020 <_start>:
// starts us running when we are initially loaded into a new environment.
.text
.globl _start
_start:
// See if we were started with arguments on the stack
cmpl $USTACKTOP, %esp... |
Library/GrObj/GrObj/grobjUI.asm | steakknife/pcgeos | 504 | 199919 | <filename>Library/GrObj/GrObj/grobjUI.asm
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: The GrObj
FILE: grobjUI.asm
ROUTINES:
Name Description
---- -----------
METHODS:
Name: Descrip... |
tests/nasm/jcxz.asm | brenden7158/v86 | 12,700 | 199921 | <reponame>brenden7158/v86
global _start
%include "header.inc"
mov ecx, 0x10000
jecxz cont1
or eax, 1
cont1:
mov ecx, 0
jecxz cont2
or eax, 2
cont2:
mov ecx, 0x1
jcxz cont3
or eax, 4
cont3:
mov ecx, 0x10000
jcxz cont4
or eax, 8
cont4:
%include "footer.inc"
|
oeis/028/A028129.asm | neoneye/loda-programs | 11 | 199922 | <reponame>neoneye/loda-programs<filename>oeis/028/A028129.asm
; A028129: Expansion of 1/((1-4x)(1-5x)(1-11x)(1-12x)).
; Submitted by <NAME>
; 1,32,665,11440,177441,2582592,36039145,488323280,6475959281,84497107552,1088651482425,13885593262320,175667802947521,2207466992246912,27583620276442505,343037771674508560
mov $1... |
unittests/ASM/PrimaryGroup/3_F7_05.asm | cobalt2727/FEX | 628 | 199923 | %ifdef CONFIG
{
"RegData": {
"RAX": "0x41424344FFDC5C00",
"RBX": "0xFFFFFFD554D45400",
"RCX": "0xFFFFFFFFFFFF0002",
"RDX": "0x0000000000000002",
"RSI": "0x4ECE4DCD4CCC4C00",
"RSP": "0xFFFFFFFFFFFFFFCF"
},
"MemoryRegions": {
"0x100000000": "4096"
}
}
%endif
mov r15, 0xe0000000
mov r... |
Class Exercises/Problem 5.a51 | pronoym99/Microcontrollers-and-Applications | 1 | 199924 | ;program to copy the contents of DPTR to registers R0(DPH) and R1(DPL)
org 0000h
mov r0,dph ;data in dph moved to r0
mov r1,dpl ;data in dpl moved to r1
end |
sway-core/tests/ir_to_asm/impl_ret_int.asm | sagunb/sway | 75 | 199925 | <gh_stars>10-100
.program:
ji i4
noop
DATA_SECTION_OFFSET[0..32]
DATA_SECTION_OFFSET[32..64]
lw $ds $is 1
add $$ds $$ds $is
lw $r0 data_0 ; literal instantiation
ret $r0
noop ; word-alignment of data section
.data:
data_0 .u64 0x2a
|
programs/memory.asm | CH-Electronics/chos | 0 | 199926 | <reponame>CH-Electronics/chos
BITS 16
ORG 32768
%include 'mikedev.inc'
mov si, memory_area
mov ax, 1024
call memory_initialise
jc error
mov si, msg_init
call os_print_string
mov ax, memory_area
call os_print_4hex
call os_print_newline
mov ax, 20
call memory_allocate
jc error
mov cx, si
mov si, msg_alloc
call os_pri... |
data/mapHeaders/celadongym.asm | adhi-thirumala/EvoYellow | 16 | 199928 | <reponame>adhi-thirumala/EvoYellow
CeladonGym_h:
db GYM ; tileset
db CELADON_GYM_HEIGHT, CELADON_GYM_WIDTH ; dimensions (y, x)
dw CeladonGymBlocks, CeladonGymTextPointers, CeladonGymScript ; blocks, texts, scripts
db $00 ; connections
dw CeladonGymObject ; objects
|
programs/oeis/215/A215415.asm | jmorken/loda | 1 | 199930 | <filename>programs/oeis/215/A215415.asm
; A215415: a(2*n) = n, a(4*n+1) = 2*n-1, a(4*n+3) = 2*n+3.
; 0,-1,1,3,2,1,3,5,4,3,5,7,6,5,7,9,8,7,9,11,10,9,11,13,12,11,13,15,14,13,15,17,16,15,17,19,18,17,19,21,20,19,21,23,22,21,23,25,24,23,25,27,26,25,27,29,28,27,29,31,30,29,31,33,32,31,33,35,34,33,35,37,36,35,37,39,38,37,39,4... |
programs/oeis/115/A115133.asm | neoneye/loda | 22 | 199931 | ; A115133: Partial sums of A064061.
; 429,1859,5291,12363,25623,48879,87639,149655,245586,389796,601304,904904,1332474,1924494,2731794,3817554,5259579,7152873,9612537,12777017,16811729,21913089,28312977,36283665,46143240,58261554
mov $1,13
mov $2,15
add $2,$0
bin $2,7
mul $2,$0
mul $1,$2
mul $1,24
div $1,2496
add $1,4... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.