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
projects/04/mult/mult.asm
UrielX/nand2tetris
0
202322
<reponame>UrielX/nand2tetris // 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.)...
platforms/m3/pre_v12/compiled_prog_testinglab/haltTX/SRAM_test_0.asm
lab11/M-ulator
19
202323
SRAM_test_0/SRAM_test_0.elf: file format elf32-littlearm Disassembly of section .text: 00000000 <hang-0x90>: 0: 00002000 .word 0x00002000 4: 000000a1 .word 0x000000a1 ... 1c: 00000090 .word 0x00000090 20: 00000090 .word 0x00000090 24: 00000090 .word 0x00000090 28: 00000090 .word 0x00000090 ...
libsrc/_DEVELOPMENT/adt/wv_stack/c/sdcc_iy/wv_stack_init.asm
jpoikela/z88dk
640
202325
; wv_stack_t *wv_stack_init(void *p, size_t capacity, size_t max_size) SECTION code_clib SECTION code_adt_wv_stack PUBLIC _wv_stack_init EXTERN _w_vector_init defc _wv_stack_init = _w_vector_init
data/mapObjects/CinnabarLabTradeRoom.asm
AmateurPanda92/pokemon-rby-dx
9
202326
<reponame>AmateurPanda92/pokemon-rby-dx CinnabarLabTradeRoom_Object: db $17 ; border block db 2 ; warps warp 2, 7, 2, CINNABAR_LAB warp 3, 7, 2, CINNABAR_LAB db 0 ; signs db 3 ; objects object SPRITE_BLACK_HAIR_BOY_2, 3, 2, STAY, DOWN, 1 ; person object SPRITE_OLD_PERSON, 1, 4, STAY, NONE, 2 ; person object...
programs/oeis/006/A006071.asm
karttu/loda
0
202327
; A006071: Maximal length of rook tour on an n X n board. ; 1,4,14,38,76,136,218,330,472,652,870,1134,1444,1808,2226,2706,3248,3860,4542,5302,6140,7064,8074,9178,10376,11676,13078,14590,16212,17952,19810,21794,23904,26148,28526,31046,33708,36520,39482,42602 mov $2,$0 add $0,1 lpb $2,1 div $0,2 sub $3,$2 sub $0,$...
init.asm
furrykef/scan16demo
4
202328
; Taken from https://en.wikibooks.org/wiki/Super_NES_Programming/Initialization_Tutorial/Snes_Init ; Adjusted to work with ca65, and to suit to taste .smart .include "header.asm" .import __STACK_START__ .import __STACK_SIZE__ .segment "CODE" .a8 .i8 Init: sei ; Disabled interrupts clc ...
oeis/187/A187768.asm
neoneye/loda-programs
11
202330
<reponame>neoneye/loda-programs ; A187768: Decimal expansion of square root of 103. ; Submitted by <NAME> ; 1,0,1,4,8,8,9,1,5,6,5,0,9,2,2,1,9,4,6,8,6,4,8,5,2,0,1,1,8,9,3,5,8,7,4,3,8,3,5,8,1,9,2,2,5,0,1,8,8,8,4,0,6,6,5,2,2,5,3,6,5,0,9,2,0,6,1,1,4,0,3,8,2,2,7,0,0,5,1,7,5,0,5,6,4,1,3 mov $3,$0 lpb $3 mov $1,7 add $5,...
16-Little-Exterminator-2.size.asm
blueset/7bh-solutions
0
202331
<gh_stars>0 -- 7 Billion Humans -- -- 16: Little Exterminator 2 -- -- Size: 8/8 -- -- Speed: 13/10 -- a: if c != datacube: step s jump a endif pickup c b: if s != shredder: step e jump b endif giveto s
IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryT.nasm
CEOALT1/RefindPlusUDK
2,757
202332
;; @file ; Provide FSP API entry points. ; ; Copyright (c) 2016, 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. The full text of the license may b...
programs/oeis/269/A269111.asm
neoneye/loda
22
202334
; A269111: a(n) = length of the repeating part of row n of A288097. ; 2,3,2,2,3,2,2,3,2,2,2,2,2,2 lpb $0 pow $0,2 sub $0,1 mov $1,$0 div $0,10 cmp $1,0 lpe add $1,2 mov $0,$1
Driver/Printer/PrintCom/Cursor/cursorSetCursorAbsWP.asm
steakknife/pcgeos
504
202335
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1994 -- All Rights Reserved PROJECT: PC GEOS MODULE: Dedicated WP print drivers FILE: cursorSetCursorAbsWP.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- REVI...
snapgear_linux/lib/libgmp/mpn/x86/k6/diveby3.asm
impedimentToProgress/UCI-BlueChip
0
202336
# AMD K6 mpn_divexact_by3 -- mpn division by 3, expecting no remainder. # # K6: 11.0 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 Gener...
data/pokemon/base_stats/mightyena.asm
AtmaBuster/pokeplat-gen2
6
202337
<filename>data/pokemon/base_stats/mightyena.asm db 0 ; species ID placeholder db 70, 90, 70, 70, 60, 60 ; hp atk def spd sat sdf db DARK, DARK ; type db 255 ; catch rate db 128 ; base exp db NO_ITEM, PSNCUREBERRY ; items db GENDER_F50 ; gender ratio db 15 ; step cycles to hatch INCBIN "gfx/poke...
TeamProject/MindReader1_1.asm
SCGTall/Water
1
202338
############################################################################## # Program : MindReader Programmer: <NAME>, <NAME>, <NAME>, <NAME> # Due Date: 12/05/19 Last Modified:10/04/19 # Course: CS3340 Section:501 ############################################################################# # Description: # # Topi...
libsrc/_DEVELOPMENT/adt/b_array/c/sdcc_iy/b_array_append.asm
meesokim/z88dk
0
202339
<filename>libsrc/_DEVELOPMENT/adt/b_array/c/sdcc_iy/b_array_append.asm ; size_t b_array_append(b_array_t *a, int c) SECTION code_adt_b_array PUBLIC _b_array_append EXTERN asm_b_array_append _b_array_append: pop af pop hl pop bc push bc push hl push af jp asm_b_array_append
mbr/loader-2/user_program.asm
icecoobe/oslab
52
202340
<reponame>icecoobe/oslab<gh_stars>10-100 ;;============================================================================= ;; user_program.asm ;; ;; A sample user program for demostrating program loading. ;; There are two code segments, two data segments, one stack segment. ;; ;; Routine: ;; 1.execute 1st code segment u...
editNavMenu.asm
neilbaldwin/Pulsar
11
202341
editNavMenu: lda PAD1_sel beq @noSel @noSel: lda #$00 sta navMenuCursorX lda writeScreen beq @a jsr writeNavMenuScreen dec writeScreen beq @a jsr writeNavMenuHeaderFooter lda #$01 sta dmaUpdateHeader sta dmaUpdateTitle lda #$00 sta writeScreen @a: ;jsr globalKeys ;global keys lda wr...
src_64bit/get_encoding.asm
tedtheripper/EAN13-generator-hybrid
0
202342
; <NAME>, ARKO 2020L, x64_2, Final version ; EAN-13 Barcode Generator SECTION .data encoding: db "AAAAAAAABABBAABBABAABBBAABAABBABBAABABBBAAABABABABABBAABBABA", 60 SECTION .bss chosen_encodin: resb 20 SECTION .TEXT global get_encoding get_encoding: get_encoding_function: ;copies correct part of the en...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca_notsx.log_6778_1273.asm
ljhsiun2/medusa
9
202344
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rdi lea addresses_D_ht+0x19712, %rdi nop nop xor $45808, %r14 movw $0x6162, (%rdi) nop nop nop nop nop add $4336, %rdi pop %rdi pop %r14 pop %r13 ret .global s_faulty_load s_faulty_load: push %r11 push %r12 push %r15 push %rbp pu...
oeis/004/A004580.asm
neoneye/loda-programs
11
202345
; A004580: Expansion of sqrt(8) in base 5. ; Submitted by <NAME> ; 2,4,0,3,2,3,4,0,4,1,3,3,1,0,0,0,1,2,3,4,1,4,0,0,2,0,3,3,2,2,0,2,4,0,0,1,2,4,1,1,2,1,1,1,1,4,2,1,1,1,3,3,0,3,2,1,3,2,3,4,3,4,3,1,4,3,3,4,2,2,2,1,1,4,0,4,1,1,4,3,2,3,0,0,2,0,1,0,1,0,2,3,1,2,4,3,1,0,0,1 mov $1,1 mov $2,1 mov $3,$0 mul $3,4 lpb $3 mul $1...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_356.asm
ljhsiun2/medusa
9
202347
<filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0xca.log_21829_356.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x5cd, %r13 nop nop nop lfence and $0xffffffffffffffc0, %r13 movaps (%r13), %xmm7 vpex...
28-command-line-arguments/command-line-arguments.asm
gashev/assembly-examples
1
202348
extern exit extern printf SECTION .data str_argc: db 'argc = %d', 10, 0 str_argv: db 'argv[%d] = %s', 10, 0 SECTION .text GLOBAL _start _start: mov r10, [rsp] ; Print argc. mov rsi, r10 mov rdi, str_argc mov rax, 0 call printf mov r10, [rsp] mov r11, 0 mov r12, rsp ...
oeis/290/A290114.asm
neoneye/loda-programs
11
202349
; A290114: Decimal representation of the diagonal from the origin to the corner of the n-th stage of growth of the two-dimensional cellular automaton defined by "Rule 643", based on the 5-celled von Neumann neighborhood. ; 1,3,5,11,23,47,95,191,383,767,1535,3071,6143,12287,24575,49151,98303,196607,393215,786431,1572863...
hello/hello.asm
milochen0418/mac-os-x-nasm-practice
0
202350
<filename>hello/hello.asm<gh_stars>0 global _main section .text _main: mov rax,0x02000004 ; system call for write mov rdi,1 mov rsi,message mov rdx,14 ; the length of message is 14 syscall mov rax,0x02000001 ; system call for exit xor rdi,rdi sysc...
boot/32bit_print.asm
a-quelle/OSproject
0
202351
<gh_stars>0 [bits 32] VIDEO_MEMORY equ 0xb8000 ;start of VGA memory, org is not added WHITE_ON_BLACK equ 0x0f ;color for char in text mode ;parameters ebx contains address of char to print print_string_pm: pusha mov edx, VIDEO_MEMORY ;addresses take 32bit in 32bit mode 0_0 mov ah, WHITE_ON_BLACK print_string_p...
lab programs/Hardware/6b.asm
Amanskywalker/mp-lab
0
202352
;Convert a 16-bit binary value (assumed to be an unsigned integer) to bcd and ;display it from left to right and right to left for specified number of times ;on a 7-segment display interface .model small initds macro mov ax,@data mov ds,ax endm init8255 macro mov al,cw mov dx,cr out dx,al endm ...
Transynther/x86/_processed/AVXALIGN/_st_/i3-7100_9_0x84_notsx.log_21829_2821.asm
ljhsiun2/medusa
9
202353
.global s_prepare_buffers s_prepare_buffers: push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x18b60, %rsi lea addresses_A_ht+0x5450, %rdi dec %rbx mov $41, %rcx rep movsw nop nop nop nop nop dec %r15 pop %rsi pop %rdi pop %rcx pop %rbx pop %r15 ret .global s_faulty_load s_faulty_load: push %r...
libsrc/_DEVELOPMENT/arch/zx/graphics/c/sccz80/zx_pattern_fill_callee.asm
Frodevan/z88dk
640
202355
<filename>libsrc/_DEVELOPMENT/arch/zx/graphics/c/sccz80/zx_pattern_fill_callee.asm ; int zx_pattern_fill(uchar x, uchar y, void *pattern, uint depth) SECTION code_clib SECTION code_arch PUBLIC zx_pattern_fill_callee EXTERN asm_zx_pattern_fill zx_pattern_fill_callee: IF __CLASSIC ld hl,2 add hl,sp ld c,(...
s2e/qemu/roms/s2ebios/s2e-test-statemanager.asm
wyz7155/SymDrive
0
202356
[bits 32] msg_sm: db "FAILED - Must have only one state after the barrier", 0 msg_sminst: db "FAILED - Must have only one instance after the barrier", 0 s2e_sm_test: push 4 call s2e_fork_depth add esp, 4 call s2e_sm_succeed ;Wait for the state to stabilize ;(it takes a while for all process...
examples/pxScene2d/external/libnode-v6.9.0/deps/openssl/asm_obsolete/x64-win32-masm/sha/sha1-mb-x86_64.asm
madanagopaltcomcast/pxCore
5,964
202357
<reponame>madanagopaltcomcast/pxCore OPTION DOTNAME .text$ SEGMENT ALIGN(256) 'CODE' EXTERN OPENSSL_ia32cap_P:NEAR PUBLIC sha1_multi_block ALIGN 32 sha1_multi_block PROC PUBLIC mov QWORD PTR[8+rsp],rdi ;WIN64 prologue mov QWORD PTR[16+rsp],rsi mov rax,rsp $L$SEH_begin_sha1_multi_block:: mov rdi,rcx mov rsi,rdx ...
src/test/ref/union-1.asm
jbrandwood/kickc
2
202358
// Minimal union with C-Standard behavior - union nested inside struct // Commodore 64 PRG executable file .file [name="union-1.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .s...
programs/oeis/000/A000931.asm
ckrause/cm
22
202359
<reponame>ckrause/cm ; A000931: Padovan sequence (or Padovan numbers): a(n) = a(n-2) + a(n-3) with a(0) = 1, a(1) = a(2) = 0. ; 1,0,0,1,0,1,1,1,2,2,3,4,5,7,9,12,16,21,28,37,49,65,86,114,151,200,265,351,465,616,816,1081,1432,1897,2513,3329,4410,5842,7739,10252,13581,17991,23833,31572,41824,55405,73396,97229,128801,17062...
oeis/081/A081864.asm
neoneye/loda-programs
11
202362
; A081864: Sum of 5th powers of the divisors of odd numbers: a(n) = sigma_5(2n-1). ; 1,244,3126,16808,59293,161052,371294,762744,1419858,2476100,4101152,6436344,9768751,14408200,20511150,28629152,39296688,52541808,69343958,90595736,115856202,147008444,185349918,229345008,282492057,346445352,418195494,503448552,60416840...
Examples/ch06/ArryScan.asm
satadriver/LiunuxOS
0
202363
<filename>Examples/ch06/ArryScan.asm TITLE Scanning an Array (ArryScan.asm) ; Scan an array for the first nonzero value. ; Last update: 2/16/02 INCLUDE Irvine32.inc .data intArray SWORD 0,0,0,0,1,20,35,-12,66,4,0 ;intArray SWORD 1,0,0,0 ;intArray SWORD 0,0,0,0 ;intArray SWORD 0,0,0,1 noneM...
pwnlib/shellcraft/templates/amd64/linux/loader.asm
DrKeineLust/pwntools
8,966
202365
<% from pwnlib.shellcraft.amd64.linux import exit as exit from pwnlib.shellcraft.amd64.linux import mmap from pwnlib.shellcraft.amd64 import setregs, pushad, popad from pwnlib.shellcraft import common from pwnlib.util.packing import unpack %> <%page args="address"/> <%docstring> Loads a statically-...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_148.asm
ljhsiun2/medusa
9
202366
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x154c, %rsi lea addresses_UC_ht+0x1814c, %rdi add $26157, %r10 mov $67, %rcx rep movsl nop nop nop nop nop and %rdi, %rdi lea addresses_normal_ht+0x494c, %r...
sys/sdp/do.asm
olifink/smsqe
0
202368
<reponame>olifink/smsqe * Do dump V2.01  1987 <NAME> * section sdp * xdef sdp_do do screen dump xdef sdp_dosv do screen dump in supervisor mode * xref sdp_byte send byte xref sdp_sbuf send buffer xref sdp_ctrl ...
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca_notsx.log_21829_1683.asm
ljhsiun2/medusa
9
202369
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xb9e5, %rax nop nop xor $37377, %r13 movb $0x61, (%rax) nop nop nop nop nop inc %r8 lea addresses_A_ht+0x1b0dc, %rsi lea addresses_normal_ht+0xc70c, %rdi clflush (%rdi) nop xo...
programs/oeis/057/A057675.asm
neoneye/loda
22
202371
; A057675: 1 - (5/6)*n + (5/2)*n^2 + (10/3)*n^3 + n^4. ; 1,7,52,192,507,1101,2102,3662,5957,9187,13576,19372,26847,36297,48042,62426,79817,100607,125212,154072,187651,226437,270942,321702,379277,444251,517232,598852,689767,790657,902226,1025202,1160337,1308407,1470212,1646576,1838347,2046397,2271622,2514942,2777301,305...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1431.asm
ljhsiun2/medusa
9
202372
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xd3a0, %r9 nop nop nop nop xor %rdx, %rdx and $0xffffffffffffffc0, %r9 vmovaps (%r9), %ymm3 vextracti128 $0, %ymm3, %xmm3 vpextrq $0, %xmm3, %rdi nop and %rcx, %rcx lea addresses_WC_ht+0x...
Engine/ObjectManagement/SingleObjLoad.asm
wide-dot/thomson-to8-game-engine
11
202373
<reponame>wide-dot/thomson-to8-game-engine<filename>Engine/ObjectManagement/SingleObjLoad.asm * --------------------------------------------------------------------------- * Single object loading subroutine * Find an empty object array * * input REG : [u] pointeur sur l'objet courant * output REG : [x] pointeur sur ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_136.asm
ljhsiun2/medusa
9
202374
.global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x9397, %r14 nop nop nop cmp $14303, %rbx mov $0x6162636465666768, %r9 movq %r9, %xmm6 vmovups %ymm6, (%r14) nop nop nop nop sub $42958, %rcx lea addresses_A_ht+0x18def, %rsi lea addresses...
Examples/ch16/HelloCom.asm
satadriver/LiunuxOS
0
202375
TITLE Hello Program in COM format (HelloCom.asm) .model tiny .code org 100h ; must be before main main PROC mov ah,9 mov dx,OFFSET hello_message int 21h mov ax,4C00h int 21h main ENDP hello_message BYTE 'Hello, world!',0dh,0ah,'$' END main
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_2_406.asm
ljhsiun2/medusa
9
202376
.global s_prepare_buffers s_prepare_buffers: push %r8 push %r9 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xc019, %rdx nop and $7718, %r8 movups (%rdx), %xmm2 vpextrq $1, %xmm2, %r9 nop nop nop nop cmp %rbx, %rbx lea addresses_WC_ht+0xdc39, %rcx xor $20287, %rdi mov (%rcx), %rax nop...
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca.log_36_1119.asm
ljhsiun2/medusa
9
202378
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x7fac, %rcx nop nop nop nop add $19113, %rax movb $0x61, (%rcx) nop inc %r10 lea addresses_A_ht+0x1885c, %rsi lea addresses_UC_ht+0xc60c, %rdi clflush (%rdi) nop...
EDK_II/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSecLibRTSM/Arm/GicV3.asm
tomix86/efi-tetris
8
202379
// // Copyright (c) 2013, ARM Limited. All rights reserved. // // This program and the accompanying materials // are licensed and made available under the terms and conditions of the BSD License // which accompanies this distribution. The full text of the license may be found at // http://opensource.org/licenses/...
_anim/Press Start and TM.asm
kodishmediacenter/msu-md-sonic
9
202380
<filename>_anim/Press Start and TM.asm ; --------------------------------------------------------------------------- ; Animation script - "TM" and "PRESS START BUTTON" on the title screen ; --------------------------------------------------------------------------- Ani_PSBTM: dc.w @flash-Ani_PSBTM @flash: dc.b $1F, 0,...
0x05.asm
SpeedStepper/XchgRaxRax
0
202383
; This snippet, 0x05, allows you to check if a number, in rax, is between ; 5-9 using only one jump. Subtract 5 from a number and then jump if a number is below 4. ; Purpose: heavy usage of the flags register. ; Assemble with $ nasm -felf64 0x05.asm && ld 0x05.o && ./a.out global _start section .text _start: mov...
Transynther/x86/_processed/NONE/_st_/i7-8650U_0xd2_notsx.log_6572_353.asm
ljhsiun2/medusa
9
202384
<filename>Transynther/x86/_processed/NONE/_st_/i7-8650U_0xd2_notsx.log_6572_353.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_WC_ht+0xf30d, %r14 nop nop nop add $44577, %r13 mov $0x6162636465666768, %rsi movq %rsi, %xmm4 mov...
bdshemu_test/basic/test_64_branch1.asm
andreaswimmer/bddisasm
1
202386
bits 64 mov eax, 0xFFFFFFFF add eax, 1 ; Will set CF jc _skip lea rsi, [rel _skip] mov byte [rsi], 0xCC _skip: retn
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciyp_dstore.asm
jpoikela/z88dk
640
202387
SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdcciyp_dstore EXTERN cm48_sdcciyp_m482d cm48_sdcciyp_dstore: ; sdcc float primitive ; Store AC' to memory at address HL ; ; Convert from math48 to sdcc float format. ; ; enter : HL = float * (sdcc format) ; AC'= double (math48 forma...
opal/mca/pmix/pmix2x/pmix/src/atomics/asm/base/SPARCV9_64.asm
karasevb/ompi
0
202388
START_FILE TEXT ALIGN(4) START_FUNC(pmix_atomic_mb) !#PROLOGUE# 0 !#PROLOGUE# 1 membar #LoadLoad | #LoadStore | #StoreStore | #StoreLoad retl nop END_FUNC(pmix_atomic_mb) START_FUNC(pmix_atomic_rmb) !#PROLOGUE# 0 !#PROLOGUE# 1 membar #LoadLoad retl nop END_FUNC(pmix_atomic_rmb) START_FUNC(pmix_atomic...
src/code/header.asm
gb-archive/waveform-gb
0
202389
<reponame>gb-archive/waveform-gb<filename>src/code/header.asm SECTION "Entry", ROM0[$100] ; This is the entry point to the program. nop jp Init SECTION "Header", ROM0[$104] ; The header is created by rgbfix. ; The space here is allocated as a placeholder. ds $150 - $104
tests/optimizer/E006.asm
neoneye/loda
22
202390
; in mov $3,5 lpb $0,1 sub $0,1 lpe mov $4,$3 mov $2,7 mov $1,$2 ; out mov $3,5 lpb $0,1 sub $0,1 lpe mov $1,7 mov $2,7 mov $4,$3
oeis/185/A185298.asm
neoneye/loda-programs
11
202391
<reponame>neoneye/loda-programs ; A185298: Expansion of e.g.f. x*exp(x)*exp(x*exp(x)). ; Submitted by <NAME> ; 0,1,4,18,92,520,3222,21700,157544,1224576,10133450,88843084,821832156,7992373168,81458868974,867700216380,9636146477648,111323478770560,1335253363581330,16598183219157772,213488758730421380,2837046652845555696...
oeis/033/A033135.asm
neoneye/loda-programs
11
202392
; A033135: Base 8 digits are, in order, the first n terms of the periodic sequence with initial period 1,1,0. ; Submitted by <NAME>(s2) ; 1,9,72,577,4617,36936,295489,2363913,18911304,151290433,1210323465,9682587720,77460701761,619685614089,4957484912712,39659879301697,317279034413577,2538232275308616 seq $0,33144 ; B...
stackman/platforms/switch_x64_msvc.asm
kristjanvalur/stackman
4
202393
<gh_stars>1-10 ; ; stack switching code for MASM on x64 ; <NAME>, apr 2011 ; Modified for stackman, dec 2019 ; Added stackman_call, dec 2020 ; include macamd64.inc pop_reg MACRO reg pop reg ENDM load_xmm128 macro Reg, Offset movdqa Reg, Offset[rsp] endm .code ;arguments callback, context, are passed in rcx, rdx...
oeis/025/A025178.asm
neoneye/loda-programs
11
202394
<filename>oeis/025/A025178.asm ; A025178: First differences of the central trinomial coefficients A002426. ; Submitted by <NAME> ; 0,2,4,12,32,90,252,714,2032,5814,16700,48136,139152,403286,1171380,3409020,9938304,29017878,84844044,248382516,727971360,2135784798,6272092596,18435108258,54228499920,159636389850,470256930...
src/sprite/palettes.asm
RebelusQuo/sm_randomizer_rom
0
202396
incbin "data/palette_sepia.bin" -> $8CE569+2 incbin "data/palette_ship_intro.bin" -> $8CE689+2 incbin "data/palette_ship_glow.bin":(0*2)-(1*2) -> $8DCA4E+6+(0*6) incbin "data/palette_ship_glow.bin":(1*2)-(2*2) -> $8DCA4E+6+(1*6) incbin "data/palette_ship_glow.bin":(2*2)-(3*2) -> $8DCA4E+6+(2*6) incbin "data/pal...
programs/oeis/126/A126237.asm
neoneye/loda
22
202397
; A126237: Length of row n in table A126014. ; 1,2,1,2,2,3,3,3,2,3,3,3,3,4,4,4,4,4,4,4,3,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5,6,6,6,6,6,6,6 lpb $0 mov $2,$0 seq $2,291268 ; The arithmetic function v_3(n,2). ...
programs/oeis/071/A071355.asm
neoneye/loda
22
202398
<reponame>neoneye/loda ; A071355: a(n) = 2*n^2 + 11*n + 12. ; 3,12,25,42,63,88,117,150,187,228,273,322,375,432,493,558,627,700,777,858,943,1032,1125,1222,1323,1428,1537,1650,1767,1888,2013,2142,2275,2412,2553,2698,2847,3000,3157,3318,3483,3652,3825,4002,4183,4368,4557,4750,4947,5148,5353,5562,5775,5992,6213,6438,6667,6...
core86/dbg/Fibr.asm
JulesIMF/HCC_86
0
202399
; ; +-------------------------------------------------------------------------+ ; | This file was generated by The Interactive Disassembler (IDA) | ; | Copyright (c) 2021 Hex-Rays, <<EMAIL>> | ; | Freeware version | ; +--------------...
Transynther/x86/_processed/NONE/_ht_st_zr_un_xt_/i7-7700_9_0x48.log_21829_2632.asm
ljhsiun2/medusa
9
202400
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0xdaf1, %rdx nop nop dec %r15 mov $0x6162636465666768, %rsi movq %rsi, %xmm5 movups %xmm5, (%rdx) nop nop nop nop add %rdi, %rdi lea addresses_WT_ht+0x10071, %r8 nop nop nop cmp ...
libsrc/cpc/cpc_PrintGphStrXY2X_callee.asm
jpoikela/z88dk
640
202401
; ; Amstrad CPC library ; ; ****************************************************** ; ** Librería de rutinas para Amstrad CPC ** ; ** <NAME>, Artaburu 2009 ** ; ****************************************************** ; ; void cpc_PrintGphStrXY2X(char *, int x, int y) __smallc ; ; ...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_753.asm
ljhsiun2/medusa
9
202402
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r13 push %r14 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x118f7, %rsi nop nop nop cmp $63412, %r13 mov (%rsi), %r11 nop nop dec %r14 lea addresses_WC_ht+0x13817, %r10 nop nop nop nop nop inc %rbx mov (%r10), %rdx cmp $168...
MIPS/hw4.asm
qiyuanfang1998/CSE220Work
0
202403
<filename>MIPS/hw4.asm ############################################################## # Homework #4 # name: <NAME> # sbuid: 111054484 ############################################################## .text ############################## # PART 1 FUNCTIONS ############################## clear_board: #Define your cod...
Win asm/5/code.asm
NigrumAquila/win_asm
2
202404
<reponame>NigrumAquila/win_asm .386 .model flat,stdcall option casemap:none WinMain proto :DWORD, :DWORD, :DWORD, :DWORD EditProc1 proto :DWORD, :DWORD, :DWORD, :DWORD EditProc2 proto :DWORD, :DWORD, :DWORD, :DWORD EditProc3 proto :DWORD, :DWORD, :DWORD, :DWORD include C:\masm32\include\windows.inc include ...
oeis/214/A214092.asm
neoneye/loda-programs
11
202405
; A214092: Principal diagonal of the convolution array A213773. ; Submitted by <NAME>(s1) ; 1,23,102,274,575,1041,1708,2612,3789,5275,7106,9318,11947,15029,18600,22696,27353,32607,38494,45050,52311,60313,69092,78684,89125,100451,112698,125902,140099,155325,171616,189008,207537,227239,248150,270306,293743,318497,344604,...
programs/oeis/315/A315697.asm
neoneye/loda
22
202406
<reponame>neoneye/loda<filename>programs/oeis/315/A315697.asm ; A315697: Coordination sequence Gal.6.621.5 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,12,17,23,28,33,38,43,49,54,60,66,72,78,83,89,94,99,104,109,115,120,126,132...
oeis/048/A048777.asm
neoneye/loda-programs
11
202408
; A048777: First partial sums of A005409; second partial sums of A001333. ; Submitted by <NAME>(s1) ; 1,5,16,44,113,281,688,1672,4049,9789,23648,57108,137889,332913,803744,1940432,4684641,11309749,27304176,65918140,159140497,384199177,927538896,2239277016,5406092977,13051463021,31509019072,76069501220,183648021569,4433...
asm/disk_load.asm
jethrodaniel/os
1
202409
; vim: :set ft=nasm: [bits 16] ; Read `dh` sectors from disk `dl` into memory, starting at the second ; sector (in our case, after the bootloader). ; ; TODO: more generic ; disk_load: push dx ; preserve requested number of sectors across BIOS call mov ah, 0x02 ; BIOS read sector function mov al, dh ; read d...
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_un_/i7-7700_9_0x48.log_21829_2323.asm
ljhsiun2/medusa
9
202410
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x625d, %r11 nop nop nop nop nop dec %r10 mov (%r11), %r12 nop dec %rsi lea addresses_WT_ht+0x9ab7, %rsi lea addresses_A_ht+0x147b5, %rdi clflush (%rsi) no...
libsrc/ctype/asm_isprint.asm
meesokim/z88dk
0
202411
<gh_stars>0 ; asm_isprint PUBLIC asm_isprint EXTERN asm_isgraph ; determine if the char is printable ; enter : a = char ; exit : carry = not printable ; uses : f .asm_isprint cp 32 ret z jp asm_isgraph
Transynther/x86/_processed/US/_st_sm_/i9-9900K_12_0xca_notsx.log_21829_489.asm
ljhsiun2/medusa
9
202413
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r15 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1b353, %r15 nop nop nop add %r13, %r13 movl $0x61626364, (%r15) nop nop nop nop nop add $5938, %r8 lea addresses_D_ht+0xed13, %rdi nop nop dec %r12 vmovups (%rdi), %...
oeis/208/A208599.asm
neoneye/loda-programs
11
202414
; A208599: Number of 5-bead necklaces labeled with numbers -n..n not allowing reversal, with sum zero. ; Submitted by <NAME> ; 11,77,291,791,1761,3431,6077,10021,15631,23321,33551,46827,63701,84771,110681,142121,179827,224581,277211,338591,409641,491327,584661,690701,810551,945361,1096327,1264691,1451741,1658811,188728...
programs/oeis/121/A121255.asm
neoneye/loda
22
202415
<reponame>neoneye/loda ; A121255: Number of conjugated cycles composed of ten carbons in (n,n)-nanotubes in terms of the number of naphthalene units. ; 0,8,36,128,420,1320,4032,12064,35532,103360,297660,850128 mov $2,$0 add $2,1 lpb $0 sub $0,1 add $2,$1 add $1,$2 lpe mul $1,4 mov $0,$1
libsrc/graphics/undrawb.asm
andydansby/z88dk-mk2
1
202417
; ; Z88 Graphics Functions - Small C+ stubs ; ; Written around the Interlogic Standard Library ; ; Stubs Written by <NAME> - 30/9/98 ; ; ; $Id: undrawb.asm,v 1.3 2001/04/18 13:21:38 stefano Exp $ ; XLIB undrawb LIB drawbox LIB respixel ...
src/kernel/drivers/io/switch_cseg.asm
rostislav-nikitin/socOS
1
202418
<gh_stars>1-10 ;======================================================================================================================= ; ; ; Name: socOS (System On Chip Operation System) ...
project1.asm
justinba1010/CSCE212
2
202419
<gh_stars>1-10 ### <NAME> ### 00426510 ### Project 1 ### September 29 2018 ### Dr. <NAME> .data baseadd: .word 34, 5, 11, -12, 60, -2, 14, 71, 13, -27 string1: .asciiz "Index i [0~9]:\n" string2: .asciiz "Index j [0~9]:\n" string3: .asciiz "\n A[i]=" string4: .asciiz "\n A[j]=" string5: .asciiz "\n A[i]+A[...
oeis/118/A118946.asm
neoneye/loda-programs
11
202421
<filename>oeis/118/A118946.asm ; A118946: n-th (starting from the right) decimal digit of 12^n. ; Submitted by <NAME>(s2) ; 2,4,7,0,4,9,5,2,1,1,4,9,6,8,4,4,1,6,9,3,0,2,2,4,3,4,3,8,8,3,8,8,1,2,6,8,5,6,8,7,7,4,7,7,2,7,4,7,6,4,5,6,5,6,8,7,5,2,2,5,0,4,5,2,6,7,3,9,7,9,7,0,1,1,3,8,2,6,3,4,1,9,7,7,6,6,1,9,3,2,2,9,7,1,5,8,5,3,...
arcade-romhacking-framework/src/include/common/math.c.asm
zengfr/arcade-romhacking-framework
2
202422
<reponame>zengfr/arcade-romhacking-framework<filename>arcade-romhacking-framework/src/include/common/math.c.asm .file "math.c" | GNU C (GCC) version 4.8.0 (m68k-elf) | compiled by GNU C version 4.7.2, GMP version 4.2.4, MPFR version 2.4.1, MPC version 0.8 | GGC heuristics: --param ggc-min-expand=100 --param ggc-min-he...
programs/oeis/244/A244576.asm
neoneye/loda
22
202424
<reponame>neoneye/loda ; A244576: Sum of all proper divisors of all positive integers <= prime(n). ; 0,0,2,7,23,38,69,89,133,227,268,397,483,536,632,821,1018,1125,1355,1511,1633,1890,2077,2406,2906,3150,3263,3509,3680,3960,5026,5319,5854,6003,6909,7130,7761,8345,8681,9381,9986,10351,11456,11771,12212,12481,14128 seq $...
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_iy/cm48_sdcciy_cbrt_fastcall.asm
jpoikela/z88dk
640
202425
<reponame>jpoikela/z88dk ; float cbrt(float x) __z88dk_fastcall SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdcciy_cbrt_fastcall EXTERN cm48_sdcciyp_dx2m48, am48_cbrt, cm48_sdcciyp_m482d cm48_sdcciy_cbrt_fastcall: call cm48_sdcciyp_dx2m48 call am48_cbrt jp cm48_sdcciyp_m482d
oeis/189/A189807.asm
neoneye/loda-programs
11
202426
<filename>oeis/189/A189807.asm ; A189807: Number of right triangles on an (n+1) X 3 grid. ; Submitted by <NAME>(s2) ; 14,44,94,158,238,330,434,550,678,818,970,1134,1310,1498,1698,1910,2134,2370,2618,2878,3150,3434,3730,4038,4358,4690,5034,5390,5758,6138,6530,6934,7350,7778,8218,8670,9134,9610,10098,10598,11110,11634,12...
math.asm
dopesky/Assembly
0
202427
<filename>math.asm %macro add_nums 2 ; adds 2 numbers from the top of the stack and stores the result in %1 pop eax pop ebx add eax, ebx mov edi, %1 jns .negative mov byte [edi], '-' inc edi neg eax .negative: call num2str sub edi, %1 mov [%2], edi int 80h %endmacro %macro subtract_nu...
oeis/105/A105635.asm
neoneye/loda-programs
11
202429
<gh_stars>10-100 ; A105635: a(n) = (2*Pell(n+1) - (1+(-1)^n))/4. ; Submitted by <NAME>(s3) ; 0,1,2,6,14,35,84,204,492,1189,2870,6930,16730,40391,97512,235416,568344,1372105,3312554,7997214,19306982,46611179,112529340,271669860,655869060,1583407981,3822685022,9228778026,22280241074,53789260175,129858761424,313506783024,...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_46_555.asm
ljhsiun2/medusa
9
202430
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r15 push %r9 push %rax push %rbp push %rdi // Store lea addresses_D+0x1a71a, %rbp nop nop nop nop cmp $25456, %rax movw $0x5152, (%rbp) nop cmp $3798, %r12 // Store lea addresses_PSE+0x4...
Userland/SampleCodeModule/asm/interrupts.asm
MarinaFuster/os-core
0
202431
<reponame>MarinaFuster/os-core<filename>Userland/SampleCodeModule/asm/interrupts.asm global int80 section .text %macro pushState 0 push rax push rbx push rcx push rdx push rbp push rdi push rsi push r8 push r9 push r10 push r11 push r12 push r13 push r14 push r15 %endmacro %macro popState 0 pop r15 ...
libsrc/_DEVELOPMENT/adt/w_array/z80/asm_w_array_capacity.asm
jpoikela/z88dk
640
202432
<reponame>jpoikela/z88dk<gh_stars>100-1000 ; =============================================================== ; Mar 2014 ; =============================================================== ; ; size_t w_array_capacity(w_array_t *a) ; ; Return the amount of space allocated for the array in words. ; ; =====================...
libsrc/_DEVELOPMENT/arch/zx/display/c/sccz80/zx_saddrpleft_callee.asm
jpoikela/z88dk
38
202433
; void *zx_saddrpleft(void *saddr, uchar bitmask) SECTION code_clib SECTION code_arch PUBLIC zx_saddrpleft_callee EXTERN asm_zx_saddrpleft zx_saddrpleft_callee: pop hl pop de ex (sp),hl jp asm_zx_saddrpleft
a1p3.asm
realspal/8086-assembly-programs
1
202435
;Program to accept a string and print it .model small .stack 100h .data msg db 'Enter your name : $' arr db 50 dup('$') .code main proc mov ax,@data mov ds,ax mov dx,offset msg mov ah,9 int 21h mov si,offset arr input: mov ah,1 int 21h cmp al,...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_2701.asm
ljhsiun2/medusa
9
202436
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1242f, %rsi lea addresses_WT_ht+0x1ac32, %rdi nop dec %r14 mov $106, %rcx rep movsl nop cmp $904, %r10 lea addresses_A_ht+0x8432, %rsi lea addresses_normal_ht+0x71c0, %rdi nop nop cmp %rax, %ra...
oeis/037/A037652.asm
neoneye/loda-programs
11
202437
<gh_stars>10-100 ; A037652: Decimal expansion of a(n) is given by the first n terms of the periodic sequence with initial period 3,0,1. ; Submitted by <NAME> ; 3,30,301,3013,30130,301301,3013013,30130130,301301301,3013013013,30130130130,301301301301,3013013013013,30130130130130,301301301301301,3013013013013013 mov $2,...
libsrc/_DEVELOPMENT/adt/ba_stack/c/sdcc_iy/ba_stack_init_callee.asm
jpoikela/z88dk
640
202438
<reponame>jpoikela/z88dk ; ba_stack_t *ba_stack_init_callee(void *p, void *data, size_t capacity) SECTION code_clib SECTION code_adt_ba_stack PUBLIC _ba_stack_init_callee EXTERN _b_array_init_callee defc _ba_stack_init_callee = _b_array_init_callee
libsrc/_DEVELOPMENT/string/c/sccz80/_memlwr_.asm
meesokim/z88dk
0
202439
<gh_stars>0 ; char *_memlwr_(void *p, size_t n) SECTION code_string PUBLIC _memlwr_ EXTERN asm__memlwr _memlwr_: pop af pop bc pop hl push hl push bc push af jp asm__memlwr
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0xca_notsx.log_21829_1832.asm
ljhsiun2/medusa
9
202441
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r9 push %rbp push %rcx push %rdx lea addresses_D_ht+0x161bc, %rcx nop nop nop sub $2577, %rbp vmovups (%rcx), %ymm6 vextracti128 $1, %ymm6, %xmm6 vpextrq $1, %xmm6, %rdx inc %r15 lea addresses_normal_ht+0x7dcc, %r9 nop cmp %rdx, %rdx mov (...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1620.asm
ljhsiun2/medusa
9
202442
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r14 push %r8 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0xe6f8, %r10 nop nop nop nop dec %r11 movups (%r10), %xmm4 vpextrq $1, %xmm4, %r9 nop xor %r8, %r8 lea addresses_D_ht+0x17b78, %r11 nop nop nop nop add $38209...
oeis/007/A007876.asm
neoneye/loda-programs
11
202443
<reponame>neoneye/loda-programs ; A007876: a(2n-1) = n*a(2n-2), a(2n) = n*a(2n-1) + 1. ; Submitted by <NAME> ; 1,2,4,9,27,82,328,1313,6565,32826,196956,1181737,8272159,57905114,463240912,3705927297,33353345673,300180111058,3001801110580,30018011105801,330198122163811,3632179343801922,43586152125623064 add $0,1 lpb $0 ...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1498.asm
ljhsiun2/medusa
9
202445
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1e828, %r15 clflush (%r15) and %r11, %r11 mov (%r15), %r8 nop nop nop nop sub %r9, %r9 lea addresses_D_ht+0xc428, %r10 nop nop inc %rdi mov $0x6162636465666768, %rcx movq %rcx...
base32enc.asm
Marcarrian/asm-project
0
202446
SECTION .data ; Section containing initialised data BASE32_TABLE: db "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567" equalSign: db "=" newLine: db 10 SECTION .bss ; Section containing uninitialized data input: resb 4096 inputLen equ 4096 output: resb 1 ; output of string encoded in base32 SECTION .text ; Section co...