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/_xt_/i3-7100_9_0x84_notsx.log_21829_1575.asm | ljhsiun2/medusa | 9 | 42971 | <filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1575.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r14
push %rax
push %rbp
push %rcx
push %rdi
push %rsi
lea addresses_WC_ht+0x80ce, %r14
nop
nop
nop
nop
nop
add %rdi, %rdi
movw $0x6162, (%r14)
nop
n... |
SOURCE/base/Imported/Bartok/runtime/shared/native/arch/arm/lib.asm | pmache/singularityrdk | 3 | 42972 | ;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
AREA |.text|, CODE, READONLY
INCLUDE core.inc
IMPORT |?ExceptionTableLookup@@YI_KPAUClass_System_Exception@@I@Z|
IMPORT InterlockedIncrement
IMPORT InterlockedDecrement
IMPORT |?m__ctor@Class_System_DivideByZeroException@... |
base/mvdm/wow16/mmsystem/thunks.asm | npocmaka/Windows-Server-2003 | 17 | 42973 | page ,132
;-----------------------------Module-Header-----------------------------;
; Module Name: thunks.asm - Passes control to 32 bit code.
;
;
; Created: 27-09-93
; Author: <NAME> [StephenE]
;
; Copyright (c) 1993 Microsoft Corporation
;
;-----------------------------------------------------... |
Library/Trans/SSheet/Lotus123/Export/exportInfixToPostfix.asm | steakknife/pcgeos | 504 | 42974 |
COMMENT @-----------------------------------------------------------------------
Copyright (c) Geoworks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE:
FILE: exportInfixToPostfix.asm
AUTHOR: Cheng, 10/91
ROUTINES:
Name Description
---- -----------
REVISION HISTORY:
Name Date Des... |
Sistemas_Digitales/lcd (1).asm | AntiDesert5/Ingenieria-en-Computacion-UAEM | 1 | 42975 | <reponame>AntiDesert5/Ingenieria-en-Computacion-UAEM
;****************************************************************
processor 16F887
include <P16F887.INC>
;Variables para DELAY
val1 equ 0x30
val2 equ 0x31
org 0 ;Vector de RESET
goto INICIO
org 5 ... |
code/8/p1.asm | GeekHades1/AssemblyCode | 1 | 42976 | ; 实验7
assume cs:code, ds:data, ss:stack
data segment
db '1975', '1976', '1977', '1978', '1979', '1980'
db '1981', '1982', '1983', '1984', '1985', '1986'
db '1987', '1988', '1989', '1990', '1991', '1992'
db '1993', '1994', '1995'
; 21年 21个字符串
dd 16, 22, 382, 1356, 2390, 8000, 16000, 24486, 50065
... |
programs/oeis/055/A055950.asm | jmorken/loda | 1 | 42977 | ; A055950: n + reversal of base 5 digits of n (written in base 10).
; 0,2,4,6,8,6,12,18,24,30,12,18,24,30,36,18,24,30,36,42,24,30,36,42,48,26,52,78,104,130,36,62,88,114,140,46,72,98,124,150,56,82,108,134,160,66,92,118,144,170,52,78,104,130,156,62,88,114,140,166,72,98,124,150,176,82,108,134,160,186,92,118,144,170,196,78... |
programs/oeis/253/A253893.asm | jmorken/loda | 1 | 42978 | <reponame>jmorken/loda
; A253893: a(1) = 0, for n > 1, a(n) = 1 + a(A253889(n)).
; 0,1,1,2,2,2,3,2,3,4,3,4,3,3,4,4,3,3,4,4,5,5,3,5,4,4,5,4,5,5,5,4,5,5,5,6,6,4,5,6,4,6,5,5,6,5,5,5,6,4,6,6,4,6,6,5,6,5,5,6,5,6,4,6,6,6,6,4,7,7,6,6,6,5,7,7,5,6,7,6,6,7,5,7,6,6,7,5,6,7,7,6,6,6,5,7,7,6,7,7,6,6,6,6,6,7,7,6,7,7,7,7,5,7,7,6,7,7,7... |
macros/coords.asm | Dev727/ancientplatinum | 28 | 42979 | hlcoord EQUS "coord hl,"
bccoord EQUS "coord bc,"
decoord EQUS "coord de,"
coord: MACRO
; register, x, y[, origin]
if _NARG < 4
ld \1, (\3) * SCREEN_WIDTH + (\2) + wTileMap
else
ld \1, (\3) * SCREEN_WIDTH + (\2) + \4
endc
ENDM
hlbgcoord EQUS "bgcoord hl,"
bcbgcoord EQUS "bgcoord bc,"
debgcoord EQUS "bgcoord de,"... |
_anim/obj4E.asm | NatsumiFox/AMPS-Sonic-1-2005 | 2 | 42981 | <filename>_anim/obj4E.asm
; ---------------------------------------------------------------------------
; Animation script - advancing wall of lava (MZ)
; ---------------------------------------------------------------------------
dc.w byte_F244-Ani_obj4E
byte_F244: dc.b 9, 0, 1, 2, 3, $FF
even |
src/samples/blink.asm | bberak/6502-flappy-bird | 0 | 42982 | !to "build/blink.bin"
*=$8000
reset:
lda #$ff ;; Load ff into the acc
sta $6002 ;; Store contents of acc into address 6002 (data direction register b of via chip)
lda #$50 ;; Load 50 into the acc
loop:
ror ;; Rotate contents of acc to the right (some sort of bit shift)
sta $6000 ;; Send conte... |
P6/data_P6_2/MDTest168.asm | alxzzhou/BUAA_CO_2020 | 1 | 42983 | <filename>P6/data_P6_2/MDTest168.asm
ori $ra,$ra,0xf
srav $6,$1,$3
div $0,$ra
sb $6,4($0)
sb $0,4($0)
sll $1,$2,20
sb $0,0($0)
mfhi $0
srav $1,$4,$5
lb $4,4($0)
mtlo $4
sb $1,16($0)
mtlo $1
sll $1,$2,30
mfhi $6
div $4,$ra
addiu $1,$4,9088
sll $4,$0,31
mflo $5
ori $4,$5,22565
divu $5,$ra
divu $6,$ra
lui $4,7645
mfhi $2
... |
1/1-1.asm | userElaina/MicrocomputerLab | 0 | 42984 | <filename>1/1-1.asm
MOV AX,1000
MOV [1200],AX
MOV BX,1202
MOV BYTE PTR[BX],20
MOV DL,39
INC BX
MOV [BX],DL
DEC DL
MOV SI,3
MOV [BX+SI],DL
MOV [BX+SI+1],DL
MOV WORD PTR[BX+SI+2],1234
|
Aurora/Aurora/x64/Debug/mouse.asm | manaskamal/aurora-xeneva | 8 | 42986 | ; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC ?mouse_x@@3HA ; mouse_x
PUBLIC ?mouse_y@@3HA ; mouse_y
PUBLIC ?mouse_x_difference@@3HA ; mouse_x_difference
PUBLIC ?mouse_y_difference@@3HA ; mouse_y_difference... |
NASM 32-bit/calculator.asm | CosasDePuma/Aesthetic-Programming | 2 | 42987 | <reponame>CosasDePuma/Aesthetic-Programming<filename>NASM 32-bit/calculator.asm
; _________________
; // \\
; || HOW TO COMPILE IT ||
; \\_________________//
;
; ------ x86 ------
; nasm -f elf calculator.asm
; ld -s -o calculator calculator.asm
;
; ------ x86_64 ------
; nasm -f elf64 calcu... |
Library/SpecUI/CommonUI/CMain/cmainManager.asm | steakknife/pcgeos | 504 | 42988 | <reponame>steakknife/pcgeos<gh_stars>100-1000
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: OpenLook/Main
FILE: mainManager.asm
REVISION HISTORY:
Name Date Description
---- ---- -----------
... |
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48.log_18_783.asm | ljhsiun2/medusa | 9 | 42989 | .global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r12
push %r15
push %r9
push %rbp
push %rcx
push %rdi
lea addresses_A_ht+0x10276, %rdi
nop
nop
nop
nop
and $20841, %r15
movups (%rdi), %xmm7
vpextrq $0, %xmm7, %rcx
and $27743, %rbp
lea addresses_UC_ht+0x1c776, %r9
nop
nop
xor %r12, %r12
movb (%r9), %r11b
nop
... |
oeis/240/A240534.asm | neoneye/loda-programs | 11 | 42990 | <filename>oeis/240/A240534.asm<gh_stars>10-100
; A240534: a(n) = denominators of n!/10^n.
; Submitted by <NAME>
; 1,10,50,500,1250,2500,12500,125000,156250,1562500,1562500,15625000,39062500,390625000,1953125000,3906250000,2441406250,24414062500,122070312500,1220703125000,610351562500,6103515625000,30517578125000,305175... |
oeis/063/A063010.asm | neoneye/loda-programs | 11 | 42992 | ; A063010: Carryless binary square of n; also Moser-de Bruijn sequence written in binary.
; Submitted by <NAME>
; 0,1,100,101,10000,10001,10100,10101,1000000,1000001,1000100,1000101,1010000,1010001,1010100,1010101,100000000,100000001,100000100,100000101,100010000,100010001,100010100,100010101,101000000,101000001
mov $... |
4 专业科目/计算机组成/习题/hw/自己动手写CPU/Code/Chapter15/ucosii_OpenMIPS/ucosii.asm | ladike/912_project | 640 | 42993 |
ucosii.om: file format elf32-tradbigmips
Disassembly of section .vectors:
00000000 <_reset>:
0: 3c1c0000 lui gp,0x0
4: 3c1d0002 lui sp,0x2
8: 27bd9004 addiu sp,sp,-28668
c: 3c1a0000 lui k0,0x0
10: 275a0378 addiu k0,k0,888
14: 03400008 jr k0
18: 00000000 nop
1c: 00000000 nop
20: 3c1a... |
smw_pcm/payload_stage1.asm | dwangoac/snes-pcm-streaming | 4 | 42994 | .INCLUDE "stage1.inc"
.BANK $00
.ORG $1000-3
.db $00, $10, $00 ; Entry point of code
payload:
sei
ai16
pea $0000
plb
plb
ldx #$1fff
txs
lda.w #$0000
sta.l $004200 ; Disable NMI and autojoy reads
sta.l $00420c ; Disable H-DMA
sep #$20
rep #$10
lda #$ff
sta $2141 ; Stop S... |
oeis/124/A124750.asm | neoneye/loda-programs | 11 | 42995 | <filename>oeis/124/A124750.asm
; A124750: Expansion of (1+x+x^2)/(1-x^3+x^4).
; Submitted by <NAME>
; 1,1,1,1,0,0,0,-1,0,0,-1,1,0,-1,2,-1,-1,3,-3,0,4,-6,3,4,-10,9,1,-14,19,-8,-15,33,-27,-7,48,-60,20,55,-108,80,35,-163,188,-45,-198,351,-233,-153,549,-584,80,702,-1133,664,622,-1835,1797,-42,-2457,3632,-1839
mov $1,1
lpb... |
programs/oeis/118/A118633.asm | neoneye/loda | 22 | 42996 | <reponame>neoneye/loda<filename>programs/oeis/118/A118633.asm<gh_stars>10-100
; A118633: Start with 1 and repeatedly reverse the digits and add 37 to get the next term.
; 1,38,120,58,122,258,889,1025,5238,8362,2675,5799,10012,21038,83049,94075,57086,68112,21223,32249,94260,6286,6863,3723,3310,170,108,838,875,615,553,39... |
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_397.asm | ljhsiun2/medusa | 9 | 42999 | <filename>Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0.log_21829_397.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %r14
push %r15
push %rax
push %rbp
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_normal_ht+0x19788, %rax
clflush (%rax)
sub %r13, %r13
movb (%... |
oeis/186/A186944.asm | neoneye/loda-programs | 11 | 43000 | ; A186944: Geometric mean of n-th row of A080508.
; Submitted by <NAME>
; 1,2,2,6,6,30,30,210,210,210,210,2310,2310,30030,30030,30030,30030,510510,510510,9699690,9699690,9699690,9699690,223092870,223092870,223092870,223092870,223092870,223092870,6469693230,6469693230,200560490130,200560490130
sub $0,1
mov $2,$0
cmp $2... |
src/cm_items.asm | spannerisms/lttphack | 6 | 43001 | ITEMS_SUBMENU:
%menu_header("ITEMS", 23)
;===================================================================================================
%choice_func_here("Bow", SA1RAM.cm_item_bow, 3, cm_set_bow)
%list_item("No")
%list_item("Normal")
%list_item("Silver")
#cm_set_bow:
LDA.w SA1RAM.cm_item_bow
ASL
TAX
BEQ +... |
assignment2/linux_reverse_shell.asm | gkweb76/SLAE | 15 | 43002 | ; Title: Linux x86 Reverse Shell TCP shellcode (77 bytes)
; Author: <NAME>
; SLAE-681
global _start
section .text
_start:
; Socket creation and handling with socketcall()
; socketcall(int call, unsigned long *args)
; 1 - creating socket
; int socket(int domain, int type, int protocol)
... |
Transynther/x86/_processed/NC/_ht_st_zr_un_4k_/i3-7100_9_0xca_notsx.log_2626_1487.asm | ljhsiun2/medusa | 9 | 43003 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
ret
.global s_faulty_load
s_faulty_load:
push %r11
push %r13
push %r15
push %r8
push %rbx
push %rcx
push %rsi
// Store
mov $0x5a4, %r13
nop
nop
and $4009, %r15
movw $0x5152, (%r13)
nop
inc %r13
// Store
lea addresses_US+0x1fc6c, %r15
add %rcx... |
Samples/hfr989.asm | charles-fox/ManchesterBabyPython | 0 | 43004 | 01: LDN 18
02: LDN 19
03: SUB 20
04: CMP
05: JRP 21
06: SUB 22
07: STO 24
08: LDN 22
09: SUB 23
10: STO 20
11: LDN 20
12: STO 22
13: LDN 24
14: CMP
15: JMP 25
16: JMP 18
17: STOP
18: NUM 0
19: NUM -989
20: NUM 988
21: NUM -3
22: NUM -988
23: NUM 1
24:... |
oeis/004/A004584.asm | neoneye/loda-programs | 11 | 43005 | ; A004584: Expansion of sqrt(8) in base 9.
; Submitted by <NAME>
; 2,7,4,0,8,2,7,1,2,2,6,8,3,3,1,6,0,7,3,1,7,3,6,0,4,4,7,3,4,5,7,7,6,6,1,8,0,5,3,2,5,4,5,1,6,4,4,1,6,4,1,2,3,8,2,2,2,2,2,4,4,6,7,4,4,6,3,2,0,6,5,0,7,6,1,1,1,7,6,3,7,7,5,8,2,1,8,4,0,0,6,5,1,5,8,5,5,0,7,4
mov $1,1
mov $2,1
mov $3,$0
add $3,2
mov $4,$0
add $... |
oeis/164/A164413.asm | neoneye/loda-programs | 11 | 43006 | ; A164413: Number of binary strings of length n with no substrings equal to 0000, 0001 or 1001.
; Submitted by <NAME>
; 1,2,4,8,13,22,36,58,94,152,246,398,644,1042,1686,2728,4414,7142,11556,18698,30254,48952,79206,128158,207364,335522,542886,878408,1421294,2299702,3720996,6020698,9741694,15762392,25504086,41266478,6677... |
pwnlib/shellcraft/templates/thumb/linux/readn.asm | DrKeineLust/pwntools | 8,966 | 43007 | <reponame>DrKeineLust/pwntools
<%
from pwnlib.shellcraft.thumb.linux import read
from pwnlib.shellcraft.thumb import setregs
from pwnlib.shellcraft import common
%>
<%page args="fd, buf, nbytes"/>
<%docstring>
Reads exactly nbytes bytes from file descriptor fd into the buffer buf.
Arguments:
fd(int): f... |
data/mapObjects/celadonmansion4.asm | adhi-thirumala/EvoYellow | 16 | 43008 | <reponame>adhi-thirumala/EvoYellow
CeladonMansion4Object:
db $9 ; border block
db $3 ; warps
db $1, $6, $1, CELADON_MANSION_3
db $1, $2, $2, CELADON_MANSION_3
db $7, $2, $0, CELADON_MANSION_5
db $1 ; signs
db $7, $3, $1 ; CeladonMansion4Text1
db $0 ; objects
; warp-to
EVENT_DISP CELADON_MANSION_4_WIDTH, $... |
oeis/069/A069506.asm | neoneye/loda-programs | 11 | 43009 | ; A069506: a(1) = 2; a(n) = smallest palindromic number of the form k*a(n-1) + 1 with k > 1.
; Submitted by <NAME>(s3)
; 2,5,11,111,1111,11111,111111,1111111,11111111,111111111,1111111111,11111111111,111111111111,1111111111111,11111111111111,111111111111111,1111111111111111,11111111111111111,111111111111111111,11111111... |
Library/User/UI/uiPage.asm | steakknife/pcgeos | 504 | 43010 | COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: Text Library
FILE: uiPage.asm
ROUTINES:
Name Description
---- -----------
GLB GenPageControlClass Style menu object
REVISION HISTORY:
... |
Transynther/x86/_processed/NC/_st_zr_sm_/i7-7700_9_0xca.log_21829_1660.asm | ljhsiun2/medusa | 9 | 43011 | <filename>Transynther/x86/_processed/NC/_st_zr_sm_/i7-7700_9_0xca.log_21829_1660.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r14
push %r15
push %r8
push %rax
push %rcx
push %rdi
push %rsi
lea addresses_WT_ht+0x1456e, %r8
nop
nop
nop
nop
add %r14, %r14
mov $0x6162636465666768, %r15
movq %r15, %xmm0
vmovups %y... |
oeis/002/A002212.asm | neoneye/loda-programs | 11 | 43012 | <filename>oeis/002/A002212.asm<gh_stars>10-100
; A002212: Number of restricted hexagonal polyominoes with n cells.
; Submitted by <NAME>
; 1,1,3,10,36,137,543,2219,9285,39587,171369,751236,3328218,14878455,67030785,304036170,1387247580,6363044315,29323149825,135700543190,630375241380,2938391049395,13739779184085,644307... |
programs/oeis/040/A040360.asm | neoneye/loda | 22 | 43013 | ; A040360: Continued fraction for sqrt(380).
; 19,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38,2,38
mov $1,$0
cmp $0,0
sub $1,$0
gcd $1,2
add $1,16
add $0,$1
mul $0,$1
sub $0,168
add $... |
2018/hitconctf/abyss/exp1.asm | theKidOfArcrania/ctf-writeups | 5 | 43015 | # Stack = 0x2020A0
#
0 # padding
ASM
# Open flag file
lea rdi, [rip + flag]
xor esi, esi # O_RDONLY
mov eax, 2
syscall
# Jump if error occured
mov ecx, eax
cmp ecx, 0
jl exit
mov edi, eax
mov rsi, rsp
mov edx, 0x100
mov eax, 0
syscall
mov ecx, eax
cmp ecx, 0
jl exit
mov ed... |
floatAddition.asm | kohnewlife/MIPS | 1 | 43016 | # Integers to IEEE 754 single-precision floating-point numbers conversion
# <NAME>
# Data Memory Section
.data
float1: .asciiz "\nEnter the first number to add: "
.align 2
float2: .asciiz "Enter the second number to add: "
.align 2
result: .asciiz "Result: "
.align 2
mentisa:.word 0x00800000
.align 2
new_line:
.... |
filtros/nonMaxSup_asm.asm | partu18/edge_detection_algorithm_SIMD | 0 | 43017 | global nonMaxSup_asm
section .data
mask50: DW 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x32
section .text
nonMaxSup_asm:
; rdi --> puntero a grd
; rsi --> puntero a ang
; rdx --> puntero a dst
; rcx --> m (cantidad de filas)
; r8 --> n (cantidad de columnas)
; r9 --> grd_row_size
; pila --> ang_r... |
libsrc/_DEVELOPMENT/target/rc2014/device/acia/acia_putc.asm | RC2014Z80/z88dk | 8 | 43018 | <filename>libsrc/_DEVELOPMENT/target/rc2014/device/acia/acia_putc.asm
SECTION code_driver
SECTION code_driver_character_output
PUBLIC _acia_putc
EXTERN ACIA_STATUS_ADDR, ACIA_RDRF, ACIA_DATA_ADDR, ACIA_TX_SIZE
EXTERN ACIA_TDRE, ACIA_TX_SIZE, ACIA_TEI_MASK, ACIA_TEI_RTS0, ACIA_CTRL_ADDR
E... |
oeis/153/A153008.asm | neoneye/loda-programs | 11 | 43019 | <reponame>neoneye/loda-programs<filename>oeis/153/A153008.asm<gh_stars>10-100
; A153008: Catalan number A000108(n) minus Motzkin number A001006(n).
; Submitted by <NAME>
; 0,0,0,1,5,21,81,302,1107,4027,14608,52988,192501,701065,2560806,9384273,34504203,127288011,471102318,1749063906,6513268401,24323719461,91081800417,3... |
001 - Multiples of 3 and 5/001 - Multiples_of_3_and_5.asm | LanguageAdventures/Project-Euler-Assembly | 0 | 43020 | format PE console
include "win32ax.inc"
start:
mov ecx, 999 ; load the start number to counter
.loop:
xor edx, edx ; reset edx. we want 32 bit result, so we are doing 64 bit division
mov eax, ecx ; prepare division
mov ebx, 3 ; load first divisor (3)
div ebx ; divide
cmp edx, 0 ; check if there is r... |
programs/oeis/321/A321813.asm | neoneye/loda | 22 | 43022 | <gh_stars>10-100
; A321813: Sum of 9th powers of odd divisors of n.
; 1,1,19684,1,1953126,19684,40353608,1,387440173,1953126,2357947692,19684,10604499374,40353608,38445332184,1,118587876498,387440173,322687697780,1953126,794320419872,2357947692,1801152661464,19684,3814699218751,10604499374,7625984925160,40353608,145071... |
opal/mca/pmix/pmix2x/pmix/src/atomics/asm/base/MIPS.asm | karasevb/ompi | 0 | 43023 | START_FILE
#ifdef __linux__
#include <sys/asm.h>
#else
#include <asm.h>
#endif
#include <regdef.h>
TEXT
ALIGN(8)
LEAF(pmix_atomic_mb)
#ifdef __linux__
.set mips2
#endif
sync
#ifdef __linux__
.set mips0
#endif
j ra
END(pmix_atomic_mb)
ALIGN(8)
LEAF(pmix_atomic_rmb)
#ifdef __linux__
.set mips2
#endif
sync
#... |
libmikeos/src.os/__lcoml.asm | mynameispyo/InpyoOS | 0 | 43024 | <reponame>mynameispyo/InpyoOS
section .text
use16
; (signed, unsigned) bx:ax = ~bx:ax
global lcoml
global lcomul
lcoml:
lcomul:
push bx
push ax
pop eax
not eax
push eax
pop ax
pop bx
ret
|
programs/oeis/332/A332192.asm | neoneye/loda | 22 | 43025 | <filename>programs/oeis/332/A332192.asm
; A332192: a(n) = 10^(2n+1) - 1 - 7*10^n.
; 2,929,99299,9992999,999929999,99999299999,9999992999999,999999929999999,99999999299999999,9999999992999999999,999999999929999999999,99999999999299999999999,9999999999992999999999999,999999999999929999999999999,99999999999999299999999999... |
programs/oeis/019/A019741.asm | neoneye/loda | 22 | 43026 | ; A019741: Decimal expansion of e/4.
; 6,7,9,5,7,0,4,5,7,1,1,4,7,6,1,3,0,8,8,4,0,0,7,1,8,6,7,8,3,8,1,6,5,6,2,4,4,3,9,3,1,1,7,7,3,4,2,4,9,8,9,8,9,3,7,4,1,7,4,1,9,0,6,9,3,1,0,1,9,1,5,7,5,8,8,3,8,6,8,9,8,6,4,2,8,4,5,5,4,4,6,3,1,2,9,1,6,0,6,8
add $0,1
mov $3,$0
mul $3,5
lpb $3
sub $2,2
mul $2,$3
add $1,$2
mov $5,$... |
tests/cc_complicated.asm | Liqi1003/lc3_vscode | 2 | 43027 | .ORIG x3000
; TEST: Complicated condition code
START
BRn LABEL
MIDDLE
BRn IMPOSSIBLE
LABEL
BRnzp END
IMPOSSIBLE
BRnp MIDDLE
HALT
END
HALT
.END
|
oeis/093/A093898.asm | neoneye/loda-programs | 11 | 43028 | ; A093898: Triangle read by rows: T(n,r) = n^r + r^n (1 <= r <= n).
; Submitted by <NAME>
; 2,3,8,4,17,54,5,32,145,512,6,57,368,1649,6250,7,100,945,5392,23401,93312,8,177,2530,18785,94932,397585,1647086,9,320,7073,69632,423393,1941760,7861953,33554432,10,593,20412,268705,2012174,10609137,45136576
lpb $0
add $1,1
s... |
data/pokemon/dex_entries/beedrill.asm | AtmaBuster/pokeplat-gen2 | 6 | 43029 | <reponame>AtmaBuster/pokeplat-gen2
db "POISON BEE@" ; species name
db "It uses sharp,"
next "poisonous stings"
next "to defeat prey,"
page "then takes the"
next "victim back to its"
next "nest for food.@"
|
audio/sfx/unused_fanfare.asm | opiter09/ASM-Machina | 1 | 43030 | ; This corresponds to SFX_KEY_ITEM in pokegold and pokecrystal.
SFX_UnusedFanfare_Ch5: ; unreferenced
execute_music
tempo 256
volume 7, 7
vibrato 6, 2, 6
duty_cycle 2
toggle_perfect_pitch
note_type 6, 11, 1
octave 3
note G#, 2
note G#, 2
note_type 6, 11, 3
note G#, 2
note B_, 2
octave 4
note E_, 8
sound... |
src/util/oli/ri/rfpnint.asm | olifink/qspread | 0 | 43031 | ; round fp to nearest long int 24/09-92 O.Fink
;
include win1_keys_qlv
include win1_mac_oli
section utility
xdef ut_fpint ; int(fp)
;+++
; round fp to nearest long int
;
; Entry Exit
; a1,a6.l stack ... |
oeis/021/A021826.asm | neoneye/loda-programs | 11 | 43032 | <filename>oeis/021/A021826.asm
; A021826: Decimal expansion of 1/822.
; Submitted by Jon Maiga
; 0,0,1,2,1,6,5,4,5,0,1,2,1,6,5,4,5,0,1,2,1,6,5,4,5,0,1,2,1,6,5,4,5,0,1,2,1,6,5,4,5,0,1,2,1,6,5,4,5,0,1,2,1,6,5,4,5,0,1,2,1,6,5,4,5,0,1,2,1,6,5,4,5,0,1,2,1,6,5,4,5,0,1,2,1,6,5,4,5,0,1,2,1,6,5,4,5,0,1
seq $0,199685 ; a(n) = 5... |
MIPS_Course/lab5/build.asm | akellermann97/college-dump | 0 | 43034 | <reponame>akellermann97/college-dump<filename>MIPS_Course/lab5/build.asm
# File: build.asm
# Author: <NAME>
# Contributors: <NAME>,
# <NAME>,
# <NAME>
#
# Description: Binary tree building functions.
#
# Revisions: $Log$
.text # this is program code
.align 2 # instructions must be on word boundaries
#
# Nam... |
kUtils.asm | satadriver/LiunuxOS | 0 | 43035 | .386p
;comment @
;include mymacro.asm
;comment
Kernel Segment public para use32
assume cs:Kernel
;param:string
__hexstr2int proc
push ebp
mov ebp,esp
push edx
push esi
sub esp,40h
push ss:[ebp + 8]
call __strlen
add esp,4
mov edx,0
cmp eax,8
ja _hexstr2intover
cmp eax,0
jbe _hexst... |
libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/asm_SMSlib_getMDKeysStatus.asm | jpoikela/z88dk | 640 | 43036 | <reponame>jpoikela/z88dk
; **************************************************
; SMSlib - C programming library for the SMS/GG
; ( part of devkitSMS - github.com/sverx/devkitSMS )
; **************************************************
INCLUDE "SMSlib_private.inc"
SECTION code_clib
SECTION code_SMSlib
PUBLIC asm_SMSlib_... |
common/pubdef.asm | DigitalMars/optlink | 28 | 43037 | <reponame>DigitalMars/optlink<filename>common/pubdef.asm
TITLE PUBDEF - Copyright (c) SLR Systems 1994
INCLUDE MACROS
INCLUDE SYMBOLS
INCLUDE SEGMENTS
INCLUDE CDDATA
PUBLIC PUBDEF,PUBDEF32,LPUBDF32,LPUBDF
.DATA
EXTERNDEF PUB_SIZE:BYTE,PUB_TYPE:BYTE
EXTERNDEF SYM_HASH_MOD:DWORD,DEFAULT_SIZE:DWORD... |
test/jzas/sintactic/valid/success07.asm | scoffey/jz80sim | 1 | 43038 | <reponame>scoffey/jz80sim
; dados 2 vectores, copiar en un tercero las posiciones pars alternadas
; dejando en cant_elem la cantidad de elementos copiados
aseg
org 100h
inicio ld c, 0
ld a, c1-c2
... |
data/moves/critical_hit_moves.asm | Karkino/KarkCrystal16 | 0 | 43039 | <gh_stars>0
CriticalHitMoves:
dw KARATE_CHOP
dw RAZOR_WIND
dw CUT
dw RAZOR_LEAF
dw CRABHAMMER
dw SLASH
dw AEROBLAST
dw CROSS_CHOP
dw STONE_EDGE
dw -1
|
Library/User/Proc/procManager.asm | steakknife/pcgeos | 504 | 43041 | <filename>Library/User/Proc/procManager.asm
COMMENT @----------------------------------------------------------------------
Copyright (c) GeoWorks 1988 -- All Rights Reserved
PROJECT: PC GEOS
MODULE: UserInterface/Proc
FILE: procManager.asm
REVISION HISTORY:
Name Date Description
---- ---- ---------... |
oeis/288/A288963.asm | neoneye/loda-programs | 11 | 43042 | ; A288963: Number of 5-cycles in the n X n rook graph.
; Submitted by <NAME>
; 0,0,36,288,1320,4464,12348,29568,63504,125280,230868,402336,669240,1070160,1654380,2483712,3634464,5199552,7290756,10041120,13607496,18173232,23951004,31185792,40158000,51186720,64633140,80904096,100455768,123797520
mov $1,$0
pow $0,2
add $... |
libsrc/fcntl/msxdos2/chdir.asm | jpoikela/z88dk | 640 | 43043 | SECTION code_clib
INCLUDE "target/msx/def/msxdos2.def"
PUBLIC chdir
PUBLIC _chdir
EXTERN MSXDOS
EXTERN msxdos_error
; (char *)
chdir:
_chdir:
pop bc
pop de ;directory
push de
push bc
ld c,_CHDIR
call MSXDOS
ld (msxdos_error),a
ld hl,0
and a
ret z
dec hl
ret
|
Library/Spell/ICS/spell.asm | steakknife/pcgeos | 504 | 43044 | <reponame>steakknife/pcgeos
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Copyright (c) GeoWorks 1991 -- All Rights Reserved
PROJECT: Spell Check library
FILE: spell.asm
AUTHOR: <NAME>, Feb 4, 1991
ROUTINES:
Name Description
---- -----------
REVISION HISTORY... |
chap18/ex23/decompress_vbmi.asm | JamesType/optimization-manual | 374 | 43045 | <gh_stars>100-1000
;
; Copyright (C) 2021 by Intel Corporation
;
; Permission to use, copy, modify, and/or distribute this software for any
; purpose with or without fee is hereby granted.
;
; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED W... |
Source/Levels/L0602.asm | AbePralle/FGB | 0 | 43046 | <gh_stars>0
; L0602.asm
; Generated 10.25.2000 by mlevel
; Modified 10.25.2000 by <NAME>
INCLUDE "Source/Defs.inc"
INCLUDE "Source/Levels.inc"
VAR_FIRE EQU 0
FIRE_INDEX EQU 24
;---------------------------------------------------------------------
SECTION "Level0602Section",ROMX
;------------------------------------... |
test/paddd.asm | killvxk/AssemblyLine | 147 | 43049 | SECTION .text
GLOBAL test
test:
paddd xmm0, xmm0
paddd xmm0, xmm1
paddd xmm0, xmm2
paddd xmm0, xmm3
paddd xmm0, xmm4
paddd xmm0, xmm5
paddd xmm0, xmm6
paddd xmm0, xmm7
paddd xmm0, xmm8
paddd xmm0, xmm9
paddd xmm0, xmm10
paddd xmm0, xmm11
paddd xmm0, xmm12
paddd xmm0, xmm13
paddd xmm0, xmm14
paddd xmm0, xmm15
paddd xmm... |
src/tiles.asm | matanui159/gb_shmup | 1 | 43051 | <reponame>matanui159/gb_shmup
section "tiles", rom0
; ```
; tiles_init()
; ```
tiles_init::
ld bc, tile_data
ld de, tile_data.end
ld hl, $8000
jp mem_copy
tile_data:
ds $10
include "res/background.inc"
include "res/player.inc"
.end:
|
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2110.asm | ljhsiun2/medusa | 9 | 43052 | <reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_2110.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r13
push %rbx
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_A_ht+0x10f55, %r11
nop
nop
nop
nop
and %r13, %r13
mov $0x6162636465666768, %rdi
movq ... |
45/qb/ir/ssrec.asm | minblock/msdos | 0 | 43053 | <reponame>minblock/msdos
page 49,132
TITLE ssrec - Scan support for records
;***
;ssrec.asm - Scan support for records
;
; Copyright <C> 1986, Microsoft Corporation
;
;
;****************************************************************************
.xlist
include version.inc
SSREC_ASM = ON
IncludeOnce context
Incl... |
examples/simon_says/resources/snesgss/export/sounds.asm | undisbeliever/snesdev-common | 3 | 43054 | <reponame>undisbeliever/snesdev-common
;this file generated with SNES GSS tool
.define SFX_BUTTON_B 0
.define SFX_WRONG_X 1
.define SFX_GAME_OVER 2
.define SFX_WRONG_A 3
.define SFX_BUTTON_Y 4
.define SFX_WRONG_B 5
.define SFX_SCORE_POINT 6
.define SFX_BUTTON_X 7
.define SFX_WRONG_Y 8
.define SFX_BUTTON_A 9
.section... |
smsq/qpc/dos/open.asm | olifink/smsqe | 0 | 43055 | <reponame>olifink/smsqe<filename>smsq/qpc/dos/open.asm
; Open DOS V1.01 2000 <NAME>
;
; 2019-04-07 1.01 Adapted for new QPC2v5 DOS driver
section dos
xdef dos_open
xref iou_achb
xref iou_rchb
include 'dev8_keys_err'
include 'dev8_keys_sys'
include 'dev8_keys_chn'
include 'dev8_keys_iod'
includ... |
m8cc/libraries/xsprites/xsprite.asm | paulscottrobson/cerberus-2080 | 1 | 43056 | <reponame>paulscottrobson/cerberus-2080<filename>m8cc/libraries/xsprites/xsprite.asm
; *********************************************************************************************
; *********************************************************************************************
;
; Name: xsprite.asm
; Purpose: XOR Spr... |
programs/oeis/030/A030106.asm | neoneye/loda | 22 | 43057 | ; A030106: Base 7 reversal of n (written in base 10).
; Coded manually 2021-03-02 by <NAME>, https://github.com/neoneye
; 0,1,2,3,4,5,6,1,8,15,22,29,36,43,2,9,16,23,30,37,44,3,10,17,24,31,38,45,4,11,18,25,32,39,46,5,12,19,26,33,40,47,6,13,20,27,34,41,48,1,50,99,148,197,246,295,8,57,106,155,204,253,302,15,64,113,162,211... |
libsrc/_DEVELOPMENT/target/rc2014/device/sio/__sio_need.asm | jpoikela/z88dk | 640 | 43058 | <reponame>jpoikela/z88dk<gh_stars>100-1000
; Generate references to any portions of SIO
; code that must be part of every compile that
; uses the SIO
PUBLIC _sio_need
EXTERN _sio_init
defc _sio_need = _sio_init
; The SIO must be initialized before main is called
SECTION code_crt_in... |
chip8/kas/examples/blink.asm | thaolt/c8basic | 4 | 43059 | <gh_stars>1-10
include 'c8.asm'
org 0x200
jmp _start
_global:
.cursor:
db 11111000b
_start:
cls
mov I, _global.cursor
mov v1, 0 ; x
mov v2, 6 ; y
mov v3, 30 ; delay period 1/2 sec.
mov v5, 0 ; x = 0 for draw character
mov v6, 0 ; cursor need redraw?
.loop:
mov v4, 0 ; key scanner
mov v0, dtm
... |
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1378.asm | ljhsiun2/medusa | 9 | 43060 | <filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1378.asm<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r11
push %r14
push %r9
push %rax
push %rbx
push %rdx
lea addresses_UC_ht+0x134df, %r11
nop
nop
nop
sub $56894, %r9
mov (%r11), %ebx
nop
nop
inc %rdx
lea addresses_n... |
oeis/262/A262248.asm | neoneye/loda-programs | 11 | 43061 | ; A262248: Number of intersections of diagonals in the interior of a regular p-gon where p is the n-th prime.
; Submitted by <NAME>(s3)
; 0,0,5,35,330,715,2380,3876,8855,23751,31465,66045,101270,123410,178365,292825,455126,521855,766480,971635,1088430,1502501,1837620,2441626,3464840,4082925,4421275,5160610,5563251,6438... |
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1121.asm | ljhsiun2/medusa | 9 | 43062 | <reponame>ljhsiun2/medusa<gh_stars>1-10
.global s_prepare_buffers
s_prepare_buffers:
push %r11
push %r15
push %rbp
push %rdi
lea addresses_D_ht+0xc3c3, %rbp
nop
nop
xor %rdi, %rdi
mov $0x6162636465666768, %r11
movq %r11, %xmm1
and $0xffffffffffffffc0, %rbp
vmovntdq %ymm1, (%rbp)
nop
nop
nop
nop
cmp %r15, %r15
pop %rdi
... |
Transynther/x86/_processed/NC/_ht_zr_/i3-7100_9_0x84_notsx.log_21829_920.asm | ljhsiun2/medusa | 9 | 43063 | <reponame>ljhsiun2/medusa
.global s_prepare_buffers
s_prepare_buffers:
push %r13
push %r14
push %r15
push %rax
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_WC_ht+0xf2b7, %rsi
lea addresses_WC_ht+0x9457, %rdi
clflush (%rsi)
nop
nop
nop
nop
nop
add $47710, %r14
mov $16, %rcx
rep movsb
nop
and %r15, %r15
lea addr... |
solutions/67 - Decimal Doubler/size-25_speed-131.asm | behrmann/7billionhumans | 45 | 43064 | -- 7 Billion Humans (2053) --
-- 67: Decimal Doubler --
-- Author: Tiza59
-- Size: 25
-- Speed: 131
step s
if s != button:
pickup c
mem3 = set myitem
step s
a:
drop
step se
step nw
if mem3 == 0 or
mem3 == 5:
mem2 = set 0
endif
if mem3 == 1 or
mem3 == 6:
mem2 = set 2
endif
if mem3 == 2 or
mem3 ==... |
oeis/147/A147748.asm | neoneye/loda-programs | 11 | 43066 | <reponame>neoneye/loda-programs<filename>oeis/147/A147748.asm
; A147748: Row sums of Riordan array ((1-3x+x^2)/(1-4x+3x^2), x(1-2x)/(1-4x+3x^2)).
; Submitted by <NAME>
; 1,2,6,20,70,250,900,3250,11750,42500,153750,556250,2012500,7281250,26343750,95312500,344843750,1247656250,4514062500,16332031250,59089843750,213789062... |
Tareas/T4/A/src/teclado_matricial.asm | moisotico/Microprocesadores | 0 | 43067 |
; <NAME>
; 15-06-2020
; IE0623: Microprocesadores
; Tarea 4: teclado matricial
#include registers.inc
; *****************************************************************************
; Data Structures
; *****************************************************************************
CR: ... |
reversing/01-basic-asm/snippet.asm | cscosu/ctf0 | 0 | 43068 | # This file is in AT&T syntax - see http://www.imada.sdu.dk/Courses/DM18/Litteratur/IntelnATT.htm
# and http://en.wikipedia.org/wiki/X86_assembly_language#Syntax. Both gdb and objdump produce
# AT&T syntax by default.
MOV $24355,%ebx
MOV $29544,%eax
MOV $25830,%ecx
CMP %eax,%ebx
JL L1
JMP L2
L1:
IMUL %eax,%ebx
ADD %eax... |
oeis/308/A308329.asm | neoneye/loda-programs | 11 | 43069 | <gh_stars>10-100
; A308329: Even moments of the trace of elements of the binary icosahedral group.
; Submitted by <NAME>
; 1,1,2,5,14,42,133,442,1534,5525,20502,77826,300357,1172770,4616054,18267797,72556958,288881562,1152001669,4598779210,18370959022,73420590101,293516780262,1173633626610,4693399603269,18770627198002,... |
lampmantlecone.asm | fcard/z3randomizer | 0 | 43070 | <filename>lampmantlecone.asm
;================================================================================
; Lamp Mantle & Light Cone Fix
;--------------------------------------------------------------------------------
; Output: 0 for darkness, 1 for lamp cone
;-----------------------------------------------------... |
programs/oeis/010/A010912.asm | neoneye/loda | 22 | 43072 | ; A010912: Pisot sequences E(3,7), P(3,7).
; 3,7,16,37,86,200,465,1081,2513,5842,13581,31572,73396,170625,396655,922111,2143648,4983377,11584946,26931732,62608681,145547525,338356945,786584466,1828587033,4250949112,9882257736,22973462017,53406819691,124155792775,288627200960,670976837021,1559831901918,3626169232672,842... |
oeis/259/A259290.asm | neoneye/loda-programs | 11 | 43073 | <reponame>neoneye/loda-programs<gh_stars>10-100
; A259290: Number of (n+1) X (1+1) 0..1 arrays with each 2 X 2 subblock having clockwise pattern 0001 0101 or 0111.
; Submitted by <NAME>(s2.)
; 10,26,66,170,434,1114,2850,7306,18706,47930,122754,314474,805490,2063386,5285346,13538890,34680274,88835834,227556930,582900266... |
gwnum/r4dwpn5.asm | Kasual/GIMPS | 0 | 43074 | ; Copyright 2010-2012 Mersenne Research, Inc. All rights reserved
; Author: <NAME>
; Email: <EMAIL>
;
; These FFTs were split out of r4dwpn.asm because of MASM limitations.
;
TITLE setup
IFNDEF X86_64
.686
.XMM
.MODEL FLAT
ENDIF
xfft_type TEXTEQU <r4dwpn>
INCLUDE unravel.mac
INCLUDE extrn.mac
INCLUDE xarch.... |
UefiCpuPkg/CpuMpPei/X64/MpFuncs.nasm | JayLeeCompal/EDKII_Git | 1 | 43075 | ;------------------------------------------------------------------------------ ;
; Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
; This program and the accompanying materials
; are licensed and made available under the terms and conditions of the BSD License
; which accompanies this distribution.... |
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_910.asm | ljhsiun2/medusa | 9 | 43076 | <filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_910.asm
.global s_prepare_buffers
s_prepare_buffers:
push %r10
push %r15
push %r8
push %r9
push %rcx
push %rdi
push %rdx
push %rsi
lea addresses_UC_ht+0x1cd91, %rsi
sub $48069, %rcx
mov (%rsi), %r10d
nop
nop
nop
nop
nop
sub %r8, %r8
lea ad... |
Verilog_Projects/single_cycle_processor/Additional/test2.asm | arifBurakDemiray/TheCodesThatIWrote | 1 | 43077 | <filename>Verilog_Projects/single_cycle_processor/Additional/test2.asm<gh_stars>1-10
#This program test the sub,and,add,lw,bltz,bgtz,bne
.text
.globl main
main:
li $a0,16
li $t6,311
li $t5,5
#####################
LoadUpAgain:
sub $t3,$a0,$t5
bltz $t3,Bye
LoadAgain:
move $t5,$t6#in verilog I loaded s0 with 1c t... |
oeis/001/A001517.asm | neoneye/loda-programs | 11 | 43078 | <filename>oeis/001/A001517.asm
; A001517: Bessel polynomials y_n(x) (see A001498) evaluated at 2.
; Submitted by <NAME>(s3)
; 1,3,19,193,2721,49171,1084483,28245729,848456353,28875761731,1098127402131,46150226651233,2124008553358849,106246577894593683,5739439214861417731,332993721039856822081,20651350143685984386753,13... |
boot/kernel_stub.asm | zapstar/metios | 0 | 43079 | ;*******************************************************************************
; NAME: kernel_stub.asm
;
; Kernel Stub
;*******************************************************************************
; The code should be organized at 0x100000 (1 MB)
org 0x100000
; 32-bit code (protected mode)
bits 32
jmp main
; Imp... |
oeis/022/A022347.asm | neoneye/loda-programs | 11 | 43080 | <reponame>neoneye/loda-programs
; A022347: Fibonacci sequence beginning 0, 13.
; Submitted by <NAME>
; 0,13,13,26,39,65,104,169,273,442,715,1157,1872,3029,4901,7930,12831,20761,33592,54353,87945,142298,230243,372541,602784,975325,1578109,2553434,4131543,6684977,10816520,17501497,28318017,45819514,74137531,119957045,194... |
src/test/ref/inline-asm-clobber-none.asm | jbrandwood/kickc | 2 | 43081 | // Tests that inline ASM JSR clobbers all registers
// Commodore 64 PRG executable file
.file [name="inline-asm-clobber-none.prg", type="prg", segments="Program"]
.segmentdef Program [segments="Basic, Code, Data"]
.segmentdef Basic [start=$0801]
.segmentdef Code [start=$80d]
.segmentdef Data [startAfter="Code"]
.segm... |
a/Assembler m68000 amigaos.asm | rojenzaman/hello-world | 8,076 | 43082 |
ExecBase = 4
OpenLibrary = -552
CloseLibrary = -414
PutStr = -948
section "main", code
move.l ExecBase, a6
lea lib, a1
moveq #0, d0
jsr (OpenLibrary, a6)
move.l d0, a6
move.l #msg, d1
jsr (PutStr, a6)
move.l a6, a1
move.l ExecBase, a6
jsr (CloseLibrary, a6)
moveq #0, d0
rts
lib dc.b "... |
src/third_party/nasm/test/prefixsym.asm | Mr-Sheep/naiveproxy | 2,219 | 43083 | ; The FIRST definition of prefixes win, so more specific first
%pragma win64 gprefix W64_
%pragma win gprefix W_
%pragma elf gprefix
%pragma elf lprefix .L.
%pragma output gprefix _
%pragma output lprefix L.
extern malloc
global call_malloc
call_malloc:
call malloc
ret
myfunc:
jmp call_malloc
|
programs/oeis/096/A096383.asm | karttu/loda | 1 | 43084 | ; A096383: Area of the Pythagorean triangle a = u^2 - v^2 (cf. A096382) when u=3, v=4,4,5,...
; 84,240,486,840,1320,1944,2730,3696,4860,6240,7854,9720,11856,14280,17010,20064,23460,27216,31350,35880,40824,46200,52026,58320,65100,72384,80190,88536,97440,106920,116994,127680,138996,150960,163590
mov $1,$0
add $1,6
mul $... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.