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 |
|---|---|---|---|---|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_1723.asm | ljhsiun2/medusa | 9 | 122435 | .global s_prepare_buffers
s_prepare_buffers:
push %r12
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x1166a, %rsi
lea addresses_WT_ht+0x1dbe0, %rdi
nop
nop
nop
xor %r14, %r14
mov $121, %rcx
rep movsw
sub $24825, %r12
lea addresses_normal_ht+0x366a, %r8
cmp $22787, %rbx
movw $0x6162, (%r... |
programs/oeis/253/A253885.asm | neoneye/loda | 22 | 122436 | ; A253885: Permutation of even numbers: a(n) = A003961(n+1) - 1.
; 0,2,4,8,6,14,10,26,24,20,12,44,16,32,34,80,18,74,22,62,54,38,28,134,48,50,124,98,30,104,36,242,64,56,76,224,40,68,84,188,42,164,46,116,174,86,52,404,120,146,94,152,58,374,90,296,114,92,60,314,66,110,274,728,118,194,70,170,144,230,72,674,78,122,244,206,1... |
src/test/resources/data/potests/test47.asm | cpcitor/mdlz80optimizer | 36 | 122437 | ; test to check removal of repeated instruction:
ld a, (ix+6)
rlca
rlca
rlca
rlca
and a, #07
and a, #07
ld (val), a
loop:
jr loop
val:
db 0 |
concerto_synth/voices.asm | biermanncarl/cx16-concerto | 4 | 122438 | ; Copyright 2021 <NAME>
; This file contains the facilities to play notes.
; It can be thought of as an API to tell the synth engine to play and stop notes.
; The subroutines made for being called from outside are:
; init_voices
; play_note
; release_note
; stop_note - release note puts a note into release pha... |
Variables/ShipPosVars.asm | ped7g/EliteNext | 0 | 122439 | ;-Camera Position of Ship----------------------------------------------------------------------------------------------------------
UBnKxlo DB 0 ; INWK+0
UBnKxhi DB 0 ; there are hi medium low as some times these are 24 bit
UBnKxsgn ... |
qpucamera/qpucamera_kernel_page.asm | doctorseus/rpi-opengl-sandbox | 2 | 122440 | <reponame>doctorseus/rpi-opengl-sandbox<filename>qpucamera/qpucamera_kernel_page.asm
.include "../qpu/vc4.qinc"
.func gvpm_wr_setup(stride, addr)
# Ignored, Horizontal, Laned (ignored), 32-bit
gvpm_setup(0, stride, 1, 0, 2, addr)
.endf
.func gvpm_rd_setup(num, stride, addr)
# Horizontal, Laned (ignored), ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_914.asm | ljhsiun2/medusa | 9 | 122441 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r8
push %r9
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1cf2d, %rsi
lea addresses_WC_ht+0x156ad, %rdi
nop
nop
nop
nop
nop
sub $959, %rdx
mov $6, %rcx
rep movsq
nop
nop
inc %rcx
lea addresses_UC_ht+0x9885, %rax
nop
nop
nop
nop
nop
s... |
substring/substring.asm | refi64/iqst | 0 | 122442 | <filename>substring/substring.asm
%define sys_write 1
%define sys_exit 60
%define sys_stdout 1
%define sys_stderr 2
section .data
usage_msg: db `usage: substring <string> <start> [<end>]\n`
usage_msg_len: equ $ - usage_msg
bad_number: db `invalid positive number\n`
bad_number_len: equ $ - bad_number
section... |
05-bootsector-functions-strings/boot_sect_main.asm | XHS-12302/OS-test-project | 0 | 122443 | <filename>05-bootsector-functions-strings/boot_sect_main.asm
[org 0x7c00]
mov bx, HELLO
call print
call print_nl
mov bx, GOODBYE
call print
call print_nl
mov dx, 0x1e2f
call print_hex
jmp $
%include "boot_sect_print.asm"
%include "boot_sect_print_hex.asm"
HELLO:
db 'Hello, world',0
GOODBYE:
db 'Goodbye', 0
... |
src/util/strg/appsp.asm | olifink/qspread | 0 | 122444 | ; append a space after a string 06/01-92 O.Fink
section string
include win1_mac_oli
include win1_keys_err
xdef st_appsp ; append a space
;+++
; append a character after a string (there must be enough space!)
; 'abcdef' -> append space -> 'abcdef '
;
; Entry Exit
; a0 ptr to st... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1780.asm | ljhsiun2/medusa | 9 | 122445 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1e2a7, %rsi
lea addresses_WC_ht+0x1bcb1, %rdi
cmp %r14, %r14
mov $8, %rcx
rep movsb
nop
nop
nop
and %r15, %r15
lea addresses_WC_ht+0xc041, %rsi
lea addresses_WC_ht+0xf4b1, %rdi
d... |
patch/pdata.asm | zlatkok/swospp | 12 | 122447 | offsets:
dd 0x0000d134, 0x0000d137, 0x0000d13d, 0x0000d140, 0x0000d146, 0x0000d148
dd 0x0000d14f, 0x0000d152, 0x0000d158, 0x0000d15b, 0x0000d498, 0x0000d49f
dd 0x0000d4a6, 0x0000d4ad, 0x0000d4b4, 0x0000d4bb, 0x0000d4be, 0x0000d4c4
dd 0x0000d4cb, 0x0000d4ce, 0x0000d4d4, 0x000a3e18, 0x000a3e1f, 0x000ae729... |
testAsmScripts/instructionTests/addSub.asm | rystills/MIPS-sandbox | 4 | 122449 | #~~~ADDITION AND SUBTRACTION TEST~~~
ADDI $S0, $zero, 2
ADDI $S1, $zero, 3
SUB $S2, $S1, $S0
ADD $S3, $S1, $S2 |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1380.asm | ljhsiun2/medusa | 9 | 122450 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1380.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x2851, %rbx
nop
add %rdx, %rdx
mov $0x6162636465666768, %rdi
movq %rdi, (%rbx)
nop
xor %... |
pkgs/tools/yasm/src/modules/arch/x86/tests/ea-warn.asm | manggoguy/parsec-modified | 2,151 | 122451 | [bits 32]
add [byte ebp*8+06h],ecx ;db 01,0c,0ed,06 probably wrong
dd 90909090h
add [dword ebp*8+06h],ecx ;db 01,0c,0ed,06,0,0,0 OK
dd 90909090h
add ecx,[byte ebp*8+06h] ;db 03,0c,0ed,06 probably wrong
dd 90909090h
add ecx,[dword ebp*8+06h]
dd 90909090h
add ecx,[ebp*8+06h]
dd 90909090h
add ecx,[byte ebx*8+06h] ;db ... |
src/arch/x86_64/interrupts.asm | jaeh/IncludeOS | 3,673 | 122454 | [BITS 64]
global unused_interrupt_handler:function
global modern_interrupt_handler:function
global cpu_sampling_irq_entry:function
global blocking_cycle_irq_entry:function
global parasite_interrupt_handler:function
extern current_eoi_mechanism
extern current_intr_handler
extern cpu_sampling_irq_handler
extern blocking... |
Laburi/Lab5/6-process-structure/process_structure.asm | DanBrezeanu/IOCLA | 2 | 122455 | %include "io.inc"
struc stud_struct
name: <NAME>
surname: resb 32
age: resb 1
group: resb 8
gender: resb 1
birth_year: resw 1
id: resb 16
endstruc
section .data
sample_student:
istruc stud_struct
at name, db 'Andrei', 0
at surname, db 'Voinea', 0
at age, db 21
... |
GPIO/Interrupciones RTI -LED desplazantes/RTI_LEDS_Desplazantes.asm | brandonEsquivel/Dragon12plus-9S12 | 0 | 122456 | <gh_stars>0
;----------------------------------------------------------------------------
; Excepcion RTI
; EIE, UCR
; <NAME>
; <EMAIL>
; Uso de Real-time Interrupt
;-------------------------------------------------------------------------... |
src/demo/score.asm | Lasoloz/aengine | 2 | 122457 | ;
; Copyright (c) 2016-2017 <NAME>
;
; Source file for highscore handling
;
%include 'third-party/util.inc' ; File handling
%include 'include/userutil.inc' ; String copying
%include 'include/graphics/render.inc' ; Rendering utilities
%include 'include/graphics/fonts.inc' ; Text and number rendering
global ... |
EserciziMips/8.2-SimilitudineStringhe.asm | AntoAndGar/MIPS | 0 | 122458 | <gh_stars>0
# Si scriva un programma in linguaggio assembly MIPS che legge due stringhe da tastiera e al suo interno usa una subroutine,
# denominata SIMILITUDINE, che valuta quanti caratteri alle stesse posizioni delle due stringhe sono uguali.
# La routine riceve due parametri, "le stringhe" (cioè gli indirizzi dell... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_813.asm | ljhsiun2/medusa | 9 | 122459 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x39c9, %r9
nop
nop
nop
and $30026, %r14
mov $0x6162636465666768, %rcx
movq %rcx, %xmm2
and $0xffffffffffffffc0, %r9
vmovaps %ymm2, (%r9)
nop
nop
nop
cmp $22766, %rsi
lea a... |
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_10168_2443.asm | ljhsiun2/medusa | 9 | 122460 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r14
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x1e688, %rsi
lea addresses_D_ht+0xeb92, %rdi
nop
sub %r11, %r11
mov $52, %rcx
rep movsw
cmp %rdx, %rdx
lea addresses_WT_ht+0x13b88, %rdx
nop
nop
add $59464, %r14
movups ... |
Student/examples/Correct/CPRL0/Correct_124.asm | SoftMoore/CPRL-Kt | 6 | 122462 | PROGRAM 6
LDGADDR 4
LDCCH 'Z'
STORE2B
LDCSTR "Enter 2 characters: "
PUTSTR
LDGADDR 0
GETCH
STORE2B
LDGADDR 2
GETCH
STORE2B
PUTEOL
LDCSTR "c1 = "
PUTSTR
LDGADDR 0
LOAD2B
PUTCH
PUTEOL
LDCSTR "c2 = "
PUTSTR
LDGADDR 2
LOAD2B
PUTCH
PUTEOL
LDCSTR "... |
cse341/prime.asm | cosmicray001/academic | 2 | 122463 | .MODEL SMALL
.STACK 10H
.CODE
MAIN PROC
MOV BH,0
MOV BL,10D
INPUT:
MOV AH,1
INT 21H
CMP AL,13D
JNE NUMBER
JMP CHECK
NUMBER:
SUB AL,30H
MOV CL,AL
MOV AL,BH
MUL BL
ADD AL,... |
software/atommc2/atommc2.asm | AtomicRoland/AtomFpga | 25 | 122464 |
;
; todo -
;
.include "atmmc2def.asm"
; OS overrides
;
TOP =$0d
PAGE =$12
ARITHWK =$23
; these need to be in ZP
;
RWPTR =$ac ; W - data target vector
ZPTW =$ae ; [3] - general use temp vector, used by vechexs, RS, WS
LFNPTR =$c9 ; W -p... |
unused/develop/obj/spritesheet_1.asm | pau-tomas/gbvm | 33 | 122465 | <reponame>pau-tomas/gbvm
;--------------------------------------------------------
; File Created by SDCC : free open source ANSI-C Compiler
; Version 4.1.4 #12246 (Mac OS X x86_64)
;--------------------------------------------------------
.module spritesheet_1
.optsdcc -mgbz80
;------------------------------------... |
a51test/(F6)MOV_@Ri_A.a51 | Aimini/51cpu | 0 | 122466 | <filename>a51test/(F6)MOV_@Ri_A.a51
mov 0,#0x20
mov 1,#0x21
mov 2,#0x22
mov 3,#0x23
mov 4,#0x24
mov 5,#0x25
mov 6,#0x26
mov 7,#0x27
mov 8,#0x28
mov 9,#0x29
mov 10,#0x2A
mov 11,#0x2B
mov 12,#0x2C
mov 13,#0x2D
mov 14,#0x2E
mov 15,#0x2F
mov 16,#0x30
mov 17,#0x31
mov 18,#0x32
mov 19,#0x33
mov 20,#0x34
mov 21,#0x35
mov 22,#... |
install/lib/disk/setmedia.asm | minblock/msdos | 0 | 122467 | <gh_stars>0
;========================================================
COMMENT #
SETMEDIA.ASM
Copyright (c) 1991 - Microsoft Corp.
All rights reserved.
Microsoft Confidential
=================================================
Extended ROM BIOS call to set the disk layout for a
format operation. The function mus... |
projects/04/mult/completed/Mult.asm | ITFS777/n2t | 0 | 122468 | <reponame>ITFS777/n2t
// This file is part of www.nand2tetris.org
// and the book "The Elements of Computing Systems"
// by <NAME> Schocken, MIT Press.
// File name: projects/04/Mult.asm
// Multiplies R0 and R1 and stores the result in R2.
// (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.)
//
/... |
non_regression/other_x86_linux_14.s.asm | LRGH/plasmasm | 1 | 122469 | .file "F2x.c"
.text
.p2align 4,,15
# ----------------------
.local vecsmall_lexcmp
.type vecsmall_lexcmp, @function
vecsmall_lexcmp:
.cfi_startproc
pushl %ebp
pushl %edi
pushl %esi
subl $8, %esp
movl 24(%esp), %esi
movl 28(%esp), %edi
movl (%esi), %eax
movl %eax, (%esp... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0_notsx.log_21829_1998.asm | ljhsiun2/medusa | 9 | 122470 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r10
push %r14
push %r15
push %r8
push %rax
push %rbp
push %rsi
// Store
lea addresses_UC+0xed27, %r10
nop
inc %rsi
mov $0x5152535455565758, %rbp
movq %rbp, %xmm3
vmovups %ymm3, (%r10)
// Exception!!!
nop
no... |
src/number/fast/fibonacci.asm | brgmnn/uob-cpu-simulator | 0 | 122472 | <gh_stars>0
# Fibonacci number sequence generator.
# Generates up to the n+2 th number in the fibonacci series.
# No memory so fast.
# iterations
mov r10,#300
mov r1,#1
mov r2,#0
# main loop
loop:
sub r10,r10,#1
add r0,r1,r2
mov r2,r1
mov r1,r0
br r10,$loop
halt
|
oeis/086/A086988.asm | neoneye/loda-programs | 11 | 122473 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A086988: Sum of odd indexed divisors of n.
; Submitted by <NAME>
; 1,1,1,5,1,4,1,5,10,6,1,10,1,8,6,21,1,13,1,15,8,12,1,22,26,14,10,19,1,25,1,21,12,18,8,58,1,20,14,33,1,32,1,27,21,24,1,46,50,31,18,31,1,40,12,41,20,30,1,64,1,32,29,85,14,48,1,39,24,51,1,73,1,38,31,43,12,56... |
dos_games/W Produkcji/Algorithms and Examples/dpmi/pmode.asm | QAston/fasm-2006 | 0 | 122474 | format mz
heap 0
include 'loader.inc'
segment _code use32
code32:
koniec:
xor ah,ah
int 16h
Koniec:
mov ax,4c00h
int 21h
TMemoryErrorMsg db "Not enough conventional memory.",13,10,'$'
TOutOfMemoryErrorMsg db 'Out of memory',13,10,'$'
AProgramBase dd 0
ABuffer dd 0
ADPM... |
mean_of_a_vector.asm | CristinaNilvan/assembler-i386-algorithmic-problems | 1 | 122476 | .386
.model flat, stdcall
includelib msvcrt.lib
extern exit: proc
public start
.data
vector_of_elements db 6, 7, 2
number_of_elements dd 3
mean db 0
.code
start:
;Illustration of how to get the mean of a vector.
lea ebx, vector_of_elements
mov eax, number_of_elements
push eax
mov ecx, 0 ... |
kernal.asm | donnchawp/DolphinDOS2 | 10 | 122477 | <reponame>donnchawp/DolphinDOS2
5685 20 0f bc jsr $bc0f
5688 a5 61 lda $61
568a c9 88 cmp #$88
568c 90 03 bcc $5691
568e 20 d4 ba jsr $bad4
5691 20 cc bc jsr $bccc
5694 a5 07 lda $07
5696 18 clc
5697 69 81 adc #$81
5699 f0 f3 beq $568e
569b 38 sec
569c e9 01 sbc #$01
569e 48 pha... |
programs/oeis/030/A030915.asm | neoneye/loda | 22 | 122478 | <reponame>neoneye/loda
; A030915: [ exp(1/15)*n! ].
; 1,2,6,25,128,769,5387,43099,387896,3878966,42668628,512023541,6656306045,93188284635,1397824269538,22365188312616,380208201314476,6843747623660571,130031204849550864,2600624096991017281
add $0,1
mov $2,1
lpb $0
mul $2,$0
sub $0,1
div $1,15
add $1,$2
lpe
mov... |
src/basic_input.asm | mokytis/x86_64 | 0 | 122479 | section .data
text1 db "What is your name? "
text2 db "Hello, "
section .bss
name resb 16
section .text
global _start
_start:
call _askName
call _getName
call _outputName
mov rax, 60 ; 60 = exit syscall
mov rdi, 0 ; 0 = standard exit status code
syscall
_askName:
mov rax, 1 ; 60 = write ... |
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i3-7100_9_0xca_notsx.log_21829_1269.asm | ljhsiun2/medusa | 9 | 122480 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r12
push %rbp
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_A_ht+0x17fbf, %r10
nop
add %rcx, %rcx
mov $0x6162636465666768, %rdi
movq %rdi, (%r10)
add %rbx, %rbx
lea addresses_UC_ht+0xc1a3, %r12
nop
nop
nop
nop
add $... |
build/auxiliar.asm | jsmolina/speccy-misifu | 9 | 122481 | SECTION rodata_user
; Original: 96, 16 (=12 x 2 chars)
; Blocks: 2
; mask, sprite
defb @11111111, @00000000
defb @11111111, @00000000
defb @11111111, @00000000
defb @11111111, @00000000
defb @11111111, @00000000
defb @11111111, @00000000
defb @11111111, @00000000
defb @11111111, @00000000
PUBLIC _auxiliar1
._... |
programs/oeis/022/A022113.asm | neoneye/loda | 22 | 122482 | <filename>programs/oeis/022/A022113.asm
; A022113: Fibonacci sequence beginning 2, 7.
; 2,7,9,16,25,41,66,107,173,280,453,733,1186,1919,3105,5024,8129,13153,21282,34435,55717,90152,145869,236021,381890,617911,999801,1617712,2617513,4235225,6852738,11087963,17940701,29028664,46969365,75998029,122967394,198965423,3219328... |
include/library.asm | ZoomTen/rc4-gameboy | 0 | 122483 | <reponame>ZoomTen/rc4-gameboy
lcd_disable:
ld a, [rLCDC]
rlca
ret nc
.wait
ld a, [rLY]
cp 144
jr c, .wait
ld a,[rLCDC]
res LCD_ENABLE_BIT, a
ld [rLCDC],a
ret
lcd_enable:
push hl
ld hl, rLCDC
set LCD_ENABLE_BIT, [hl]
pop hl
ret
mem_fill_fast:: ; (hl dest, a byte, b len)
.loop
ld [hli], a
dec b
jr nz,... |
src/errors.asm | POBIX/asm-lang | 1 | 122484 | ; an enum's size is a double word. so use db, not the actual name
enum _ERRORS_ {
ERR_NONE,
ERR_UNEXPECTED_TOKEN,
ERR_FILE_NOT_FOUND = 2,
ERR_PATH_NOT_FOUND = 3,
ERR_UNDEFINED_SYMBOL,
ERR_TOO_MANY_OPEN_FILES = 5,
ERR_UNDEFINED_OPERATOR,
ERR_TYPES_DONT_MATCH,
ERR_UNHANDLED_TOKEN,
... |
scripts/SilphCo7F.asm | opiter09/ASM-Machina | 1 | 122485 | <reponame>opiter09/ASM-Machina
SilphCo7F_Script:
call SilphCo7Script_51b77
call EnableAutoTextBoxDrawing
ld hl, SilphCo7TrainerHeaders
ld de, SilphCo7F_ScriptPointers
ld a, [wSilphCo7FCurScript]
call ExecuteCurMapScriptInTable
ld [wSilphCo7FCurScript], a
ret
SilphCo7Script_51b77:
ld hl, wCurrentMapScriptFlags... |
oeis/021/A021052.asm | neoneye/loda-programs | 11 | 122486 | <filename>oeis/021/A021052.asm
; A021052: Decimal expansion of 1/48.
; 0,2,0,8,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3
mov $1,$0
cmp $1,1
mul $1,2
mov $2,$0
trn $0,3
min... |
oeis/346/A346690.asm | neoneye/loda-programs | 11 | 122487 | <reponame>neoneye/loda-programs
; A346690: Replace 6^k with (-1)^k in base-6 expansion of n.
; Submitted by <NAME>
; 0,1,2,3,4,5,-1,0,1,2,3,4,-2,-1,0,1,2,3,-3,-2,-1,0,1,2,-4,-3,-2,-1,0,1,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,0,1,2,3,4,5,-1,0,1,2,3,4,-2,-1,0,1,2,3,-3,-2,-1,0,1,2,-4,-3,-2,-1,0,1,2,3,4,5,6,7,1,2,3,4,5,6,0,1,2,3,4,... |
boot loader/switch_to_lm.asm | Tomer2003/ro-os | 0 | 122488 | [bits 32]
; switch to long mode
switch_to_lm:
call enable_paging
lgdt [gdt_lm_descriptor_start]
jmp CODE_SEG_LM:init_lm
init_lm:
cli
mov ax, DATA_SEG_LM
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
call BEGIN_LM |
汇编语言/线上期末考/1.asm | wine99/hfut-cs-assignments | 56 | 122489 | .model small
.stack 100h
.data
table dw t1, t2, t3, t4, t5, t6, t7, t8, t9
crlf db 0dh, 0ah, '$'
s0 db 'please input number between 1 to 9$'
s1 db '9$'
s2 db '8$'
s3 db '7$'
s4 db '6$'
s5 db '5$'
s6 db '4$'
s7 db '3$'
s8 db ... |
src/freedreno/computerator/examples/stg_ldg_offset.asm | SoftReaper/Mesa-Renoir-deb | 0 | 122490 | <reponame>SoftReaper/Mesa-Renoir-deb
@localsize 16, 1, 1
@buf 128 (c2.x) ; c2.xy
@invocationid(r0.x) ; r0.xyz
mov.u32u32 r0.y, r0.x
mov.u32u32 r1.x, c2.x
mov.u32u32 r1.y, c2.y
mov.u32u32 r2.x, 0xff
(rpt5)nop
stg.a.u32 g[r1.x+r0.y<<4+2<<2], r2.x, 1
nop(sy)
ldg.a.u32 r4.x, g[r1.x+r0.y<<4+2<<2], 1
nop(sy)
add.u r4.x, r4.... |
src/boot/bootloader.asm | bbworld1/egg-kernel | 8 | 122492 | ; bootloader.asm: EggOS bootloader
; Start environment: Loaded at 0x0000:0x7E00 (right above bootsector)
; Segment registers zeroed, valid stack exists
; Disk number on stack
BITS 16
ORG 0x7E00
; Defines
MEMORY_MAP_OFFSET equ 0x8200 ; Offset at which the memory map will be loated
KERNEL_SIZE_SECTORS equ 48
K... |
unittests/32Bit_ASM/X87/D9_FD.asm | cobalt2727/FEX | 628 | 122493 | <reponame>cobalt2727/FEX<gh_stars>100-1000
%ifdef CONFIG
{
"RegData": {
"MM6": ["0x8000000000000000", "0x4006"],
"MM7": ["0xB000000000000000", "0x4001"]
},
"Mode": "32BIT"
}
%endif
lea edx, [data2]
fld tword [edx + 8 * 0]
lea edx, [data]
fld tword [edx + 8 * 0]
fscale
hlt
align 8
data:
dt 4.0
d... |
devboards/src6809/startup.asm | cam900/mc6809 | 71 | 122494 |
org $a000
CURPOS equ $88
KEYSTAT equ $87
KEYLS equ $1
KEYRS equ $2
KEYSHF equ $4
KEYUP equ $8
EXECPTR equ 487
FDB POLCAT
FDB CHROUT
start orcc #$50
clr KEYSTAT
lds #$3FF
jsr CLS
ldx ... |
hellomario.asm | zaid-ismail031/NES-Development | 0 | 122495 | <reponame>zaid-ismail031/NES-Development<filename>hellomario.asm
.segment "HEADER"
.byte "NES"
.byte $1a
.byte $02 ; 2 * 16KB PRG ROM
.byte $01 ; 1 * 8KB CHR ROM
.byte %00000000 ; mapper and mirroring
.byte $00
.byte $00
.byte $00
.byte $00
.byte $00, $00, $00, $00, $00 ; filler bytes
.segment "ZEROPAGE" ; LSB 0 - FF
.... |
conf/S21_ApplePi_sample.asm | liffiton/256asm | 0 | 122498 | # Example code, just demonstrating each instruction
add $2 $0
sub $3 $1
rand $4 5
label:
load $6 $7
store $8 $9
jal label
jr $10
beq $11 label
bgt $12 label
set $13 $14
seti $15 16
|
data/maps/objects/CeladonMansionRoof.asm | opiter09/ASM-Machina | 1 | 122499 | CeladonMansionRoof_Object:
db $9 ; border block
def_warps
warp 6, 1, 1, CELADON_MANSION_3F
warp 2, 1, 2, CELADON_MANSION_3F
warp 2, 7, 0, CELADON_MANSION_ROOF_HOUSE
def_signs
sign 3, 7, 1 ; CeladonMansion4Text1
def_objects
def_warps_to CELADON_MANSION_ROOF
|
samples/nes/common/common.asm | 0x8BitDev/MAPeD-SPReD | 23 | 122500 | ;###############################################
;
; Copyright 2018-2020 0x8BitDev ( MIT license )
;
;###############################################
;
; Some useful macroses and functions
;
.segment "ZP"
; inner variables for temporary calculations
_tmp_val: .res 2
_tmp_val2: .res 2
_tmp_val3: .res 2
... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_21829_426.asm | ljhsiun2/medusa | 9 | 122501 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r8
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x84ca, %rsi
lea addresses_WT_ht+0x1bdaf, %rdi
nop
nop
and $53186, %r10
mov $61, %rcx
rep movsq
sub $57869, %r8
lea addresses_WC_ht+0x89af, %r11
nop
add $586, %rdi
mov (%r11), ... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_621.asm | ljhsiun2/medusa | 9 | 122502 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r13
push %r14
push %rax
push %rbx
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x3f3a, %r14
nop
nop
nop
add %rax, %rax
mov $0x6162636465666768, %rbx
movq %rbx, %xmm3
vmovups %ymm3, (%r14)
nop
nop
nop
sub $27460, %r... |
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_1705.asm | ljhsiun2/medusa | 9 | 122503 | <filename>Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xa0.log_21829_1705.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r12
push %r13
push %r14
push %r9
push %rax
push %rdx
lea addresses_normal_ht+0x6f2e, %rax
nop
sub %r14, %r14
vmovups (%rax), %ymm1
vextracti128 $1, %ymm1, %xmm1
vpe... |
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_logb.asm | meesokim/z88dk | 0 | 122504 |
; float logb(float x)
SECTION code_fp_math48
PUBLIC cm48_sdccix_logb
EXTERN cm48_sdccix_logb_fastcall
cm48_sdccix_logb:
pop af
pop hl
pop de
push de
push hl
push af
jp cm48_sdccix_logb_fastcall
|
oeis/152/A152015.asm | neoneye/loda-programs | 11 | 122505 | ; A152015: a(n) = n^3 - n^2 - n.
; 0,-1,2,15,44,95,174,287,440,639,890,1199,1572,2015,2534,3135,3824,4607,5490,6479,7580,8799,10142,11615,13224,14975,16874,18927,21140,23519,26070,28799,31712,34815,38114,41615,45324,49247,53390,57759,62360,67199,72282,77615,83204,89055,95174,101567,108240,115199,122450,129999,137852,14... |
PRG/prg025.asm | narfman0/smb3_pp1 | 0 | 122506 | <reponame>narfman0/smb3_pp1<filename>PRG/prg025.asm
; Super Mario Bros. 3 Full Disassembly by Southbird 2012
; For more info, see http://www.sonicepoch.com/sm3mix/
;
; PLEASE INCLUDE A CREDIT TO THE SOUTHBIRD DISASSEMBLY
; AND THE ABOVE LINK SOMEWHERE IN YOUR WORKS :)
;
; Original disassembler source generated by DCC65... |
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1880.asm | ljhsiun2/medusa | 9 | 122507 | <gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r13
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0x14c13, %rsi
lea addresses_WT_ht+0xab, %rdi
nop
nop
nop
nop
cmp $65383, %r11
mov $31, %rcx
rep movsw
nop
nop
nop
and %rdx, %rdx
lea addresses_WC_ht+0x10fab, %r... |
oeis/212/A212792.asm | neoneye/loda-programs | 11 | 122508 | ; A212792: Product of all primes in the interval ((n+1)/2,n].
; Submitted by <NAME>
; 1,2,3,3,5,5,35,35,7,7,77,77,143,143,143,143,2431,2431,46189,46189,4199,4199,96577,96577,7429,7429,7429,7429,215441,215441,6678671,6678671,392863,392863,392863,392863,765049,765049,765049,765049,31367009,31367009,1348781387,1348781387,... |
oeis/021/A021268.asm | neoneye/loda-programs | 11 | 122509 | <filename>oeis/021/A021268.asm
; A021268: Expansion of 1/((1-x)(1-2x)(1-8x)(1-10x)).
; Submitted by <NAME>
; 1,21,305,3825,44481,494721,5346625,56661825,592183361,6126355521,62899732545,642086748225,6525582872641,66093551865921,667637303808065,6729987319337025,67728787443552321,680719188437241921,6834642396386693185,68... |
compiler/ti-cgt-arm_18.12.4.LTS/lib/src/fs_cmp_t2.asm | JosiahCraw/TI-Arm-Docker | 0 | 122510 | <gh_stars>0
;******************************************************************************
;* FS_CMP_T2.ASM - THUMB-2 STATE - *
;* *
;* Copyright (c) 1996 Texas Instruments Incorporated ... |
examples/z180.asm | jblang/TMS9918A | 86 | 122513 | ; Z180 utility routines
; Copyright 2020 <NAME>
;
; Permission is hereby granted, free of charge, to any person obtaining a
; copy of this software and associated documentation files (the "Software"),
; to deal in the Software without restriction, including without limitation
; the rights to use, copy, modify, merge... |
symbolinen_konekieli/Ratol_msdos/ali.asm | tkukka/VariousContent | 0 | 122514 | <filename>symbolinen_konekieli/Ratol_msdos/ali.asm
;RaTol Symbolinen konekieli: Koetehtävä
;Tero Kukka IY96A
;Tiedosto: ali.asm Versio 1.0
;Luotu 27.4.1998
;Aliohjelma _: far/near
;Parametrit: ?
include a:makrot.txt
;Ulkoiset aliohjelmat:
;ext... |
oeis/168/A168480.asm | neoneye/loda-programs | 11 | 122515 | <reponame>neoneye/loda-programs
; A168480: G.f.: Sum_{n>=0} 2^(n^2)*(1 + 2^n*x)^n*x^n.
; Submitted by <NAME>
; 1,2,20,640,78080,37847040,74189111296,589682903613440,18955380356036952064,2455824622368881511497728,1278825951842748707166092263424,2671459568763422966186162922297753600
mov $1,2
pow $1,$0
mov $2,1
lpb $0
... |
oeis/020/A020533.asm | neoneye/loda-programs | 11 | 122516 | <reponame>neoneye/loda-programs<filename>oeis/020/A020533.asm
; A020533: a(n) = 7th Fibonacci polynomial evaluated at 2^n.
; Submitted by <NAME>
; 13,169,5473,283009,17106433,1078990849,68803387393,4399388786689,281496451940353,18014742108438529,1152927002171277313,73787064255793594369,4722367890244629430273,3022314774... |
reserve-size.xkas06.asm | n00btube/sm-energy-sizing | 0 | 122517 | ; By [n00btube](https://github.com/n00btube) aka Adam, April 2015.
; MIT license.
; There _may_ be a newer version on the GitHub.
lorom
; New reserve tank size value.
; Limitation: make sure you don't place so many tanks in your hack that
; picking up all the reserves gives Samus >=1000 ($3E8) reserve energy total,
;... |
programs/oeis/005/A005678.asm | neoneye/loda | 22 | 122519 | <reponame>neoneye/loda<gh_stars>10-100
; A005678: A squarefree ternary sequence.
; 1,2,1,3,2,1,2,3,1,2,1,3,2,3,1,3,2,1,2,3,1,2,1,3,2,1,2,3,1,3,2,3,1,2,1,3,2,1,2,3,1,2,1,3,2,3,1,3,2,1,2,3,1,3,2,3,1,2,1,3,2,3,1,3,2,1,2,3,1,2,1,3,2,1,2,3,1,3,2,3,1,2,1,3,2,1,2
add $0,2730
seq $0,36581 ; Ternary Thue-Morse sequence: closed... |
dv3/hd/poll.asm | olifink/smsqe | 0 | 122520 | ; DV3 Hard Disk Polling Routine 1993 <NAME>
section dv3
xdef hd_poll
xref hd_pflush
include 'dev8_dv3_keys'
include 'dev8_dv3_hd_keys'
include 'dev8_mac_assert'
;+++
; Hard Disk Polling Interrupt Routine
;
; This provides the basic timing services for the hard disk system.
;
hd_poll
assert hdl_acss... |
oeis/034/A034223.asm | neoneye/loda-programs | 11 | 122521 | ; A034223: Number of ternary codes (not necessarily linear) of length n with 3 words.
; Submitted by <NAME>
; 1,4,10,20,35,57,87,127,179,245,327,428,550,696,869
mov $3,$0
mov $7,$0
lpb $3
mov $0,$7
sub $3,1
sub $0,$3
mov $8,$0
add $8,1
mov $9,0
mov $10,$0
lpb $8
mov $0,$10
sub $8,1
sub $0,$... |
projects/07/StackArithmetic/StackTest/StackTest.asm | SAhmadi/FromNandToTetris | 0 | 122522 | @17
D=A
@SP
A=M
M=D
@SP
M=M+1
@17
D=A
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
@SP
A=M
D=M
@SP
M=M-1
@SP
A=M
D=M-D
@COMPARISON_0_WAS_TRUE
D;JEQ
@SP
A=M
M=0
@COMPARISON_0_WAS_FALSE
0;JMP
(COMPARISON_0_WAS_TRUE)
@SP
A=M
M=-1
(COMPARISON_0_WAS_FALSE)
@SP
M=M+1
@17
D=A
@SP
A=M
M=D
@SP
M=M+1
@16
D=A
@SP
A=M
M=D
@SP
M=M+1
@SP
M=M-1
@... |
snapgear_linux/lib/libgmp/mpn/x86/pentium/mmx/lshift.asm | impedimentToProgress/UCI-BlueChip | 0 | 122524 | # Intel P5 mpn_lshift -- mpn left shift.
#
# P5: 1.75 cycles/limb.
# Copyright (C) 2000 Free Software Foundation, Inc.
#
# This file is part of the GNU MP Library.
#
# The GNU MP Library is free software; you can redistribute it and/or modify
# it under the terms of the GNU Library General Public License as published... |
Library/Spool/UI/uiSpoolSummonsUtils.asm | steakknife/pcgeos | 504 | 122526 | COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1989 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Library/Spool/UI
FILE: uiSpoolSummonsUtils.asm
AUTHOR: <NAME>, April 24, 1991
ROUTINES:
Name Description
---- -----------
EXT SSEnab... |
programs/oeis/166/A166942.asm | neoneye/loda | 22 | 122528 | <filename>programs/oeis/166/A166942.asm
; A166942: One fifth of product plus sum of five consecutive nonnegative numbers.
; 2,27,148,509,1350,3031,6056,11097,19018,30899,48060,72085,104846,148527,205648,279089,372114,488395,632036,807597,1020118,1275143,1578744,1937545,2358746,2850147,3420172,4077893,4833054,5696095,66... |
assembler/tests/t_78k3/t_78k3.asm | paulscottrobson/RCA-Cosmac-VIP-III | 0 | 122529 | <filename>assembler/tests/t_78k3/t_78k3.asm
cpu 78310
page 0
include "reg78310.inc"
saddr equ 0ff02h
saddr2 equ 0fe80h
sfr equ cric00
psw equ pswl
mov c,#55h
mov r7,#0aah
mov a,r0
mov a,c
mov h,c
mov h,r4
mov r7,r5
mov a,[de+]
mov a,[hl+]
mov a,[de-]
mov a,[hl-]
mov a,[de]
mov a,[hl]
mov a,[vp]
... |
programs/oeis/004/A004632.asm | neoneye/loda | 22 | 122531 | <reponame>neoneye/loda<gh_stars>10-100
; A004632: Cubes written in base 2.
; 1,1000,11011,1000000,1111101,11011000,101010111,1000000000,1011011001,1111101000,10100110011,11011000000,100010010101,101010111000,110100101111,1000000000000,1001100110001,1011011001000,1101011001011,1111101000000,10010000101101,10100110011000... |
oeis/313/A313540.asm | neoneye/loda-programs | 11 | 122532 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A313540: Coordination sequence Gal.6.151.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.
; Submitted by <NAME>
; 1,5,10,14,19,23,28,33,37,42,46,51,56,61,66,70,75,79,84,89,93,98,102,10... |
programs/oeis/097/A097252.asm | neoneye/loda | 22 | 122534 | <filename>programs/oeis/097/A097252.asm<gh_stars>10-100
; A097252: Numbers whose set of base 6 digits is {0,5}.
; 0,5,30,35,180,185,210,215,1080,1085,1110,1115,1260,1265,1290,1295,6480,6485,6510,6515,6660,6665,6690,6695,7560,7565,7590,7595,7740,7745,7770,7775,38880,38885,38910,38915,39060,39065,39090,39095,39960,39965,... |
src/enemy-bullets.asm | santiontanon/triton | 41 | 122538 | ;-----------------------------------------------
; updates the behavior of all the enemies, and also updates their sprites
update_enemy_bullets:
ld ix,enemy_bullets
ld b,MAX_ENEMY_BULLETS
update_enemy_bullets_loop:
ld a,(ix)
or a
jp z,update_enemy_bullets_loop_next_no_pop
push bc
dec a
jp z,update_enemy_bulle... |
Gathered CTF writeups/confidence_ctf_2019/watchmen/watchmen_decrypted.asm | mihaid-b/CyberSakura | 1 | 122540 | ; ---------------------------------------------------------------------------------------
0x401c20: push rbp ; xor_flag(flag)
0x401c21: mov ebp, esp ;
0x401c23: push rbx ;
0x401c24: sub esp, ... |
Constants.asm | DevEd2/ScootTheBurbs | 5 | 122541 | <gh_stars>1-10
; ================================================================
; Constants
; ================================================================
if !def(incConsts)
incConsts set 1
; ================================================================
; Global constants
; ==================================... |
programs/oeis/224/A224335.asm | karttu/loda | 0 | 122544 | <gh_stars>0
; A224335: Number of idempotent 4X4 0..n matrices of rank 3.
; 60,212,508,996,1724,2740,4092,5828,7996,10644,13820,17572,21948,26996,32764,39300,46652,54868,63996,74084,85180,97332,110588,124996,140604,157460,175612,195108,215996,238324,262140,287492,314428,342996,373244,405220,438972,474548,511996,551364,5... |
Examples/Lib16/TestLib.asm | satadriver/LiunuxOS_t | 0 | 122547 | TITLE Testing the Link Library (TestLib.asm)
; Use this program to test individual Irvine16
; library procedures.
INCLUDE Irvine16.inc
.data
.code
main PROC
mov ax,@data
mov ds,ax
exit
main ENDP
END main |
programs/oeis/152/A152997.asm | jmorken/loda | 1 | 122548 | ; A152997: Twice 13-gonal numbers: a(n) = n*(11*n - 9).
; 0,2,26,72,140,230,342,476,632,810,1010,1232,1476,1742,2030,2340,2672,3026,3402,3800,4220,4662,5126,5612,6120,6650,7202,7776,8372,8990,9630,10292,10976,11682,12410,13160,13932,14726,15542,16380,17240,18122,19026,19952,20900,21870,22862,23876,24912,25970,27050,281... |
Benchmark/fib2.asm | DW0RKiN/M4_FORTH | 2 | 122550 | <gh_stars>1-10
ORG 32768
; === b e g i n ===
ld (Stop+1), SP ; 4:20 init storing the original SP value when the "bye" word is used
ld L, 0x1A ; 2:7 init Upper screen
call 0x1605 ; 3:17 init Open channel
ld HL, 35000 ; 3:10 init Init R... |
programs/oeis/194/A194388.asm | neoneye/loda | 22 | 122551 | <filename>programs/oeis/194/A194388.asm
; A194388: Numbers m such that Sum_{k=1..m} (<1/2 + k*r> - <k*r>) = 0, where r=sqrt(11) and < > denotes fractional part.
; 2,4,14,16,18,22,24,26,30,32,34,44,46,48,52,54,56,60,62,64,74,76,78,82,84,86,90,92,94,104,106,108,112,114,116,120,122,124,134,136,138,142,144,146,150,152,154,... |
scripts/exchange_sort/exchange_sort_16384w.asm | yashadhikari/ELISA | 0 | 122552 | <reponame>yashadhikari/ELISA
.text
main:
# load length value and array address
# r1 = passes remaining
# r2 = iterations remaining in current pass
# r3 = address of left element to compare;
# the adjacent right element is 1(r3)
lw $r1 length
lw $r2 length
la... |
Transynther/x86/_processed/US/_st_un_sm_/i9-9900K_12_0xa0_notsx.log_21829_1918.asm | ljhsiun2/medusa | 9 | 122553 | .global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r14
push %r15
push %r8
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x1dc07, %rsi
lea addresses_UC_ht+0x19239, %rdi
clflush (%rsi)
nop
add $25560, %r15
mov $117, %rcx
rep movsw
and %r14, %r14
lea addresses_D_ht+0xd2a1, %r10
nop
nop
nop
nop
sub %... |
gfx/pokemon/pidgeot/anim_idle.asm | Dev727/ancientplatinum | 28 | 122554 | setrepeat 3
frame 0, 06
frame 3, 06
dorepeat 1
frame 2, 06
frame 0, 06
frame 2, 06
endanim
|
ch09/test9_1.asm | zzb610/asm-learn | 0 | 122555 | <reponame>zzb610/asm-learn
assume cs:codesg, ds:datasg
datasg segment
db 0, 0
datasg ends
codesg segment
start:
mov ax, datasg
mov ds, ax
mov bx, 0
jmp word ptr [bx+1]
codesg ends
end start |
PRACT0/SO1H_0/asm/SO1H_0.asm | so1h/SO1H | 0 | 122557 | bits 16
; glb intptr_t : int
; glb uintptr_t : unsigned
; glb intmax_t : int
; glb uintmax_t : unsigned
; glb int8_t : signed char
; glb int_least8_t : signed char
; glb int_fast8_t : signed char
; glb uint8_t : unsigned char
; glb uint_least8_t : unsigned char
; glb uint_fast8_t : unsigned char
; glb int16_t : short
... |
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_3_1029.asm | ljhsiun2/medusa | 9 | 122558 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r9
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_normal_ht+0x459b, %rsi
lea addresses_normal_ht+0x1e927, %rdi
nop
dec %r11
mov $93, %rcx
rep movsl
cmp $21797, %r9
lea addresses_UC_ht+0x5a6b, %r10
nop
nop
nop
nop
mfe... |
src/test/ref/subexpr-optimize-4.asm | jbrandwood/kickc | 2 | 122559 | <gh_stars>1-10
// Tests optimization of identical sub-expressions
// Commodore 64 PRG executable file
.file [name="subexpr-optimize-4.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Cod... |
Assembly language programming/01/life.asm | rzetelskik/MIMUW | 0 | 122560 | default rel
global start
global run
; Check whether the neighbour at index in rsi is alive (value is an odd number)
; and add it in to the neighbour counter at al.
; Modifies rax and r9 registers. All other registers are left intact.
%macro count_neighbour 0
mov r9b, byte [r8 + rsi]
and r9b, 0x1
add al, r9b
%en... |
tools/asmx2/test/thumb.asm | retro16/blastsdk | 10 | 122562 | CPU THUMB_BE
ADC R1,R2 ; 4151
ADD R1,R2,#3 ; 1CD1
ADD R1,#'I' ; 3149
ADD R1,R2,R3 ; 18D1
ADD R1,R2 ; 4411
ADD R1,R10 ; 4451
ADD R9,R2 ; 4491
ADD R9,R10 ; 44D1
ADD R1,PC,#4 ; A101
ADD R1,SP,#4 ; A901
ADD SP,#4 ; D001
AND R1,R2 ; 4011
ASL R1,R2,#5 ; 0151
ASL R1,R2 ; 4091
ASR R1,R2,#5 ; 1151
ASR R1... |
tests/nasm/pshufw.asm | Tuna0128/Tuna0128.github.io | 12,700 | 122563 | global _start
section .data
align 16
myquad:
dq 0xad0000ceadad00ff
mydword:
dd 0xcafebabe
myaddress:
dq 0x00adbeefc0de00ce
%include "header.inc"
movq mm0, [myquad]
pshufw mm0, [myaddress], 0xAB
pshufw mm1, [myaddress], 0xFE
pshufw mm2, [myquad], 0xFF
pshufw mm6, [myaddress], 0x19
pshufw mm7, [myaddre... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.