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
programs/oeis/185/A185452.asm
karttu/loda
0
52381
<reponame>karttu/loda ; A185452: Image of n under the map n -> n/2 if n even, (5*n+1)/2 if n odd. ; 0,3,1,8,2,13,3,18,4,23,5,28,6,33,7,38,8,43,9,48,10,53,11,58,12,63,13,68,14,73,15,78,16,83,17,88,18,93,19,98,20,103,21,108,22,113,23,118,24,123,25,128,26,133,27,138,28,143,29,148,30,153,31,158,32,163,33,168,34,173,35,178,...
chatting.asm
AhmedAlaa2024/Chat-and-Game-x86_Assembly
0
52382
<filename>chatting.asm<gh_stars>0 ;================================ ;DATA ;================================ read_msg db 81 dup('$') out_msg db 81 dup('$') SPLIT_SCREEN DB 80 DUP ('='), '$' CHATTING_NOTIFICATION_1 DB '-To End Chatting with ','$' CHATTING_NOTIFICATION_2 DB ' press F3', '$' val db ? loc_up db 1, 0 loc_dow...
mem/dos/16bit/real/Dos16RAllocShrSeg.asm
prokushev/FamilyAPI
1
52385
;/*! ; @file ; ; @ingroup fapi ; ; @brief DosAllocShrSeg DOS wrapper ; ; (c) osFree Project 2018, <http://www.osFree.org> ; for licence see licence.txt in root directory, or project website ; ; This is Family API implementation for DOS, used with BIND tools ; to link required API ; ; @author <NAME> (<EM...
x86/PosIsDrawMacro.asm
lantonov/asm
150
52387
;bool Position::is_draw(int ply) const { ; if (st->rule50 > 99 && (!checkers() || MoveList<LEGAL>(*this).size())) ; return true; ; int end = std::min(st->rule50, st->pliesFromNull); ; if (end < 4) return false; ; StateInfo* stp = st->previous->previous; ; int cnt = 0; ; for (int i = 4; i <= end; i += 2) { ; ...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1261.asm
ljhsiun2/medusa
9
52388
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %rax push %rbp push %rbx push %rcx push %rdx lea addresses_normal_ht+0x7fda, %rdx nop nop nop nop nop add %r14, %r14 mov $0x6162636465666768, %rcx movq %rcx, (%rdx) nop nop nop and %rbx, %rbx lea addresses_D_ht...
native/jni/external/dtc/tests/base01.asm
Joyoe/Magisk-nosbin_magisk-nohide
1
52389
<filename>native/jni/external/dtc/tests/base01.asm /* autogenerated by dtc, do not edit */ #define OF_DT_HEADER 0xd00dfeed #define OF_DT_BEGIN_NODE 0x1 #define OF_DT_END_NODE 0x2 #define OF_DT_PROP 0x3 #define OF_DT_END 0x9 .globl dt_blob_start dt_blob_start: _dt_blob_start: .globl dt_header dt_header: _dt_header: ...
explore/1608-forth/ezr/asm/hello.asm
lispnik/embello
10
52390
<filename>explore/1608-forth/ezr/asm/hello.asm org $E000 pd_alt2: equ $A5 uart0_thr: equ $C0 uart0_rbr: equ $C0 uart0_brgl: equ $C0 uart0_fctl: equ $C2 uart0_lctl: equ $C3 uart0_lsr: equ $C5 init: ld b, 0 ld c, pd_alt2 ld a, $03 out (c), a ld c, uart0_lctl ld a, $80 out (c), a ld c, uart0_brgl ...
wc.asm
Ankitchan/xv6OS
0
52391
_wc: file format elf32-i386 Disassembly of section .text: 00000000 <wc>: char buf[512]; void wc(int fd, char *name) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 28 sub $0x28,%esp int i, n; int l, w, c, inword; l = w = c = 0; 6: c7...
libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_lrint_fastcall.asm
jpoikela/z88dk
640
52392
<filename>libsrc/_DEVELOPMENT/math/float/math48/c/sdcc_ix/cm48_sdccix_lrint_fastcall.asm ; long lrint(float x) __z88dk_fastcall SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sdccix_lrint_fastcall EXTERN cm48_sdccixp_dx2m48, am48_lrint cm48_sdccix_lrint_fastcall: call cm48_sdccixp_dx2m48 jp am48_l...
libsrc/rex/input8.asm
grancier/z180
0
52393
; ; Input8 -read in from a port ; ; djm 7/3/2001 ; ; $Id: input8.asm,v 1.5 2017/01/03 00:11:31 aralbrec Exp $ PUBLIC input8 PUBLIC _input8 .input8 ._input8 pop hl pop bc push bc push hl in a,(c) ld l,a ld h,0 ret
m.asm
kwhr0/bm2-mml-demo
0
52394
.setcpu 6800 .zp tone: defs 2 duration: defs 2 ptr: defs 2 .code sei ; clear screen clra ldx #$100 cls_loop: staa ,x inx cpx #$400 bne cls_loop ; print message sts ptr lds #msg_1 ldx #$100-1 str_loop: inx pula staa ,x bne str_loop lds ptr ; cli entire_loop: ldx #_data stx ptr element_loop: ldx ...
programs/oeis/104/A104221.asm
karttu/loda
0
52395
<reponame>karttu/loda<filename>programs/oeis/104/A104221.asm<gh_stars>0 ; A104221: a(n) = Fibonacci(n) - (Fibonacci(n) mod 2). ; 0,0,0,2,2,4,8,12,20,34,54,88,144,232,376,610,986,1596,2584,4180,6764,10946,17710,28656,46368,75024,121392,196418,317810,514228,832040,1346268,2178308,3524578,5702886,9227464,14930352,24157816...
libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/__SMSlib_variables_1.asm
jpoikela/z88dk
640
52397
<filename>libsrc/_DEVELOPMENT/arch/sms/SMSlib/z80/__SMSlib_variables_1.asm<gh_stars>100-1000 ; ************************************************** ; SMSlib - C programming library for the SMS/GG ; ( part of devkitSMS - github.com/sverx/devkitSMS ) ; ************************************************** SECTION bss_clib SE...
oeis/021/A021503.asm
neoneye/loda-programs
11
52398
<reponame>neoneye/loda-programs<filename>oeis/021/A021503.asm ; A021503: Expansion of 1/((1-x)(1-3x)(1-6x)(1-8x)). ; Submitted by <NAME> ; 1,18,217,2214,20701,183906,1582129,13325598,110626021,909165114,7418351161,60217256502,486961532461,3927035533842,31604351090113,253963231160526,2038476448492021,16348435376893290,1...
rom_writer/MicroCode1.asm
clpl/proteus-CPU
5
52400
ORG 0000H DB 00000000B ORG 0001H DB 00000000B ORG 0002H DB 00000100B ORG 0003H DB 10001110B ORG 0004H DB 00000000B ORG 0005H DB 00000100B ORG 0006H DB 10001100B ORG 0008H DB 00000000B ORG 0009H DB 10001100B ORG 000aH DB 00000000B ...
Projects/PJZ2/Backdrop1/Backdrop1.asm
jonathanbennett73/amiga-pjz-planet-disco-balls
21
52401
<reponame>jonathanbennett73/amiga-pjz-planet-disco-balls ***************************************************************************** ; Name : Template.s ; Coded by : Antiriad (<NAME> <<EMAIL>) ; Description : Template routine. ; Date last edited : 04/02/2020 ******************************************...
init.asm
srally/CS350
0
52402
_init: file format elf32-i386 Disassembly of section .text: 00000000 <main>: char *argv[] = { "sh", 0 }; int main(void) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %ebp ...
source/modules/integer/convert/intfromstr.asm
paulscottrobson/mega-basic
3
52403
; ******************************************************************************************* ; ******************************************************************************************* ; ; Name : intfromstr.asm ; Purpose : Convert String to integer ; Date : 18th August 2019 ; Review : 5th September 2019 ; A...
loader/misc.asm
kun1z/ksmod
1
52405
; Copyright © 2005 - 2021 by <NAME>. All rights reserved. ErrorMsg proto :dword TrimComment proto :dword, :dword TrailBack proto :dword, :dword .code ; ########################################################################## ErrorMsg proc pCount:dword local buffer[128]:byte invoke ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_827.asm
ljhsiun2/medusa
9
52406
.global s_prepare_buffers s_prepare_buffers: push %r14 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1a0b4, %rsi lea addresses_D_ht+0x1cab4, %rdi clflush (%rdi) xor $41607, %rbx mov $52, %rcx rep movsq nop nop nop nop xor %r14, %r14 pop %rsi pop %rdi pop %rcx pop %rbx pop %r14 ret .global s_faulty_...
kernel/compiler/support.asm
paulscottrobson/color-forth-6502
0
52407
; ****************************************************************************** ; ****************************************************************************** ; ; Name : support.asm ; Purpose : Vocabulary Support Functions ; Author : <NAME> (<EMAIL>) ; Created : 1st October 2019 ; ; ************************...
programs/oeis/120/A120143.asm
karttu/loda
0
52408
<filename>programs/oeis/120/A120143.asm<gh_stars>0 ; A120143: a(1)=17; a(n)=floor((35+sum(a(1) to a(n-1)))/2). ; 17,26,39,58,87,131,196,294,441,662,993,1489,2234,3351,5026,7539,11309,16963,25445,38167,57251,85876,128814,193221,289832,434748,652122,978183,1467274,2200911,3301367,4952050,7428075,11142113,16713169 add $0...
Library/NetUtils/netUtilsManager.asm
steakknife/pcgeos
504
52409
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1994 -- All Rights Reserved PROJECT: Serial/IR Communcation project MODULE: Utilities FILE: netUtilsManager.asm AUTHOR: <NAME>, Apr 15, 1994 ROUTINES: Name Description ---- ----------- R...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1268.asm
ljhsiun2/medusa
9
52410
<filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_1268.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x2efc, %rdi nop nop nop nop nop and %rsi, %rsi movups (%rdi), %xmm5 vpextrq $1, %xmm5, %rbx no...
libsrc/_DEVELOPMENT/math/float/math48/z80/am48_acosh.asm
meesokim/z88dk
0
52411
<reponame>meesokim/z88dk<gh_stars>0 ; double acosh(double x) SECTION code_fp_math48 PUBLIC am48_acosh EXTERN am48_dpush, am48_dconst_1, am48_dsub, am48_sqrt EXTERN am48_dadd, am48_dmul_s, am48_dadd_s, am48_log, am48_dpopret am48_acosh: ; inverse hyperbolic cosine ; AC' = acosh(AC') ; ; enter : AC' = d...
programs/oeis/210/A210675.asm
karttu/loda
0
52413
<reponame>karttu/loda ; A210675: a(n)=a(n-1)+a(n-2)+n+4, a(0)=0, a(1)=1. ; 0,1,7,15,30,54,94,159,265,437,716,1168,1900,3085,5003,8107,13130,21258,34410,55691,90125,145841,235992,381860,617880,999769,1617679,2617479,4235190,6852702,11087926,17940663,29028625,46969325,75997988,122967352,198965380 mov $4,4 lpb $0,1 sub...
Transynther/x86/_processed/NC/_st_zr_sm_/i7-7700_9_0xca_notsx.log_21829_1586.asm
ljhsiun2/medusa
9
52414
.global s_prepare_buffers s_prepare_buffers: push %r13 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x48dc, %rbx clflush (%rbx) cmp %rax, %rax mov (%rbx), %r13 nop nop dec %rdx lea addresses_D_ht+0xb40c, %rdx add %rsi, %rsi mov (%rdx), %bx nop sub %rbx, %rbx lea addresses_UC_ht+0xffcc,...
compara2.asm
leo-ventura/computer-architecture
0
52415
<reponame>leo-ventura/computer-architecture ; Programa para o primeiro trabalho de programação no SimuS ; Alunos: <NAME> ; <NAME> ; <NAME> ; ; Grupo B ;------------------------------------------------------------- ; A ideia principal do programa é subtrair um número do outro ; usando primeiro a parte a...
x64.asm
scottgasch/typhoon
1
52416
%ifdef _X64_ [BITS 64] [SEGMENT .data] [EXTERN _g_VectorDelta] [EXTERN _g_PieceData] %ifdef OSX ;;; Note: The reason for this OSX stuff is that there is a bug in the mac ;;; version of nasm. See comments in data.c for more details. [GLOBAL g_NasmVectorDelta] [GLOBAL _g_NasmVectorDelta] g_NasmVectorDelta: _g...
Transynther/x86/_processed/NC/_st_zr_un_/i9-9900K_12_0xca_notsx.log_21829_453.asm
ljhsiun2/medusa
9
52417
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r8 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x10ad2, %rsi lea addresses_UC_ht+0x8796, %rdi nop lfence mov $44, %rcx rep movsl nop nop add $22443, %rdi lea addresses_A_ht+0x1926, %rsi lea addresses_A_ht+0x...
programs/oeis/063/A063160.asm
neoneye/loda
22
52418
<reponame>neoneye/loda<gh_stars>10-100 ; A063160: Dimension of the space of weight 2n cusp forms for Gamma_0( 92 ). ; 10,33,57,81,105,129,153,177,201,225,249,273,297,321,345,369,393,417,441,465,489,513,537,561,585,609,633,657,681,705,729,753,777,801,825,849,873,897,921,945,969,993,1017,1041,1065,1089,1113,1137 mul $0,...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_1138.asm
ljhsiun2/medusa
9
52420
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x19dc7, %rbp nop nop nop nop nop sub $52901, %r15 mov (%rbp), %r9 nop nop nop and %rcx, %rcx lea addresses_A_ht+0x15a39, %rdx nop nop nop nop nop cmp %rdi, %rdi...
programs/oeis/105/A105340.asm
karttu/loda
1
52421
<filename>programs/oeis/105/A105340.asm<gh_stars>1-10 ; A105340: a(n) = n*(n+1)/2 mod 2048. ; 0,1,3,6,10,15,21,28,36,45,55,66,78,91,105,120,136,153,171,190,210,231,253,276,300,325,351,378,406,435,465,496,528,561,595,630,666,703,741,780,820,861,903,946,990,1035,1081,1128,1176,1225,1275,1326,1378,1431,1485,1540,1596,1653...
asmlib/fmt.asm
listinvest/ASMLIB
1
52422
format ELF64 include "str.inc" public printf public input_string public input_number public print_string public print_bytes public print_number public print_hex public print_oct public print_bin public print_char public print_line section '.fmt_bss' writable fmt_buffer_size equ 20 fmt_buffer rb fmt_buffer_si...
Transynther/x86/_processed/US/_zr_/i9-9900K_12_0xca.log_16_60.asm
ljhsiun2/medusa
9
52423
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %r13 push %r9 push %rdi push %rdx // Store lea addresses_WC+0x137d0, %rdx nop nop nop nop nop add $25243, %r13 mov $0x5152535455565758, %r10 movq %r10, %xmm7 vmovups %ymm7, (%rdx) nop nop nop c...
Test/Z80/allsrc.asm
sparks-c16/zasm
43
52425
<reponame>sparks-c16/zasm #!/usr/local/bin/zasm -o original/ #target rom #code rom,$0000,$1000 ORG 0000H LD SP,23C0H JP RESTAR ORG 0008H BPENT: LD (STKPT),SP PUSH AF PUSH BC JR BPENT2 JP RST16 BPENT2: LD A,I ...
Transynther/x86/_processed/NC/_zr_/i3-7100_9_0x84_notsx.log_21829_3148.asm
ljhsiun2/medusa
9
52426
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x1a0aa, %r11 nop nop nop and $52544, %rbp mov (%r11), %r10d nop nop nop nop nop and $28629, %rdi lea addresses_A_ht+0xe0aa, %r8 nop nop nop nop nop sub %r9, %r9 movups (%r8), %x...
libsrc/_DEVELOPMENT/stdio/c/sdcc_iy/fprintf_unlocked.asm
jpoikela/z88dk
640
52427
<filename>libsrc/_DEVELOPMENT/stdio/c/sdcc_iy/fprintf_unlocked.asm ; int fprintf_unlocked(FILE *stream, const char *format, ...) SECTION code_clib SECTION code_stdio PUBLIC _fprintf_unlocked EXTERN asm_fprintf_unlocked defc _fprintf_unlocked = asm_fprintf_unlocked
oeis/219/A219094.asm
neoneye/loda-programs
11
52428
<gh_stars>10-100 ; A219094: n/(b*c), where b/c is the least reduced fraction > 1 using divisors b and c of n. ; Submitted by <NAME> ; 1,1,2,1,1,1,4,3,5,1,1,1,7,1,8,1,3,1,1,1,11,1,2,5,13,9,1,1,1,1,16,11,17,1,3,1,19,13,2,1,1,1,22,3,23,1,4,7,25,17,26,1,9,1,1,19,29,1,2,1,31,1,32,1,11,1,34,23,2,1,1,1,37,5,38,1,13,1,4,27,41,...
ioq3/build/release-js-js/baseq3/game/ai_main.asm
RawTechnique/quake-port
1
52429
export BotAI_Print code proc BotAI_Print 2056 16 ADDRLP4 0 ADDRFP4 4+4 ASGNP4 ADDRLP4 4 ARGP4 CNSTU4 2048 ARGU4 ADDRFP4 4 INDIRP4 ARGP4 ADDRLP4 0 INDIRP4 ARGP4 ADDRGP4 qk_vsnprintf CALLI4 pop ADDRLP4 0 CNSTP4 0 ASGNP4 ADDRLP4 2052 ADDRFP4 0 INDIRI4 ASGNI4 ADDRLP4 2052 INDIRI4 CNSTI4 1 LTI4 $56 ADDRLP4 2052 INDIRI4 CNST...
engine/battle/moveEffects/mist_effect.asm
AmateurPanda92/pokemon-rby-dx
9
52430
MistEffect_: ld hl, wPlayerBattleStatus2 ld a, [H_WHOSETURN] and a jr z, .mistEffect ld hl, wEnemyBattleStatus2 .mistEffect bit PROTECTED_BY_MIST, [hl] ; is mon protected by mist? jr nz, .mistAlreadyInUse set PROTECTED_BY_MIST, [hl] ; mon is now protected by mist callab PlayCurrentMoveAnimation ld hl, Shroude...
esame_20210702/palindroma/main.asm
samdsk/lab_arch2
0
52431
.data str: .asciiz "5kayyak5" .text .globl main main: la $a0 str jal palindroma move $s0 $v0 li $v0 10 syscall
lib/sub/fill-mem.asm
c64lib/common
7
52432
#import "../invoke.asm" /* * Fills memory at given address with given value. * IN: * A - value * X - count * Stack WORD - address * OUT: * none * MOD: A, X */ .namespace c64lib { fillMem: { sta value + 1 // preserve A for later usage invokeStackBegin(returnPtr) pullParamW(address + 1) valu...
_build/dispatcher/jmp_ippsRSA_GetBufferSizePrivateKey_857f3d62.asm
zyktrcn/ippcp
1
52434
extern m7_ippsRSA_GetBufferSizePrivateKey:function extern n8_ippsRSA_GetBufferSizePrivateKey:function extern y8_ippsRSA_GetBufferSizePrivateKey:function extern e9_ippsRSA_GetBufferSizePrivateKey:function extern l9_ippsRSA_GetBufferSizePrivateKey:function extern n0_ippsRSA_GetBufferSizePrivateKey:function extern k0_ipps...
libsrc/rect/RIsIvalInIval8.asm
jpoikela/z88dk
640
52435
; Rectangle, Intervals and Points ; 05.2006 aralbrec SECTION code_clib PUBLIC RIsIvalInIval8 ; Determine if two 8-bit intervals intersect. Intervals ; can wrap across 0-255 boundary. Amazingly this test ; reduces to detecting whether either of the start points ; of each interval lie in the other interval. ; ; ente...
programs/oeis/314/A314218.asm
karttu/loda
0
52436
; A314218: Coordination sequence Gal.5.304.2 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,5,11,17,22,28,33,39,45,50,55,61,67,72,78,83,89,95,100,105,111,117,122,128,133,139,145,150,155,161,167,172,178,183,189,195,200,205,211,217,...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_277_2178.asm
ljhsiun2/medusa
9
52437
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x109b, %rsi lea addresses_UC_ht+0x10b9b, %rdi nop inc %r8 mov $82, %rcx rep movsw nop dec %rcx lea addresses_WC_ht+0xf71b, %rsi lea addresses_WC_ht+0xd39b, %rdi clflu...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_1982.asm
ljhsiun2/medusa
9
52438
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r15 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x11927, %rsi lea addresses_normal_ht+0x15c27, %rdi nop nop dec %r15 mov $64, %rcx rep movsq nop and %rax, %rax pop %rsi pop %rdi pop %rcx pop %rax pop %r15 ret .global s_faulty_load s_...
decompress.asm
santosha2003/konami-compression-tool-variant
5
52439
; =============================================================== ; NOTICE ; =============================================================== ; The following snippet is the original decompression code by ; Konami, diassembled from the "Contra Hard Corps" ROM. ; ; The code syntax targets the ASM68K assembler. ;...
iree/hal/local/elf/arch/x86_64_msvc.asm
kintel/iree
0
52440
<gh_stars>0 ; Copyright 2021 The IREE Authors ; ; Licensed under the Apache License v2.0 with LLVM Exceptions. ; See https://llvm.org/LICENSE.txt for license information. ; SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception ; Microsoft x64 calling convention: ; https://docs.microsoft.com/en-us/cpp/build/x64-calli...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0.log_21829_711.asm
ljhsiun2/medusa
9
52442
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r14 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x45c6, %rsi lea addresses_A_ht+0xe046, %rdi nop nop add %r10, %r10 mov $113, %rcx rep movsb nop nop nop nop nop add %r14, %r14 lea addresses_WC_ht+0x3806, %rsi lea addresses_U...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_715_1602.asm
ljhsiun2/medusa
9
52444
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x30d8, %rbx nop nop nop sub %rdi, %rdi movw $0x6162, (%rbx) nop nop nop nop nop cmp %rsi, %rsi lea addresses_WC_ht+0x130d8, %rsi lea addresses_A_ht+0xe6d8, %rdi nop nop nop nop...
stage2/sys/gdt.asm
Supercip971/limine
2
52445
<reponame>Supercip971/limine<filename>stage2/sys/gdt.asm section .data global gdt gdt: dw .size - 1 ; GDT size dd .start ; GDT start address .start: ; Null desc dq 0 ; 16-bit code dw 0xffff ; Limit dw 0x0000 ; Base (low 16 bits) db 0x00 ; Base (mid 8 bi...
hw4.asm
CZhang1997/MIPS-learning
0
52446
.data ok: .asciiz "data is ok" # if checkParity return 0 bad: .asciiz "data has been corrupted" # if checkParity return 1 fout: .asciiz "input.txt" size: .word 1 buffer: .space 100 buffer2: .space 100 #"The quick brown fox jumped over the lazy river." length 47 .text ##############################################...
programs/oeis/142/A142020.asm
neoneye/loda
22
52447
<reponame>neoneye/loda ; A142020: Primes congruent to 16 mod 31. ; 47,109,233,419,853,977,1039,1163,1597,1721,1783,1907,2341,2713,2837,3023,3209,3271,3457,3581,3643,3767,4139,4201,4759,5441,5503,5689,5813,6247,6619,6991,7177,7487,7549,7673,8231,8293,9161,9533,9719,9781,9967,10091,10463,10711,11083,11393,11579,11827,123...
examples/armv7/hello-world.asm
patrickf2000/upl
0
52448
.data .d_STR0: .ascii "Hello, world!\000" .text .global main .extern puts .extern printf .extern exit .extern fflush .extern input_int .extern print_int main: push {fp, lr} add fp, sp, #4 sub sp, sp, #16 ldr r0, .STR0 bl puts sub sp, fp, #4 pop {fp, pc} .STR0: .word .d_STR0
stage1/graphics_colour_menu.asm
amrwc/8086-graphics
5
52450
Graphics_Colour_Menu: mov ax, 0003h ; Clear screen int 10h call Colour_Menu ;____________________ colour_menu_get_key: xor ah, ah ; Get a keystroke int 16h cmp ah, 01h ; exit jne colour_menu_...
dev/emm386/vminst.asm
minblock/msdos
0
52451
.386p page 58,132 ;****************************************************************************** title VMINST.ASM - Virtual Mode GP fault instruction emulation ;****************************************************************************** ; ; (C) Copyright MICROSOFT Corp. 1986-1991 ; (C) Copyright COMPAQ Compute...
src/ppu/nametable.asm
freem/nes_corelib
16
52452
; File: ppu/nametable.asm ; Nametable-focused PPU routines. ;==============================================================================; ; todo: Finish adding attribute table routines ;==============================================================================; ; Routine: ppu_clearNT ; Clears the speci...
QSS/src/kernel/serial/detect.asm
vbmacher/qsOS
1
52454
; ; SERIAL.ASM ; ; (c) Copyright 2005, vbmacher ; ; Tento modul patri ku urovni 1 ; .model compact .386 .data irq dw ? imr db ? ier db ? lcr db ? mcr db ? .code extrn _PORT: word ;int detectUART() ;POZOR: musi byt nastaveny PORT public _detectUART _detectUART proc near push dx mov dx, word ptr [_PORT] add d...
Examples/conversion-routines/wordbcd2bin.asm
agguro/linux-nasm
6
52455
;name: wordbcd2bin.asm ; ;description: wordbcd2bin: packed bcd word to binary conversion. ; ;use: ;packed bcd: mov rdi,packedbcd ; call wordbcd2bin ; ;build: nasm -felf64 wordbcd2bin.asm -o wordbcd2bin.o bits 64 global wordbcd2bin section .text wordbcd2bin: ;convert packed bcd in AX to ...
oeis/159/A159036.asm
neoneye/loda-programs
11
52456
; A159036: a(0)=0, a(1)=1, a(2)=4, a(3)=13; thereafter a(n+3)=4*a(n+2)-4*a(n+1)+2*a(n) for n>=1. ; Submitted by <NAME>(s2) ; 0,1,4,13,38,108,306,868,2464,6996,19864,56400,160136,454672,1290944,3665360,10407008,29548480,83896608,238206528,676336640,1920313664,5452321152,15480703232,43954155648,124798451968,354338591744,...
decreasoner.macosx/software/relsat-dist/gmp-3.1/mpn/x86/k7/mmx/popham.asm
problem-frames/openpf
1
52458
<gh_stars>1-10 dnl AMD K7 mpn_popcount, mpn_hamdist -- population count and hamming dnl distance. dnl dnl K7: popcount 5.0 cycles/limb, hamdist 6.0 cycles/limb dnl Copyright (C) 2000 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; y...
1/04.asm
Changlon/x86Assembly
0
52459
start: ; 65535 / 10 = 6553 ... 5 xor dx,dx ;异或 相同 0 不同 1 mov ax, 0xffff mov bx, 0xa div bx add dl , 0x30 ;数字字符 mov cx,0 mov ds,cx mov [0x7c00 + buffer] , dl xor dx,dx div bx add dl , 0x30 mov [0x7c00 + buffer + 1] , dl xor dx,dx div bx add dl , 0x30 mov [0x7c00 + buffer + 2] , dl ...
smsq/uq/instr.asm
olifink/smsqe
0
52460
<reponame>olifink/smsqe ; Locate String Within String  1990 <NAME> section uq xdef uq_instr xdef uq_cinstr xref uq_otabn ;+++ ; Locates string (a1) within string (a0) (case independent) ; ; d0 r returns 0 (no match) or position + 1 ; d1-d4 scratch ; a0 c s pointer to string ; a1 c s pointer to string ; stat...
exercises/exercise13/test12-3.asm
Dark15/assembly
1
52461
<reponame>Dark15/assembly<gh_stars>1-10 hello_sector equ 100 mov ax, 0xb800 mov es, ax and di, 0 mov dx, 0x1f2 mov al, 2 out dx, al inc dx mov al, hello_sector out dx, al inc dx and al, 0 out dx, al inc dx out dx, al inc dx mov al, 0xe0 out dx, al inc dx mov al, 0x20 out dx, al waits: in al, dx and al, 0b1...
Appl/Preferences/PrefMgr/prefmgrDynamic.asm
steakknife/pcgeos
504
52462
<filename>Appl/Preferences/PrefMgr/prefmgrDynamic.asm COMMENT @--------------------------------------------------------------------- Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: GEOS MODULE: FILE: prefmgrDynamic.asm AUTHOR: Cheng, 1/90 ROUTINES: Name Description ---- ----------...
programs/oeis/055/A055958.asm
neoneye/loda
22
52464
<reponame>neoneye/loda ; A055958: a(n) = n + reversal of base 9 digits of n (written in base 10). ; 0,2,4,6,8,10,12,14,16,10,20,30,40,50,60,70,80,90,20,30,40,50,60,70,80,90,100,30,40,50,60,70,80,90,100,110,40,50,60,70,80,90,100,110,120,50,60,70,80,90,100,110,120,130,60,70,80,90,100,110,120,130,140,70,80,90,100,110,120,...
pd-x16-editor.asm
lvcabral/x16-petdraw
0
52465
//Petdraw (Commander X16 version) //by <NAME> 2019 //<EMAIL> // //Converted to KickAssembler //by <NAME> 2020 //https://github.com/lvcabral SHIFT_LINE_RIGHT: lda SCR_SIZE_X sec sbc #1 sta XTEMP lda #%00010000 //INCREMENT SET TO 1 sta VERA_INC //FIRST GRAB RIGHT CHARACTER+COLOR FOR STORAGE ...
programs/oeis/078/A078772.asm
neoneye/loda
22
52467
<reponame>neoneye/loda ; A078772: a(n) = phi(n-p) where p is largest prime < n, a(1) = a(2) = 1 by convention. ; 1,1,1,1,1,1,1,1,1,2,2,1,1,1,1,2,2,1,1,1,1,2,2,1,1,2,2,4,2,1,1,1,1,2,2,4,2,1,1,2,2,1,1,1,1,2,2,1,1,2,2,4,2,1,1,2,2,4,2,1,1,1,1,2,2,4,2,1,1,2,2,1,1,1,1,2,2,4,2,1,1,2,2,1,1,2,2,4,2,1,1,2,2,4,2,6,4,1,1,2 trn $0...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_454.asm
ljhsiun2/medusa
9
52468
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1dad4, %r10 nop nop nop dec %rcx mov (%r10), %ebp nop nop nop and $57258, %rdi lea addresses_UC_ht+0x17ed4, %rsi lea addresses_normal_ht+0x7c5c,...
oeis/324/A324294.asm
neoneye/loda-programs
11
52469
; A324294: a(n) = A002487(1+sigma(n)). ; Submitted by <NAME> ; 1,1,3,1,3,5,4,1,3,7,5,7,4,7,7,1,7,3,8,13,6,11,7,9,1,13,11,10,5,15,6,1,9,11,9,7,10,9,10,19,13,11,12,21,13,15,9,11,7,9,15,16,11,13,15,13,14,19,9,29,6,11,18,1,21,19,14,7,11,19,15,9,18,17,11,22,11,29,14,25,9,7,21,16,19,17,13,31,19,29,13,29,8,19,13,13,16,13,23,1...
programs/oeis/050/A050487.asm
neoneye/loda
22
52470
<gh_stars>10-100 ; A050487: Geometric Connell sequence: start with 1; then next two numbers == 2 mod 3; next four == 3 mod 3; next eight == 1 mod 3; etc. ; 1,2,5,6,9,12,15,16,19,22,25,28,31,34,37,38,41,44,47,50,53,56,59,62,65,68,71,74,77,80,83,84,87,90,93,96,99,102,105,108,111,114,117,120,123,126,129,132,135,138,141,14...
programs/oeis/043/A043677.asm
karttu/loda
1
52471
<filename>programs/oeis/043/A043677.asm ; A043677: Numbers n such that base 16 representation has exactly 4 runs. ; 4112,4114,4115,4116,4117,4118,4119,4120,4121,4122,4123,4124,4125,4126,4127,4128,4129,4131,4132,4133,4134,4135,4136,4137,4138,4139,4140,4141,4142,4143,4144,4145,4146,4148,4149,4150 mov $2,15 add $2,$0 div...
mpn/asm/intel64/mpi_mont_reduction_m7as.asm
kiranzhan/libmpi
10
52472
;=============================================================================== ; Copyright 2015-2020 Intel Corporation ; ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; ; http://www.apa...
obj_files/print.asm
blaz-r/SIC-XE-simulator
0
52473
<filename>obj_files/print.asm print START 0 LDX #0 LOOP LDCH TEXT,X WD OUTPUT TIX #LEN JLT LOOP HALT J HALT OUTPUT BYTE X'11' TEXT BYTE C'SIC/XE' BYTE 10 LAST EQU * LEN EQU LAST - TEXT
dino/lcs/base/63F6.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
52474
copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 0016CA move.l (A0)+, D0 [enemy+2A, etc+28, etc+2A] 0016CC move.l (A0)+, D1 [base+6076, base+60F6, base+6176, base+61F6, base+6276, base+62F6, base+6376, base+63F6, base+6476, base+64F6, base+6576] 014802 mov...
Layer2Graphics/layer2_draw_box.asm
ped7g/EliteNext
9
52476
<reponame>ped7g/EliteNext<gh_stars>1-10 ; "l2_draw_thick_box bc=rowcol, de=heightwidth h=color" ; TODO DMA Optimise l2_draw_fill_box: push bc,,de,,hl ld d,e ld e,h call l2_draw_horz_line ; "bc = left side row,co...
data/player_names.asm
Dev727/ancientplatinum
28
52477
ChrisNameMenuHeader: db MENU_BACKUP_TILES ; flags menu_coords 0, 0, 10, TEXTBOX_Y - 1 dw .MaleNames db 1 ; ???? db 0 ; default option .MaleNames: db STATICMENU_CURSOR | STATICMENU_PLACE_TITLE | STATICMENU_DISABLE_B ; flags db 5 ; items db "NEW NAME@" MalePlayerNameArray: db "CHRIS@" db "MAT@" db "ALLAN@" d...
assembly/bubble_sort.asm
classmember/proof_of_concept
0
52478
;; Bubble Sort in assembly ;; ;; explanation by: ;; <NAME> ;; github.com/classmember ;; ;; source: ;; <NAME> Official ;; youtube.com/watch?v=0H6i6_Cqlfw ;; start: data: dw 3, 8, 1, 9, 12, 5, 13, 2, 6, 7 ;; initialize data array swap: db 0 ;; initialize swap used to temporarily sto...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_711.asm
ljhsiun2/medusa
9
52480
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0xff63, %rbp nop nop nop sub %rdi, %rdi mov (%rbp), %r15d nop nop nop nop xor %r10, %r10 lea addresses_A_ht+0xfc63, %rsi lea addresses_UC_ht+0x53e3, %r...
src/fx/mirrorfloor.asm
bitshifters/teletextr
8
52481
<reponame>bitshifters/teletextr ; quick & dirty mirrored floor effect ; copied from Kieran's mode7-sprites cracktro wip ; hardcoded to only take top row of pixels from a row .start_fx_mirrorfloor MIRROR_shadow_addr = MODE7_VRAM_SHADOW MIRROR_read_row = 21 ; and the 8 rows above it MIRROR_write_row = 22 ; and th...
contrib/libs/cxxsupp/openmp/z_Windows_NT-586_asm.asm
HeyLey/catboost
6,989
52482
; z_Windows_NT-586_asm.asm: - microtasking routines specifically ; written for IA-32 architecture and Intel(R) 64 running Windows* OS ; ;//===----------------------------------------------------------------------===// ;// ;// The LLVM Compiler Infrastructure ;// ;// This file is dual licensed ...
nasm assembly/extras/graph.asm
AI-Factor-y/NASM-library
0
52483
section .data msg1 : db 'debug here --',10 l1 : equ $-msg1 msg2 : db 'enter a string : ' l2 : equ $-msg2 space:db ' ' newline:db '',10 nwl :db ' ',10 nwl_l : equ $-nwl section .bss string :resb 50 string_len : resw 1 temp : resb 1 section .text global _start _start: mov AX, 0013h int 13h ...
x64/boot.asm
soyum2222/inject-pe
3
52485
BITS 64 %macro OFFSET 0 push $ call getOffsetAddr %endmacro ;%macro BaseAddr 0 ; push $ ; call getBaseAddr ;%endmacro jmp ENTRY OC: db ORIGIN_CODE db 0x00 ENTRY: push rbp mov rbp , rsp sub rsp , 0x40 ; BaseAddr ; mov [rbp - 0x08] , rax O...
_build/dispatcher/jmp_ippsAES_GCMGetTag_ba28e7f3.asm
zyktrcn/ippcp
1
52486
<gh_stars>1-10 extern m7_ippsAES_GCMGetTag:function extern n8_ippsAES_GCMGetTag:function extern y8_ippsAES_GCMGetTag:function extern e9_ippsAES_GCMGetTag:function extern l9_ippsAES_GCMGetTag:function extern n0_ippsAES_GCMGetTag:function extern k0_ippsAES_GCMGetTag:function extern ippcpJumpIndexForMergedLibs extern ippc...
programs/oeis/184/A184734.asm
jmorken/loda
1
52487
<filename>programs/oeis/184/A184734.asm<gh_stars>1-10 ; A184734: a(n)=floor(nr+h), where r=(1+sqrt(5))/2, h=1/3; complement of A184735. ; 1,3,5,6,8,10,11,13,14,16,18,19,21,22,24,26,27,29,31,32,34,35,37,39,40,42,44,45,47,48,50,52,53,55,56,58,60,61,63,65,66,68,69,71,73,74,76,77,79,81,82,84,86,87,89,90,92,94,95,97,99,100,...
Assembly/Exercise code/5.asm
XU-99/ONE
1
52488
TITLE Loop1 INCLUDE Irvine32.inc .data Message byte "please enter first number =",0 Message2 byte "please enter second number =",0 Message3 byte "please enter thrid number = ",0 m byte ? n byte ? s byte ? Message4 byte "this is a triangle",0 Message5 by...
oeis/002/A002412.asm
neoneye/loda-programs
11
52489
<filename>oeis/002/A002412.asm ; A002412: Hexagonal pyramidal numbers, or greengrocer's numbers. ; 0,1,7,22,50,95,161,252,372,525,715,946,1222,1547,1925,2360,2856,3417,4047,4750,5530,6391,7337,8372,9500,10725,12051,13482,15022,16675,18445,20336,22352,24497,26775,29190,31746,34447,37297,40300,43460,46781,50267,53922,577...
target/cos_117/disasm/iop_overlay1/XJSTAT.asm
jrrk2/cray-sim
49
52491
0x0000 (0x000000) 0x2104- f:00020 d: 260 | A = OR[260] 0x0001 (0x000002) 0x290D- f:00024 d: 269 | OR[269] = A 0x0002 (0x000004) 0x2104- f:00020 d: 260 | A = OR[260] 0x0003 (0x000006) 0x1403- f:00012 d: 3 | A = A + 3 (0x0003) ...
oeis/141/A141498.asm
neoneye/loda-programs
11
52492
<filename>oeis/141/A141498.asm ; A141498: A010696(n-1)* A086892(n). ; Submitted by <NAME> ; 2,6,2,30,2,42,2,30,2,66,46,2730,2,6,2,510,2,798,2,1650,2,138,94,2730,2,6,2,870,2,14322,2,510,46,6,142,140100870,2,6,2,67650,2,12642,862,690,2,282,2,4501770,2,66,2,1590,2,798,46,870,2,354,2,283933650,2,6,2,510,2 mov $2,3 mov $3,...
src/z3/randomizer/catfish.asm
PJBoy/alttp_sm_combo_randomizer_rom
31
52495
;================================================================================ ; Randomize Catfish ;-------------------------------------------------------------------------------- LoadCatfishItemGFX: LDA.l $1DE185 ; location randomizer writes catfish item to JSL.l PrepDynamicTile RTL ;-------------------------...
c2000/C2000Ware_1_00_06_00/libraries/dsp/VCU/c28/source/vcu2/viterbi/vcu2_viterbi_k4_cr12.asm
ramok/Themis_ForHPSDR
0
52497
<filename>c2000/C2000Ware_1_00_06_00/libraries/dsp/VCU/c28/source/vcu2/viterbi/vcu2_viterbi_k4_cr12.asm ;;***************************************************************************** ;;! \file source/vcu2/vcu2_viterbi_k4_cr12_plc.asm ;;! ;;! \brief Viterbi Decoding K = 4, CR = 1/2 ;; ;; \date Feb 12, 2013 ;;! ;; ...
programs/oeis/260/A260112.asm
neoneye/loda
22
52498
; A260112: Minimal number of steps to get from 0 to n by (a) adding 1 or (b) multiplying by 4. ; 0,1,2,3,2,3,4,5,3,4,5,6,4,5,6,7,3,4,5,6,4,5,6,7,5,6,7,8,6,7,8,9,4,5,6,7,5,6,7,8,6,7,8,9,7,8,9,10,5,6,7,8,6,7,8,9,7,8,9,10,8,9,10,11,4,5,6,7,5,6,7,8,6,7,8,9,7,8,9,10,5,6,7,8,6,7,8,9,7,8,9,10,8,9,10,11,6,7,8,9 lpb $0 lpb $...
LKS/Fade.asm
Kannagi/Super-Kannagi-Sound
11
52501
<filename>LKS/Fade.asm LKS_Fade_in: lda LKS_FADE +_fdphase cmp #0 beq + rtl +: lda LKS_FADE +_fdbrg sta INIDISP ldy LKS_FADE +_fdtimer cpy #2 bne + ina stz LKS_FADE +_fdtimer bra ++ +: inc LKS_FADE +_fdtimer ++: cmp #$10 bne + lda #$0F sta INIDISP inc LKS_FADE +_fdphase stz LKS_FAD...
oeis/142/A142005.asm
neoneye/loda-programs
11
52502
<reponame>neoneye/loda-programs ; A142005: Primes congruent to 1 mod 31. ; Submitted by <NAME> ; 311,373,683,1117,1303,1427,1489,1613,1861,2357,2543,2729,2791,3163,3659,3907,4093,4217,4651,5023,5147,5209,5333,5519,5581,5953,6263,6449,6883,7069,7193,7937,8123,8681,8867,8929,9239,9859,10169,10789,11161,11471,11657,11719,...
asm/vdpio.asm
artrag/voicenc_scc
4
52504
<reponame>artrag/voicenc_scc ;------------------------------------- _cls: ld c,0 ld d,c ld e,c di call _vdpsetvramwr ld b,c ld e,1 xor a 1: out (0x98),a cpi jp pe,1b dec e jp nz,1b ret ;------------------------------------- vdpport1 equ 0x99 vdpport2 equ 0x9A...
libsrc/_DEVELOPMENT/compress/zx0/c/sdcc/dzx0_mega.asm
ahjelm/z88dk
640
52505
; void dzx0_mega(void *src, void *dst) SECTION code_clib SECTION code_compress_zx0 PUBLIC _dzx0_mega EXTERN asm_dzx0_mega _dzx0_mega: pop af pop hl pop de push de push hl push af jp asm_dzx0_mega
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0_notsx.log_21829_1063.asm
ljhsiun2/medusa
9
52506
<filename>Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0_notsx.log_21829_1063.asm .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r8 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi // Store lea addresses_UC+0x3ba, %rbp nop nop nop ...
main.asm
nesdoug/SNES_11
3
52508
; example 11 SNES code .p816 .smart .include "regs.asm" .include "variables.asm" .include "macros.asm" .include "init.asm" .include "unrle.asm" .include "HDMA1.asm" .include "HDMA2.asm" .include "HDMA3.asm" .include "HDMA4.asm" .include "HDMA5.asm" .segment "CODE" ; enters here in forced blank Main: .a16 ; t...