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/US/_zr_/i9-9900K_12_0xa0.log_21147_1037.asm
ljhsiun2/medusa
9
41654
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x19b60, %rsi lea addresses_WT_ht+0x1c9e0, %rdi nop nop add $57263, %rbx mov $31, %rcx rep movsl nop nop nop nop nop xor %r12, %r12 lea addresses_UC_ht+0x6588, %r12 nop xo...
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_1959.asm
ljhsiun2/medusa
9
41655
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %rax push %rbp push %rbx push %rdi push %rsi lea addresses_D_ht+0xd62d, %r10 nop nop nop and $22064, %rbp movl $0x61626364, (%r10) nop nop nop and $59590, %rax lea addresses_WT_ht+0xae26, %rsi nop dec %r15 mov $0x6162636465666768, %rbx movq %rbx, %xm...
Transynther/x86/_processed/AVXALIGN/_st_zr_/i9-9900K_12_0xca.log_41_1329.asm
ljhsiun2/medusa
9
41656
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r9 push %rcx push %rsi lea addresses_normal_ht+0xfaa2, %r14 nop nop xor %r9, %r9 movb (%r14), %r13b nop nop nop nop sub $3552, %rcx pop %rsi pop %rcx pop %r9 pop %r14 pop %r13 ret .global s_faulty_load s_faulty_load: push %r10 pu...
oeis/061/A061573.asm
neoneye/loda-programs
11
41657
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A061573: a(n) = (n!)^2*Sum_{k=1..n} 1/k!. ; 1,6,60,984,24720,890640,43646400,2793409920,226266566400,22626660268800,2737825932441600,394246934750592000,66627731979077068800,13059035467986283776000,2938282980298221523968000,752200442956365632925696000,2173859280143900236...
libs/Libmy/ASM/src/asm_putchar.asm
DarkyZShadow/my_printf
0
41658
; ; int asm_putchar(char c); ; BITS 64 SECTION .text GLOBAL asm_putchar asm_putchar: PUSH RSI PUSH RDI PUSH RDX PUSH RDI ;MOV RAX, 4 ; Sous fonction ;MOV RBX, 1 ; Flux (0 : stdin, 1 : stdout, 2 : stderr) ;MOV RCX, RSP ; Buffer ;MOV RDX, 1 ; Length ;...
src/u1/p1.asm
luishendrix92/lenguajezinterfaz
0
41660
; 1 - Programa que imprime "<NAME>" ; <NAME> ; 15211312 ; 13 de Septiembre del 2018 .Model small .stack 64 .Data .Code mov dx,72 mov ah,02h int 21h mov dx,79 mov ah,02h int 21h mov dx,76 mov ah,02h int 21h mov dx,65 mov ah,02h int 21h mov dx,32 mov ah,02h int 21h mov dx,77 mov...
cga4.asm
bocke/CGAGraphics
17
41661
<gh_stars>10-100 DOSSEG .MODEL small .CODE PUBLIC _cga_draw_line1 _cga_draw_line1 PROC ARG x0:WORD, y0:WORD, xdiff:WORD, ydiff:WORD, D:WORD, xend:WORD, colour:BYTE ; line from (x0, y0) - (xend, ?) including endpoints ; AX: Acc, BX: 2*dx, SP: 2*dy, CX: Loop, BP: ydelta ; DX: D, DI: O...
ASM-Homework/Frame/lodsb|stosb|Frame.asm
SokolovVadim/ComputerScience
0
41662
<reponame>SokolovVadim/ComputerScience<filename>ASM-Homework/Frame/lodsb|stosb|Frame.asm<gh_stars>0 .model tiny .code org 100h VIDEOSEG equ 0b800h WFRAME equ 35 ; width HFRAME equ 6 ; height of frame COUNTSPACE1 equ 43 ; avoid...
programs/oeis/038/A038716.asm
karttu/loda
1
41663
<filename>programs/oeis/038/A038716.asm<gh_stars>1-10 ; A038716: a(n) = floor(n/4)*ceiling((n+3)/4). ; 0,0,0,0,2,2,3,3,6,6,8,8,12,12,15,15,20,20,24,24,30,30,35,35,42,42,48,48,56,56,63,63,72,72,80,80,90,90,99,99,110,110,120,120,132,132,143,143,156,156,168,168,182,182,195,195,210,210,224,224,240,240,255,255,272,272,288,2...
3d/rod.asm
arbruijn/d1dos
2
41665
<reponame>arbruijn/d1dos ;THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX ;SOFTWARE CORPORATION ("PARALLAX"). PARALLAX, IN DISTRIBUTING THE CODE TO ;END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A ;ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USER...
oeis/212/A212068.asm
neoneye/loda-programs
11
41666
<reponame>neoneye/loda-programs ; A212068: Number of (w,x,y,z) with all terms in {1,...,n} and 2w=x+y+z. ; Submitted by <NAME>(s2) ; 0,0,3,10,25,49,86,137,206,294,405,540,703,895,1120,1379,1676,2012,2391,2814,3285,3805,4378,5005,5690,6434,7241,8112,9051,10059,11140,12295,13528,14840,16235,17714,19281,20937,22686,24529,...
0x1f_TODO.asm
SpeedStepper/XchgRaxRax
53
41667
; ; $Id: 0x1f_TODO.asm,v 1.1.1.1 2016/03/27 08:40:13 raptor Exp $ ; ; 0x1f explanation - from xchg rax,rax by <EMAIL> ; Copyright (c) 2016 <NAME> <<EMAIL>> ; ; TODO: THIS EXPLANATION IS INCOMPLETE ; ; Here's another incomplete solution. Hopefully these ; snippets aren't getting too complicated... This one ; does the f...
oeis/008/A008416.asm
neoneye/loda-programs
11
41668
; A008416: Coordination sequence for 8-dimensional cubic lattice. ; Submitted by <NAME> ; 1,16,128,688,2816,9424,27008,68464,157184,332688,658048,1229360,2187520,3732560,6140800,9785072,15158272,22900496,33830016,48978352,69629696,97364944,134110592,182192752,244396544,324031120,425000576,551881008,710003968,905546576,...
cards/bn4/ModCards/134-A030 PET Screen Color Green (0F).asm
RockmanEXEZone/MMBN-Mod-Card-Kit
10
41670
<reponame>RockmanEXEZone/MMBN-Mod-Card-Kit .include "defaults_mod.asm" table_file_jp equ "exe4-utf8.tbl" table_file_en equ "bn4-utf8.tbl" game_code_len equ 3 game_code equ 0x4234574A // B4WJ game_code_2 equ 0x42345745 // B4WE game_code_3 equ 0x42345750 // B4WP card_type equ 1 card_id equ 30 card_no equ "03...
text-code.asm
TheAnsarya/ffmq-info
3
41671
;-------------------------------------------------------------------- pushpc org $008252 ; DATA: DataFillValues8252 ($008252) ; $008252-? ; in file: $000252-? DataFillValues8252: db $00 ; pc should equal ???????? pullpc ;-------------------------------------------------------------------- ;--------------...
c7612/a2/src/client.asm
DimitryRakhlei/BTECH
0
41672
;; TCP echo server using x86_64 Linux syscalls ;; Assemble and link as follows: ;; nasm -f elf64 -o server.o server.asm ;; ld server.o -lc -o server ;; ;; ;global _start global main extern puts extern printf extern scanf extern sprintf ;; Data definitions struc sockaddr_in .sin_family resw 1 ...
source/modules/basic/expressions/string/hex.asm
paulscottrobson/mega-basic
3
41673
; ******************************************************************************************* ; ******************************************************************************************* ; ; Name : hex.asm ; Purpose : Convert number to string (hexadecimal) ; Date : 22nd August 2019 ; Review : 1st September 201...
libsrc/_DEVELOPMENT/arch/zxn/esxdos/z80/asm_esx_m_setcaps.asm
jpoikela/z88dk
640
41674
<reponame>jpoikela/z88dk ; unsigned char esx_m_setcaps(unsigned char caps) INCLUDE "config_private.inc" SECTION code_esxdos PUBLIC asm_esx_m_setcaps EXTERN __esxdos_error_mc asm_esx_m_setcaps: ; enter : l = new capabilities ; ; exit : success ; ; hl = old capabilities ; ca...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_1291_1738.asm
ljhsiun2/medusa
9
41675
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %rcx push %rdi push %rsi lea addresses_D_ht+0xd44, %rsi lea addresses_WC_ht+0x366c, %rdi clflush (%rsi) cmp $49099, %r15 mov $14, %rcx rep movsb nop nop nop nop sub $28530, %rdi lea addresses_D_ht+0x4c00, %rsi lea addresses_A_ht+0x16e6...
runme/solution/sample.asm
BSidesSF/ctf-2021-release
7
41677
bits 64 ; echo -ne '\xe8\x0d\x00\x00\x00\x48\x65\x6c\x6c\x6f\x20\x77\x6f\x72\x6c\x64\x0a\x00\x5e\x48\x31\xc0\x48\xff\xc0\x48\x31\xff\x48\xff\xc7\x48\x31\xd2\xb2\x0c\x0f\x05\x48\x31\xc0\xb0\x3c\x48\x31\xff\x0f\x05' call bottom db "Hello world", 10, 0 bottom: pop rsi xor rax, rax inc rax xor rdi, rdi inc...
latest/boot/kernel_entry.asm
soumitradev/assembly-fun
2
41678
; Jump to our kernel. This isn't in our boot sector. This will be in the kernel file after linking. [bits 32] [extern kmain] call kmain ; If kernel returns, hang jmp $
oeis/137/A137247.asm
neoneye/loda-programs
11
41679
; A137247: a(n) = 4*a(n-1) - 6*a(n-2) + 6*a(n-3) - 3*a(n-4), with initial terms 0, 0, 0, 1. ; Submitted by <NAME>(s2) ; 0,0,0,1,4,10,22,49,112,256,580,1309,2956,6682,15106,34141,77152,174352,394024,890473,2012404,4547866,10277806,23227033,52491280,118626160,268085740,605852581,1369179004,3094236490,6992730202,158030181...
Driver/Video/VGAlike/VGA15/vga15Dither.asm
steakknife/pcgeos
504
41680
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: Video Driver FILE: vga16Dither.asm AUTHOR: <NAME>, Oct 19, 1992 ROUTINES: Name Description ---- ----------- REVISION HISTORY...
crypto/x86/rdrand.asm
sttr00/crypto
0
41683
<filename>crypto/x86/rdrand.asm segment .text global _do_rdrand global _do_rdseed _do_rdrand: mov edx, [esp+4] xor eax, eax rdrand ecx mov [edx], ecx setc al ret _do_rdseed: mov edx, [esp+4] xor eax, eax rdseed ecx mov [edx], ecx setc al ret
L2_LEAPYEAR.asm
TashinAhmed/ASSEMBLY-LANGUAGE
0
41684
<reponame>TashinAhmed/ASSEMBLY-LANGUAGE<gh_stars>0 .MODEL SMALL .STACK 100h .DATA LEAPYEARSTRING DB 'LEAP-YEAR$' NOTLEAPYEARSTRING DB 'NOT LEAP-YEAR$' LN DB 0Ah, 0Dh, '$' .CODE MAIN PROC MOV AX, @DATA MOV DS, AX INPUTMSB: MOV AH, 1 INT 21h ...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xca_notsx.log_21829_364.asm
ljhsiun2/medusa
9
41685
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x1c74a, %rdx nop nop nop nop nop and $21691, %r15 mov (%rdx), %esi nop nop sub %rcx, %rcx lea addresses_D_ht+0xd214, %rsi lea addresses_D_ht+0x5f76, %rdi cmp $37343, %r8 mov $27, %rcx re...
smalltoCaps.asm
basit3000/Assembly-language
0
41686
; multi-segment executable file template. data segment ; add your data here! pkey db "press any key...$" ends stack segment dw 128 dup(0) ends code segment start: mov ax, data mov ds, ax mov es, ax mov ah, 1 int 21h mov dl, al mov ah, 2 int 21h ...
src/cls.asm
jwse2/MijnOS
0
41687
[BITS 16] ; [ORG 0x15E00] jmp main %include "src\const.inc" ;=============================================== ; Entry point ;=============================================== main: push ax push dx mov ax,INT_CLEAR_SCREEN int 70h pop dx pop ax retf
libsrc/zx81/filltxt.asm
teknoplop/z88dk
0
41688
<gh_stars>0 ; ; ZX81 libraries - Stefano 7/8/2009 ; ;---------------------------------------------------------------- ; ; $Id: filltxt.asm,v 1.8 2015/08/07 06:23:57 stefano Exp $ ; ;---------------------------------------------------------------- ; ; Fill text memory with specified character code ; ;-------------------...
src/arch/x86_64/long_mode_init.asm
simia-tech/los
0
41690
global long_mode_start section .text bits 64 long_mode_start: ; load 0 into all data segment registers mov ax, 0 mov ss, ax mov ds, ax mov es, ax mov fs, ax mov gs, ax ; call the rust main extern rust_main call rust_main ; print `OKAY` to screen mov rax, 0x2f592f412f4b2f4f mov qword [0xb800...
programs/oeis/169/A169630.asm
karttu/loda
0
41691
<filename>programs/oeis/169/A169630.asm ; A169630: a(n) = n times the square of Fibonacci(n). ; 0,1,2,12,36,125,384,1183,3528,10404,30250,87131,248832,705757,1989806,5581500,15586704,43356953,120187008,332134459,915304500,2516113236,6900949462,18888143927,51599794176,140718765625,383142771674,1041660829548,282810728818...
data/maps/objects/CinnabarLabFossilRoom.asm
opiter09/ASM-Machina
1
41692
CinnabarLabFossilRoom_Object: db $17 ; border block def_warps warp 2, 7, 4, CINNABAR_LAB warp 3, 7, 4, CINNABAR_LAB def_signs def_objects object SPRITE_SCIENTIST, 5, 2, WALK, LEFT_RIGHT, 1 ; person object SPRITE_SCIENTIST, 7, 6, STAY, UP, 2 ; person def_warps_to CINNABAR_LAB_FOSSIL_ROOM
pwnlib/shellcraft/templates/amd64/linux/findpeerstager.asm
DrKeineLust/pwntools
8,966
41693
<% from pwnlib.shellcraft import common %> <% from pwnlib.shellcraft.amd64 import linux %> <%docstring> Findpeer recvsize stager Args: port, the port given to findpeer (defaults to any) </%docstring> <%page args="port = None"/> ${linux.findpeer(port)} ${linux.recvsize('rdi', 'rcx')} ${linux.stager('rdi', 'rcx')}
Transynther/x86/_processed/AVXALIGN/_ht_/i7-7700_9_0x48.log_21829_2772.asm
ljhsiun2/medusa
9
41694
<filename>Transynther/x86/_processed/AVXALIGN/_ht_/i7-7700_9_0x48.log_21829_2772.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0xc09e, %r14 nop nop add $49203, %rsi mov $0x6162636465666768, %rdi movq %rdi, %xmm3 v...
src/x86/filmgrain16_avx512.asm
feiwei9696/dav1d
0
41695
<gh_stars>0 ; Copyright © 2022, VideoLAN and dav1d authors ; Copyright © 2022, Two Orioles, LLC ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; 1. Redistributions of source code must retain th...
engine/menu/item_descriptions.asm
etdv-thevoid/pokemon-rgb-enhanced
1
41696
DisplayItemDescription: ld a, [wcf91] dec a cp a, HM_01 - 1 jr c, .ready sub ((HM_01 - FLOOR_B4F) - 1) ; TM and HM ids are now adjusted to be after the rest of the normal items .ready ld hl,ItemDescriptionPointers ld bc, 5 .add and a jr z, .doneAdding dec a add hl, bc jr .add .doneAdding call PrintText re...
src/core/functions.asm
danielg0/yatzy-gb
0
41697
INCLUDE "hardware.inc" SECTION "Function Variables", WRAM0 ; joypad variables W_DPAD:: DS 1 ; byte holding current state of dpad W_BUTT:: DS 1 ; "" current button press state W_DPAD_OLD:: DS 1 ; "" previous state of dpad W_BUTT_OLD:: DS 1 ; "" previous button press state ; highscore W_HIG...
audio/music/celadon.asm
opiter09/ASM-Machina
1
41699
<filename>audio/music/celadon.asm Music_Celadon_Ch1:: tempo 144 volume 7, 7 duty_cycle 3 toggle_perfect_pitch note_type 12, 2, -7 rest 8 octave 3 note D_, 8 Music_Celadon_branch_b6d4:: duty_cycle 2 note_type 12, 11, 2 note G_, 4 note B_, 4 note G_, 2 note B_, 4 note G_, 2 note E_, 1 note E_, 1 note G...
EserciziMips/1.3-maschera.asm
AntoAndGar/MIPS
0
41700
.text .globl main main: lw $t1, Memole andi $t2, $t1, 4 srl $t0, $t2, 2 li $v0,10 syscall .data Memole: .word 12
src/pm/smx/_lztimer.asm
OS2World/DEV-UTIL-ScitechOS_PML
0
41701
<reponame>OS2World/DEV-UTIL-ScitechOS_PML ;**************************************************************************** ;* ;* SciTech OS Portability Manager Library ;* ;* ======================================================================== ;* ;* The contents of this file are subject to the SciT...
Library/BorlandRTL/h_pina.asm
steakknife/pcgeos
504
41702
; $Id: h_pina.asm,v 1.1 97/04/07 12:04:05 newdeal Exp $ ;[]-----------------------------------------------------------------[] ;| H_PINA.ASM -- long pointer routines | ;[]-----------------------------------------------------------------[] ; ; C/C++ Run Time Library - Version 5...
programs/oeis/064/A064806.asm
karttu/loda
1
41703
<reponame>karttu/loda ; A064806: a(n) = n + digital root of n. ; 2,4,6,8,10,12,14,16,18,11,13,15,17,19,21,23,25,27,20,22,24,26,28,30,32,34,36,29,31,33,35,37,39,41,43,45,38,40,42,44,46,48,50,52,54,47,49,51,53,55,57,59,61,63,56,58,60,62,64,66,68,70,72,65,67,69,71,73,75,77,79,81,74,76,78,80,82,84,86,88,90,83,85,87,89,91,9...
src/libapex/helpers.asm
Codesmith512/Apex
1
41704
<gh_stars>1-10 ; ######################### ; APEX OS Assembly Helpers ; ######################### [bits 32] ; @func void __asm_debug() ; Creates an infinite loop, until cx is set to 0, sets the pixel at 0,0 to blue global __asm_debug __asm_debug: ; Setup stack frame push ebp mov ebp, esp ; Preserve CX push ...
core/resources/binfile.asm
JartC0ding/horizon
4
41705
<gh_stars>1-10 %macro inc_bin 2 SECTION .rodata GLOBAL %1 GLOBAL %1_size %1: incbin %2 db 0 %1_size: dq %1_size - %1 %endmacro inc_bin default_font, "./resources/zap-light16.psf" inc_bin logo, "./resources/foxos.bmp" inc_bin screen_of_death, "./resources/screen_of_death.bmp" inc_bin boot_animation_frame_0, "./r...
Transynther/x86/_processed/NONE/_zr_un_/i9-9900K_12_0xa0.log_7670_829.asm
ljhsiun2/medusa
9
41706
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x140db, %r11 nop cmp $60465, %rcx movw $0x6162, (%r11) nop nop nop add %r8, %r8 lea addresses_D_ht+0x886f, %rsi lea addresses_A_ht+0xcddb, %rdi nop xor %r9, %r9 mov $32, %rcx rep movsw n...
data/pokemon/dex_entries/aipom.asm
Dev727/ancientplatinum
28
41707
<filename>data/pokemon/dex_entries/aipom.asm db "LONG TAIL@" ; species name dw 207, 250 ; height, weight db "It uses its tail" next "to hang on to tree" next "branches. It uses" page "its momentum to" next "swing from one" next "branch to another.@"
2-button/button.asm
matthew-macgregor/avr-assembly-examples
0
41708
; button.asm ; https://www.instructables.com/Command-Line-Assembly-Language-Programming-for-Ard-1/ ; constants ; ------------------------------------------------------ ; Normally, we'd use the include file for these constants: ; .include "./m168def.inc" ; But since this is a learning exercise, we're going to hand ; c...
programs/oeis/040/A040426.asm
karttu/loda
1
41709
; A040426: Continued fraction for sqrt(448). ; 21,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42,6,42 sub $0,1 mod $0,2 mul $0,11 add $0,2 pow $0,2 mov $1,$0 sub $1,4 div $1,13 mul $1,3 ...
patches/tolerance_timer/tolerance_timer.asm
RPGHacker/SMW-Workspace
9
41710
<gh_stars>1-10 @asar 1.50 ;;;;;;;;;;;;;;;;;;;;;;; ;Tolerance Timer Patch; ;;;;;;;;;;;;;;;;;;;;;;; incsrc ttconfig.cfg incsrc ../shared/shared.asm print "Tolerance Timer v1.0 - (c) RPG Hacker" math pri on math round off pushtable cleartable namespace tolerance_timer_ !allow_late_or_early_jumps = !allow_late_...
Assembly/HW2/inputproduct_FINISHED.asm
DulceWRLD/College
2
41711
# ** HW #2 ** # Author: <NAME> # Date: 9/14/2014 .data # Data portion of the program (variables, constants, etc) prompt: .asciiz "Enter the first integer: " # Load the first prompt into memory prompt2:.asciiz "Enter the second integer: " # Load the second prompt into memory prompt3:.asciiz "The result is: ...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_13892_1890.asm
ljhsiun2/medusa
9
41712
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0xb8ab, %r14 nop nop nop nop add $45317, %r12 movl $0x61626364, (%r14) nop nop nop nop sub $52574, %r13 lea addresses_WT_ht+0x16c9b, %rax nop nop nop...
src/tests/bootreg.asm
Hacktix/BullyGB
10
41713
SECTION "FF50 BOOT Register", ROMX BootregTest:: ; Check if BOOT register contains $FF ld a, [$ff50] cp $ff jr z, .validBootValue ld de, strBootregNotFF ret .validBootValue ; Check if BOOT register is writeable xor a ld [$ff50], a ld a, [$ff50] cp $ff jr z, .regNotWritab...
oeis/109/A109952.asm
neoneye/loda-programs
11
41714
; A109952: Degrees Centigrade for which Fahrenheit is a prime. ; Submitted by <NAME> ; 5,15,45,55,65,75,115,125,145,155,175,195,205,215,255,265,295,315,325,345,395,405,425,475,505,525,545,555,565,595,645,665,695,705,715,745,765,775,805,815,845,855,875,925,945,975,995,1025,1045,1055,1065,1095 mov $2,$0 add $0,2 add $2,...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1930.asm
ljhsiun2/medusa
9
41715
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r12 push %r13 push %r15 push %r8 push %rcx push %rdi push %rsi // Load lea addresses_WC+0xb80c, %rsi nop nop nop inc %rdi vmovups (%rsi), %ymm2 vextracti128 $1, %ymm2, %xmm2 vpextrq $1, %xmm2, %r13 nop nop nop nop cmp $562...
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xa0.log_21829_1787.asm
ljhsiun2/medusa
9
41716
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x129a1, %rbx nop nop and %rcx, %rcx movb (%rbx), %r10b nop nop nop nop xor $20807, %rdx lea addresses_D_ht+0x17c79, %rbx nop cmp $59455, %rcx mov $0x6162636465666768, %rsi mo...
examples/001_std_include_demo/src/asm/std_include_demo.asm
JiggleSoft/atari2600-asm-common
1
41718
;============================================================================== ; Name: Standard Include Demo. ; Filename: std_include_demo.asm ; Platform: Atari 2600 ; Language: 6507 Assembly Language (https://www.cc65.org/doc/ca65.html) ; Author: <NAME> (<EMAIL>) ; Date: 2019-01-28 18:0...
src/08-events/mist-to-canal.asm
chaoshades/snes-ffci
0
41722
<gh_stars>0 org $15C72D ; Routine to hack ; First canal row skip 9 ; Skip to $15C736 CMP #$A4 ; Check if map is on row A4 skip 2 ; Skip to $15C73A LDA #$1A ; Load 1A (middle right sea coast) STA $7F5CD6,x ; Store new tile into 7F:65A4 LDA #$16 ; Load 16 (grass field) STA ...
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_573.asm
ljhsiun2/medusa
9
41723
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1e5e6, %r9 nop nop dec %r12 movb (%r9), %r15b nop cmp %r10, %r10 lea addresses_normal_ht+0x11e36, %rsi lea addresses_WT_ht+0x6868, %rdi nop nop nop nop nop sub %r10, %r10 mov...
xen/xenbus/i386/xenbus_glu32.asm
SUSE/vmdp
5
41724
<filename>xen/xenbus/i386/xenbus_glu32.asm ; ; SPDX-License-Identifier: BSD-2-Clause ; ; Copyright 2007-2012 Novell, Inc. ; Copyright 2012-2020 SUSE LLC ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; 1. Redistribut...
composite-cond-or.asm
mitchGuthrieDev/Assembly-code
0
41725
<reponame>mitchGuthrieDev/Assembly-code # if( x==y || i==j){ # x++; # i++; # } # else { # x=0; # i=0; # } # Assume x,y, i,j are in $s0,$s1, $s2, $s3 # sample values for x,y,i,j .data newline: .byte '\n' .text li $s0, 10 #x li $s1, 10 #y li $s2, 40 #i li $s3, 30 #j beq $s0,$s1, IFBLOCK COND...
oeis/026/A026274.asm
neoneye/loda-programs
11
41726
; A026274: Greatest k such that s(k) = n, where s = A026272. ; Submitted by <NAME>(w4) ; 3,5,8,11,13,16,18,21,24,26,29,32,34,37,39,42,45,47,50,52,55,58,60,63,66,68,71,73,76,79,81,84,87,89,92,94,97,100,102,105,107,110,113,115,118,121,123,126,128,131,134,136,139,141,144,147,149,152,155,157,160,162,165,168,170,173,176,178...
tests/assembly/INX_INY.asm
danecreekphotography/6502ts
0
41727
; Verifies INX and INY .segment "VECTORS" .word $eaea .word init .word $eaea .code init: inx ; X will be 0b00000000 inx ; X will be $FF inx ; X will be 0b01111111 iny ; Y will be %b00000000 iny ; Y will be $FF iny ; Y will be %b01111111
src/text.asm
hgwood/blox86
3
41728
<filename>src/text.asm ; prints horizontal line of char=al at y=dh from x1=ch to x2=cl exclusive print_horizontal_line: pusha cmp ch, cl jge .return mov dl, ch .print_horizontal_line_loop: call print_char_at inc dl cmp dl, cl jl .print_horizontal_line_loop .return: popa ret ; print...
programs/oeis/139/A139701.asm
neoneye/loda
22
41729
; A139701: Binomial transform of [1, 100, 100, 100, ...]. ; 1,101,301,701,1501,3101,6301,12701,25501,51101,102301,204701,409501,819101,1638301,3276701,6553501,13107101,26214301,52428701,104857501,209715101,419430301,838860701,1677721501,3355443101,6710886301,13421772701,26843545501,53687091101,107374182301,214748364701...
COMP 3350 - Assembly & Comp Org/Lectures/11 Symbolic Constants/demo$.asm
Skyfox64/auburn-csse
1
41730
; Demo of the Current Location Counter INCLUDE Irvine32.inc .data mystery1 = $ something DWORD 0 mystery2 = $ moreStuff BYTE 1, 2, 3, 4, 5 mystery3 = $ .code main PROC mov eax, mystery1 call WriteHex call crlf mov eax, mystery2 call WriteHex call crlf mov eax, mystery3 call WriteHex exit main ENDP END mai...
template.asm
arhefner/elf-io
0
41731
INCL "../inc/1802.inc" STKSIZE EQU 256 ORG $1000 ; Initialize SCRT routines LDI HIGH SCINIT PHI RF LDI LOW SCINIT PLO RF SEP RF DW STKPTR ; Main program IDL ; Include...
asm/6502/demos/rmtplayer/rmt_feat.asm
fcatrin/clc88
6
41732
;* ;* RMT FEATures definitions ;* ;* For optimizations of RMT player routine to concrete RMT modul only! ;* --------BEGIN-------- FEAT_SFX equ 0 ;* 0 => No SFX support, 1 => SFX support FEAT_GLOBALVOLUMEFADE equ 0 ;* 0 => No RMTGLOBALVOLUMEFADE support, 1=> RMTGLOBALVOLUMEFADE support (+7 bytes) FEAT_NOSTARTINGS...
game/data/charsets/ascii.asm
sgadrat/super-tilt-bro
91
41733
<reponame>sgadrat/super-tilt-bro<filename>game/data/charsets/ascii.asm CHARSET_ASCII_BANK_NUMBER = CURRENT_BANK_NUMBER charset_ascii: ; Tileset's size in tiles (zero means 256) .byt (charset_ascii_end-charset_ascii_tiles)/8 charset_ascii_tiles: .byt %00000000, %00000000, %00000000, %00000000, %00000000, %00000000, %...
vidplay.asm
gasman/kisskill
2
41735
<reponame>gasman/kisskill include "esxdos/esxdos.inc" vidplay_init ld ix,filename ; attempt to open file ld a,'*' ld b,FA_READ rst 0x08 db F_OPEN call c,error ld (file_handle),a ; read a few bytes, which has the effect of setting IDE registers to the starting sector ld ix,buffer ld bc,0x000b rst 0x08 ...
19.asm
rashidulhasanhridoy/Assembly-Programming
1
41736
.MODEL SMALL .STACK 100H .DATA NUM DB ? MSG1 DB 10,13,'ENTER NO: $' MSG2 DB 10,13,'NOT PRIME: $' MSG3 DB 10,13,'PRIME $' .CODE MAIN PROC MOV AX,@DATA MOV DS,AX LEA DX,MSG1 MOV AH,9 INT 21H MOV AH,1 INT 21H SUB AL,30H MOV NUM,AL CMP AL,1 JLE LBL2 MOV A...
libsrc/_DEVELOPMENT/ctype/z80/asm_isspace.asm
meesokim/z88dk
0
41737
<gh_stars>0 SECTION code_ctype PUBLIC asm_isspace asm_isspace: ; determine if char is whitespace ; enter : a = char ; exit : carry reset if whitespace ; uses : f cp ' ' ; space ret z cp 9 ret c cp 14 ccf ret
src/sound/song029restored.asm
MusicTheorist/Mother2GbaTranslation
1
41738
<filename>src/sound/song029restored.asm song029restored_pri equ 0 song029restored_rev equ 0 song029restored_mvl equ 127 song029restored_key equ 0 song029restored_tbs equ 1 song029restored_exg equ 0 song029restored_cmp equ 1 .align 4 ;**************** Track 1 (Midi-Chn.1) ****************; @song029restored_...
tests/asm/64/disp.asm
ReneNyffenegger/udis86
710
41739
[bits 64] mov ax, [eax-0x10] add bx, [esi+0x10] add rax, [0xffff] add ax, [esi+edi*4-0x10] add r8, [rax+rbx*4-0x80000000] mov rax, [qword 0x800000000000]
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48.log_6045_1850.asm
ljhsiun2/medusa
9
41740
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r15 push %rbp push %rbx push %rcx push %rdx push %rsi // Store lea addresses_WT+0x57e8, %rsi nop nop nop nop cmp %rcx, %rcx mov $0x5152535455565758, %r10 movq %r10, (%rsi) nop nop nop and %rbp, %rbp // Store lea...
gfx/pokemon/kingler/anim.asm
Dev727/ancientplatinum
28
41741
setrepeat 2 frame 1, 11 frame 2, 11 dorepeat 1 frame 0, 11 frame 2, 11 frame 0, 15 frame 2, 15 endanim
tests/J/test1.asm
madhav-datt/mmcpu
0
41742
<reponame>madhav-datt/mmcpu # Function calls and return statements # main: addi $a0, $0, 14534 jal funct addi $s0, $v0, 0 j done funct: nor $t0, $0, $0 xor $v0, $a0, $t0 jr $ra done:
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_398.asm
ljhsiun2/medusa
9
41744
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x13c1c, %rsi lea addresses_A_ht+0x1577c, %rdi nop nop nop nop lfence mov $69, %rcx rep movsq nop nop nop inc %r14 lea addresses_WC_ht+0x15a9c, %rdx nop nop nop nop nop xor $338...
lab_05/MAIN.asm
zakolm/ASM
9
41746
COMMENT * <NAME> IU7-43 Составить программу сортировки массива символов поиском максимального элемента и его индекса, использовать косвенно регистровую адресацию. * StkSeg SEGMENT PARA STACK 'STACK' ; Начало сегмента стека DB 64h DUP (?) ; Выделение 64 байт памяти StkSeg ENDS ...
programs/oeis/030/A030192.asm
neoneye/loda
22
41747
<filename>programs/oeis/030/A030192.asm ; A030192: Scaled Chebyshev U-polynomial evaluated at sqrt(6)/2. ; 1,6,30,144,684,3240,15336,72576,343440,1625184,7690464,36391680,172207296,814893696,3856118400,18247348224,86347378944,408600184320,1933516832256,9149499887616,43295898332160,204878390667264,969494954010624,458769...
scripts/redshouse1f2.asm
adhi-thirumala/EvoYellow
16
41748
<reponame>adhi-thirumala/EvoYellow Func_f1b73: ld a, [wd72e] bit 3, a jp nz, MomHealPokemon ; if player has received a Pokémon from Oak, heal team ld hl, MomWakeUpText call PrintText ret MomWakeUpText: TX_FAR _MomWakeUpText db "@" MomHealPokemon: ld hl, MomHealText1 call PrintText call GBFadeOutToWhite ca...
Lab 02/lab02_01.asm
hypereddie/Assembly-Class
0
41749
INCLUDE \masm32\include\masm32rt.inc ; for using inkey INCLUDE \masm32\include\Irvine32.inc INCLUDELIB \masm32\lib\Irvine32.lib .486 .model flat, stdcall .STACK 1000h ExitProcess PROTO, DwErrorCode:DWORD WriteHex PROTO Crlf PROTO .DATA A DWORD 1 B DWORD 2 C_ DWORD 3 D DWORD 4 .CODE Start...
u7-common/patch-eop-dispatchTable.asm
JohnGlassmyer/UltimaHacks
68
41750
<reponame>JohnGlassmyer/UltimaHacks<filename>u7-common/patch-eop-dispatchTable.asm ; An array containing the offsets of all eops defined in the eop segment. ; Used by the eop dispatchers to jump into the requested procedure. [bits 16] startPatch EXE_LENGTH, %[eopSegmentName]-dispatchTable startBlockAt addr_%[eopSegm...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_406.asm
ljhsiun2/medusa
9
41751
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x3eaa, %rsi lea addresses_WC_ht+0x50aa, %rdi clflush (%rsi) nop nop nop nop nop and $5056, %r13 mov $107, %rcx rep movsl and $48626, %rbx lea addresses_UC_ht+0xe892, %rsi lea addresses_W...
MiniProfiler/Hooks_x64.asm
ATrefzer/Comprehend
7
41752
EXTERN OnEnter:PROC EXTERN OnLeave:PROC EXTERN OnTailCall:PROC _text SEGMENT PARA 'CODE' ALIGN 16 PUBLIC EnterNakedFunc EnterNakedFunc PROC FRAME PUSH RAX .PUSHREG RAX PUSH RCX .PUSHREG RCX PUSH RDX .PUSHREG RDX PUSH R8 .PUSHREG R8 PUSH R9 .PUSHREG R9 PUSH R10 .PUSHR...
programs/oeis/326/A326122.asm
neoneye/loda
22
41753
; A326122: a(n) = 10 * sigma(n). ; 10,30,40,70,60,120,80,150,130,180,120,280,140,240,240,310,180,390,200,420,320,360,240,600,310,420,400,560,300,720,320,630,480,540,480,910,380,600,560,900,420,960,440,840,780,720,480,1240,570,930,720,980,540,1200,720,1200,800,900,600,1680,620,960 seq $0,203 ; a(n) = sigma(n), the sum ...
libsrc/_DEVELOPMENT/fcntl/z80/drivers/terminal/console_01/output/console_01_output_terminal_fzx/console_01_output_fzx_proc_putchar_scroll.asm
meesokim/z88dk
0
41754
<reponame>meesokim/z88dk SECTION code_fcntl PUBLIC console_01_output_fzx_proc_putchar_scroll EXTERN OTERM_MSG_PSCROLL, l_jpix, error_znc console_01_output_fzx_proc_putchar_scroll: ; enter : ix = FDSTRUCT.JP * ; hl = scroll amount in pixels ; ; exit : de = actual number of pixels scrolled ; ...
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_261.asm
ljhsiun2/medusa
9
41755
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x19c1b, %rsi lea addresses_A_ht+0x1121, %rdi clflush (%rdi) nop and %r10, %r10 mov $45, %rcx rep movsb nop dec %r12 lea addresses_UC_ht+0xa721, %rsi lea addresses_WT_ht+0...
Library/Kernel/Graphics/graphicsColor.asm
steakknife/pcgeos
504
41756
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: KernelGraphics FILE: Graphics/graphicsColor.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- GLB GrMapColorIndex Map ...
src/macros.asm
mgr-inz-rafal/skakatory
1
41758
.macro DISABLE_PLAYER_INVUL P12 lda P%%1_STATE cmp #PS_DYING beq DI%%1_X lda P%%1_STATE cmp #PS_BURIED beq DI%%1_X lda #0 sta P%%1_INVUL lda #1 sta P%%1_VISIBLE lda #P%%1_X_POSITION ...
programs/oeis/108/A108872.asm
karttu/loda
0
41759
<reponame>karttu/loda ; A108872: Sums of ordinal references for a triangular table read by columns, top to bottom. ; 2,3,4,4,5,6,5,6,7,8,6,7,8,9,10,7,8,9,10,11,12,8,9,10,11,12,13,14,9,10,11,12,13,14,15,16,10,11,12,13,14,15,16,17,18,11,12,13,14,15,16,17,18,19,20,12,13,14,15,16,17,18,19,20,21,22,13,14,15,16,17,18,19,20,2...
LCM3NUM.asm
Shihab-Haque/lcm_3_numbers_assembly8086
1
41761
CODE SEGMENT ASSUME CS:CODE, DS:CODE MOV CX,10 XOR DI,DI MULTIPLIER1: MOV AX,VAL[BX] MUL CX MOV NUMA[DI],AX ADD DI,2 LOOP MULTIPLIER1 MOV CX,10 ADD BX,2 XOR DI,DI MULTIPLIER2: MOV AX,VAL[BX] MUL CX MOV NU...
iod/iou/achb.asm
olifink/smsqe
0
41762
<gh_stars>0 ; IO Utilities Allocate Channel Block V2.00  1989 <NAME> QJUMP section iou xdef iou_achb include 'dev8_keys_qlv' ;+++ ; IO Utilities Allocate Channel Block ; ; d0 cr required length / status ; a0 r base of block ; all other registers preserved ;--- ...
libsrc/fcntl/nc100/_fsizehandle.asm
jpoikela/z88dk
640
41764
<gh_stars>100-1000 ; ; size a file on the Amstrad NC100 (max 64k files so can dump high ; bits) ; ; Supporting helpers ; SECTION code_clib PUBLIC _fsizehandle PUBLIC __fsizehandle ; fastcall .__fsizehandle ._fsizehandle ex de, hl jp 0xB8B7 ; fsizehandle
oeis/145/A145980.asm
neoneye/loda-programs
11
41765
<filename>oeis/145/A145980.asm ; A145980: a(n) = 29 + 73*n + 37*n^2. ; 29,139,323,581,913,1319,1799,2353,2981,3683,4459,5309,6233,7231,8303,9449,10669,11963,13331,14773,16289,17879,19543,21281,23093,24979,26939,28973,31081,33263,35519,37849,40253,42731,45283,47909,50609,53383,56231,59153,62149,65219,68363,71581,74873,7...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_934.asm
ljhsiun2/medusa
9
41766
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_934.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0xe7bb, %rsi lea addresses_D_ht+0xbf0b, %rdi sub %rbp, %rbp mov $67, %rcx r...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_21829_898.asm
ljhsiun2/medusa
9
41767
<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48_notsx.log_21829_898.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1c953, %rdi inc %rsi movl $0x61626364, (%rdi) nop nop nop nop nop xor ...
src/main/resources/Examples/PreProcessing Commands/definline.asm
jimw278/MIPS
3
41768
<reponame>jimw278/MIPS ;define inline defines a small bit of code that can be represented by one line (using the identifier of the defined section) ;this is NOT a function call it simply places the code defined within its body where ever it is used ;you can also define a list of 'variables' that will be replaced with w...
src/tiles.asm
fjpena/sword-of-ianna-zx
67
41769
<reponame>fjpena/sword-of-ianna-zx TILEMAP: EQU $AD00 TILEMAP_SUPERTILES: EQU CURRENT_SCREEN_MAP SUPERTILE_DEF: EQU $B500 ; supertile definitions: AB-CD, each being one tile SUPERTILE_COLORS: EQU $B900 ; supertile colors: AB-CD, each being one byte for the attribute curscreen_animtiles: EQU $BFA0 ; Dirty tiles, needi...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_474.asm
ljhsiun2/medusa
9
41770
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_474.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x1cd44, %rsi lea addresses_UC_ht+0x9e44, %rdi nop nop nop nop nop inc %rbx mov $74, %rcx r...
roms/tests/ppu/ppu_read_buffer/source/filler/part1.asm
MrKOSMOS/ANESE
349
41771
<filename>roms/tests/ppu/ppu_read_buffer/source/filler/part1.asm bits 16 org 0x110+0x4000+0x2000*3 ROM EQU 0x110 ; ROM begins from this address. No exceptions. ;cpu 386 cpu pentium ; For rdtsc GenerateNTSCtables EQU 0x6CF0+2 ; This is stored in VROM of the TEST ROM main: mov si, xbegins call GenerateNTSCtables ; ...