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/006/A006244.asm
neoneye/loda
22
122804
<gh_stars>10-100 ; A006244: Hexagonal numbers (A000384) which are also centered hexagonal numbers (A003215). ; 1,91,8911,873181,85562821,8384283271,821574197731,80505887094361,7888755361049641,773017519495770451,75747828155224454551,7422514141692500775541,727330638057709851548461,71270980015513872950973631,698382871088...
Examples/ch08/ArrySum.asm
satadriver/LiunuxOS_t
0
122805
<filename>Examples/ch08/ArrySum.asm TITLE ArraySum Optimization (ArrySum.asm) INCLUDE Irvine32.inc Optimized = 1 .data Array DWORD 50 DUP(5) .code main PROC push LENGTHOF Array push OFFSET Array call ArraySum add sp,8 call WriteDec ; display the sum call Crlf exit main ENDP Comment...
libsrc/_DEVELOPMENT/temp/sp1/zx/updater/asm_sp1_DrawUpdateStructIfInv.asm
jpoikela/z88dk
640
122806
; sp1_DrawUpdateStructIfInv(struct sp1_update *u) ; 12.2006 aralbrec, Sprite Pack v3.0 ; sinclair spectrum version ; FASTCALL SECTION code_clib SECTION code_temp_sp1 PUBLIC asm_sp1_DrawUpdateStructIfInv EXTERN SP1DrawUpdateStruct ; Draw the char's graphics to screen but only ; if the update struct is currently in...
c6ers/msd200a/chips.asm
minblock/msdos
0
122807
dosseg .model large .data control dw 0 ; control word needed for the NDP test .code PUBLIC _chips EXTRN is386:FAR _chips PROC FAR push BP ; save where Ur at mov BP,SP ; going in..... push...
audio/sfx/battle_32.asm
AmateurPanda92/pokemon-rby-dx
9
122808
SFX_Battle_32_Ch4: duty 2 pitchenvelope 10, -7 squarenote 8, 15, 1, 1792 pitchenvelope 0, 0 endchannel SFX_Battle_32_Ch5: duty 3 squarenote 8, 15, 1, 1793 endchannel
firmware/kernal/filesystems.asm
QuorumComp/hc800
2
122809
INCLUDE "lowlevel/math.i" INCLUDE "lowlevel/memory.i" INCLUDE "lowlevel/rc800.i" INCLUDE "stdlib/stream.i" INCLUDE "stdlib/string.i" INCLUDE "stdlib/syscall.i" INCLUDE "blockdevice.i" INCLUDE "fat32.i" INCLUDE "filesystems.i" INCLUDE "uartfs.i" INCLUDE "uart_commands.i" INCLUDE "uart_commands...
programs/oeis/278/A278818.asm
neoneye/loda
22
122811
; A278818: a(n) is the least k > n such that k + n is square. ; 1,3,7,6,5,11,10,9,17,16,15,14,13,23,22,21,20,19,31,30,29,28,27,26,25,39,38,37,36,35,34,33,49,48,47,46,45,44,43,42,41,59,58,57,56,55,54,53,52,51,71,70,69,68,67,66,65,64,63,62,61,83,82,81,80,79,78,77,76,75,74,73,97,96,95,94,93,92,91,90,89,88,87,86,85,111,110...
bsz.asm
Edilbert/BSZ
1
122812
************************************* * BSZ = Bit Shifter's Z interpreter * * for MEGA65 26-Oct-2020 * ************************************* .CPU 45GS02 *********************** * Commodore KEY codes * *********************** KEY_F1 = 133 KEY_F3 = 134 KEY_F5 = 135 KEY_F7 = 136 KEY_F...
oeis/247/A247526.asm
neoneye/loda-programs
11
122813
<gh_stars>10-100 ; A247526: a(n) = L(n+1) * L(n) * L(n-1) * L(n-2) / 6, where L(n) = Lucas numbers (A000032). ; Submitted by <NAME> ; -1,-1,4,14,154,924,6699,44979,310764,2123554,14571974,99833524,684385079,4690541639,32150245204,220358978774,1510368355474,10352204457804,70955102255139,486333408161979,3333379024971324,...
Lab-Midsem/Q3.asm
Kaiser784/CO-lab-Submissions
3
122814
global _start section .text ;<======= Printing an integer =========> print_integer: mov ebx, 10 div ebx ;dividing the number in eax to get remainder add edx, '0' ;converting the remainder to ascii push edx ;pushing the remainder to stack xor...
src/intel/tools/tests/gen7/wait.asm
SoftReaper/Mesa-Renoir-deb
0
122815
wait(1) n0<1>.xUD { align16 WE_all 1N }; wait(1) n0<1>.yUD { align16 WE_all 1N }; wait(1) n0<1>.zUD { align16 WE_all 1N };
kernel/nano_core/src/boot/arch_x86_64/defines.asm
jacob-earle/Theseus
1,822
122816
<reponame>jacob-earle/Theseus<filename>kernel/nano_core/src/boot/arch_x86_64/defines.asm<gh_stars>1000+ %ifndef __DEFINES_ASM %define __DEFINES_ASM ; This must match the `ApTrampolineData` struct definitions used in `bring_up_ap()`. ; See that struct definition for an explanation of how these are used. ; The following...
engine/battle/move_effects/pay_day.asm
Dev727/ancientplatinum
28
122817
<filename>engine/battle/move_effects/pay_day.asm BattleCommand_PayDay: ; payday xor a ld hl, wStringBuffer1 ld [hli], a ldh a, [hBattleTurn] and a ld a, [wBattleMonLevel] jr z, .ok ld a, [wEnemyMonLevel] .ok add a ld hl, wPayDayMoney + 2 add [hl] ld [hld], a jr nc, .done inc [hl] dec hl jr nz, .done ...
programs/oeis/183/A183300.asm
jmorken/loda
1
122818
<gh_stars>1-10 ; A183300: Positive integers not of the form 2n^2. ; 1,3,4,5,6,7,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,9...
Architecture/a6/asm/xbsywt.asm
DulceWRLD/College
2
122819
; These are the transmitter / receiver functions for I/O xbsywt: lodd 4095 ; Transmitter address (output loop) subd mask: jneg xbsywt: retn
examples/count_chars.asm
AbdulrahmanAbumdas/emu8086
287
122820
<filename>examples/count_chars.asm ; counts the number of characters of a zero terminated string. name "counter" org 100h jmp start str1 db 'abcdefg hijklmnop qrstvuwxyz', 0 start: lea bx, str1 ; load address of string. mov ax, 0 ; reset counter. compare: cmp [bx], 0 ; is it end of string? je don...
programs/oeis/125/A125082.asm
karttu/loda
1
122821
<filename>programs/oeis/125/A125082.asm ; A125082: a(n) = n^4 - n^3 - n^2 - n - 1. ; -1,-3,1,41,171,469,1037,2001,3511,5741,8889,13177,18851,26181,35461,47009,61167,78301,98801,123081,151579,184757,223101,267121,317351,374349,438697,511001,591891,682021,782069,892737,1014751,1148861,1295841,1456489,1631627,1822101,2028...
libsrc/_DEVELOPMENT/adt/p_forward_list_alt/c/sccz80/p_forward_list_alt_prev.asm
jpoikela/z88dk
640
122822
; void *p_forward_list_alt_prev(forward_list_alt_t *list, void *item) SECTION code_clib SECTION code_adt_p_forward_list_alt PUBLIC p_forward_list_alt_prev EXTERN p_forward_list_prev defc p_forward_list_alt_prev = p_forward_list_prev ; SDCC bridge for Classic IF __CLASSIC PUBLIC _p_forward_list_alt_prev defc _p_fo...
hookflash-core/webRTC/webRTC_ios/third_party/libvpx/source/config/win/ia32/asm_enc_offsets.asm
ilin-in/OP
1
122823
vp8_block_coeff EQU 4 vp8_block_zbin EQU 20 vp8_block_round EQU 28 vp8_block_quant EQU 8 vp8_block_quant_fast EQU 12 vp8_block_zbin_extra EQU 32 vp8_block_zrun...
example/codechef/practice/easy/HS08TEST/src/_start.asm
nikAizuddin/lib80386
4
122824
; 1 2 3 4 5 6 7 ;234567890123456789012345678901234567890123456789012345678901234567890 ;===================================================================== ; ; ATM ; HS08TEST ; ;-----------------------------...
oeis/275/A275856.asm
neoneye/loda-programs
11
122825
<filename>oeis/275/A275856.asm ; A275856: a(n) = floor(c*s*a(n-1)) + floor(d*r*a(n-2)), where r = (1+sqrt(5))/2, s = r/(r-1), c = 1, d = 1, a(0) = 1, a(1) = 1. ; Submitted by <NAME> ; 1,1,3,8,24,74,231,723,2265,7098,22246,69724,218533,684941,2146791,6728628,21089356,66099798,207174811,649342415,2035216397,6378923798,19...
asm/masm32/dpack/tacr2/dcolor.asm
dindoliboon/archive
4
122826
<filename>asm/masm32/dpack/tacr2/dcolor.asm<gh_stars>1-10 ; ######################################################################### .386 .model flat, stdcall option casemap :none ; case sensitive ; ######################################################################### include \masm32\include\w...
oeis/290/A290325.asm
neoneye/loda-programs
11
122827
<filename>oeis/290/A290325.asm ; A290325: Number of minimal dominating sets (and maximal irredundant sets) in the complete tripartite graph K_{n,n,n}. ; 3,15,30,51,78,111,150,195,246,303,366,435,510,591,678,771,870,975,1086,1203,1326,1455,1590,1731,1878,2031,2190,2355,2526,2703,2886,3075,3270,3471,3678,3891,4110,4335,4...
platforms_startup/armcc/LPC1768/startup_LPC17xx.asm
crespo2014/cpputest-fork
1
122829
<filename>platforms_startup/armcc/LPC1768/startup_LPC17xx.asm ;/***************************************************************************** ; * @file: startup_LPC17xx.s ; * @purpose: CMSIS Cortex-M3 Core Device Startup File ; * for the NXP LPC17xx Device Series ; * @version: V1.20 ; * @date: 07. Octob...
kVideo.asm
satadriver/LiunuxOS
0
122830
.386p ;comment @ ;public __showTextRM16 ;comment Kernel Segment public para use32 assume cs:Kernel ;112 640*480*16m ;115 800*600*16m ;118 1024*768*16m ;11b 1280 1024 24 ;你会发现这里送入bx的是0x4111而不是0x111,这是为什么呢?这主要是因为, ;我们要使用线性地址模式,也就是说通过直接访问物理内存空存来访问所有的显存空间, ;因此,这时的送入bx的就应当是0x4000|模式号, ;对于此处就是:0x4000 | 0...
oeis/198/A198862.asm
neoneye/loda-programs
11
122831
<reponame>neoneye/loda-programs ; A198862: Sum of the n-th antidiagonal in the triangle A192011. ; Submitted by <NAME> ; -1,2,2,2,3,1,-1,-3,-6,-7,-6,-3,3,10,16,19,16,6,-10,-29,-45,-51,-41,-12,33,84,125,137,104,20,-105,-242,-346,-366,-261,-19,327,693,954,973,646,-47,-1001,-1974,-2620,-2573,-1572,402,3022 mov $1,1 lpb $...
oeis/057/A057588.asm
neoneye/loda-programs
11
122832
<reponame>neoneye/loda-programs<filename>oeis/057/A057588.asm ; A057588: Kummer numbers: -1 + product of first n consecutive primes. ; Submitted by <NAME> ; 1,5,29,209,2309,30029,510509,9699689,223092869,6469693229,200560490129,7420738134809,304250263527209,13082761331670029,614889782588491409,32589158477190044729,1922...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_197.asm
ljhsiun2/medusa
9
122833
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x6daa, %rsi lea addresses_D_ht+0x1407a, %rdi nop nop nop dec %rax mov $111, %rcx rep movsq and $38483, %r11 lea addresses_D_ht+0x1e36a, %r13 dec %rdi mov (%r13), %ax and $60386, %r11 pop %rsi po...
programs/oeis/133/A133201.asm
jmorken/loda
1
122834
; A133201: A133195/3. ; 0,1,2,3,13,23,33,133,233,333,1333,2333,3333,13333,23333,33333,133333,233333,333333,1333333,2333333,3333333,13333333,23333333,33333333,133333333,233333333,333333333,1333333333,2333333333,3333333333 mov $12,$0 mov $14,$0 lpb $14 clr $0,12 mov $0,$12 sub $14,1 sub $0,$14 mov $9,$0 mov ...
Tests/ULA/ClassicPaletized/Main.asm
MrKWatkins/ZXSpectrumNextTests
23
122836
<reponame>MrKWatkins/ZXSpectrumNextTests device zxspectrum48 org $8000 INCLUDE "../../Constants.asm" INCLUDE "../../Macros.asm" INCLUDE "../../TestData.asm" INCLUDE "../../TestFunctions.asm" INCLUDE "../../timing.i.asm" ; ink is single channel gradient -1+1, paper is two channel gradie...
src/lib/execv.asm
zys1310992814/BookOSv0.2
3
122837
[bits 32] [section .text] INT_VECTOR_SYS_CALL equ 0x80 _NR_EXECV EQU 6 global execv execv: mov eax, _NR_EXECV mov ebx, [esp + 4] mov ecx, [esp + 8] int INT_VECTOR_SYS_CALL ret
programs/oeis/133/A133476.asm
karttu/loda
0
122838
<reponame>karttu/loda ; A133476: a(n) = Sum_{k>=0} binomial(n,5*k+1). ; 0,1,2,3,4,5,7,14,36,93,220,474,948,1807,3381,6385,12393,24786,50559,103702,211585,427351,854702,1698458,3368259,6690150,13333932,26667864,53457121,107232053,214978335,430470899,860941798,1720537327,3437550076,6869397265,13733091643,27466183286,5494...
src/third_party/nasm/travis/test/utf.asm
Mr-Sheep/naiveproxy
2,219
122839
<reponame>Mr-Sheep/naiveproxy<gh_stars>1000+ %define u(x) __utf16__(x) %define w(x) __utf32__(x) %define ul(x) __utf16le__(x) %define wl(x) __utf32le__(x) %define ub(x) __utf16be__(x) %define wb(x) __utf32be__(x) db `Test \u306a\U0001abcd\n` dw u(`Test \u306a\U0001abcd\n`) dd w(`Test \u306a\U0001abcd\n`) db `\u30...
test/naive-tests/7-jump.asm
skyzh/mips-simulator
35
122841
jal test li $a1, 2333 j final li $s1, 233 test: li $a2, 233 jr $ra li $a3, 23333 final: li $s0, 23333
programs/oeis/151/A151793.asm
neoneye/loda
22
122842
<gh_stars>10-100 ; A151793: Partial sums of A151782. ; 1,9,17,73,81,137,193,585,593,649,705,1097,1153,1545,1937,4681,4689,4745,4801,5193,5249,5641,6033,8777,8833,9225,9617,12361,12753,15497,18241,37449,37457,37513,37569,37961,38017,38409,38801,41545,41601,41993,42385,45129 add $0,1 lpb $0 sub $0,1 mov $2,$0 max ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_350.asm
ljhsiun2/medusa
9
122843
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x104f6, %rsi lea addresses_WC_ht+0x586, %rdi clflush (%rsi) nop nop nop nop cmp %rdx, %rdx mov $111, %rcx rep movsb nop nop nop xor $64915, %rbx lea addresses_WT_ht+0x7186, %r...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_1248.asm
ljhsiun2/medusa
9
122844
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r15 push %rdi push %rsi lea addresses_A_ht+0xe285, %r13 nop nop add %rsi, %rsi movb (%r13), %r10b nop nop nop nop nop add %rsi, %rsi lea addresses_normal_ht+0x18365, %r15 nop nop nop sub $3171, %rdi movups (%r15), %xmm4 vpextrq $0, %xmm4, ...
grammar/tiny/recursion/include/main.asm
bishop986/CompileConstruction
2
122845
%include "./assist.inc" ; Author: bishop986 @copyright ; Introduction: ; to try some my function section .data errorMsg1: db "[ERROR] Data Format Error, Exit process", 0ah, 0 msgLen1: equ $-errorMsg1 section .text global _start _start: nop nop call _exit .errorread: xor rax, rax xor rbx, rbx xor rcx, rcx...
programs/oeis/007/A007875.asm
jmorken/loda
1
122846
<filename>programs/oeis/007/A007875.asm<gh_stars>1-10 ; A007875: Number of ways of writing n as p*q, with p <= q, gcd(p, q) = 1. ; 1,1,1,1,1,2,1,1,1,2,1,2,1,2,2,1,1,2,1,2,2,2,1,2,1,2,1,2,1,4,1,1,2,2,2,2,1,2,2,2,1,4,1,2,2,2,1,2,1,2,2,2,1,2,2,2,2,2,1,4,1,2,2,1,2,4,1,2,2,4,1,2,1,2,2,2,2,4,1,2,1,2,1,4,2,2,2,2,1,4,2,2,2,2,2...
Appl/Games/Taipei/taipeiManager.asm
steakknife/pcgeos
504
122848
<filename>Appl/Games/Taipei/taipeiManager.asm COMMENT @---------------------------------------------------------------------- Copyright (c) GeoWorks 1995 -- All Rights Reserved PROJECT: PC GEOS MODULE: Taipei (Trivia project: PC GEOS application) FILE: taipeiManager.asm REVISION HISTORY: Name Date Desc...
libsrc/_DEVELOPMENT/l/z80/l_call_ix_00.asm
jpoikela/z88dk
640
122851
SECTION code_clib SECTION code_l PUBLIC l_call_ix_00 EXTERN l_call_ix defc l_call_ix_00 = l_call_ix ; use for compile time user code ; the library entries l_jpix / l_jpiy can have IX/IY swapped
tests/mc6800.asm
dimitrit/uz80as
8
122852
<reponame>dimitrit/uz80as<gh_stars>1-10 ; =========================================================================== ; uz80as, an assembler for the Zilog Z80 and several other microprocessors. ; ; Motorola 6800. ; =========================================================================== #define equ .equ #define en...
src/arch/x86/sys/osloader/stub.asm
brunexgeek/machina-x86
2
122853
; ; ldrinit.asm ; ; Kernel loader real mode startup ; ; Copyright (C) 2013 <NAME>. ; Copyright (C) 2002 <NAME>. ; 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 c...
programs/oeis/001/A001041.asm
neoneye/loda
22
122854
; A001041: a(0)=12; thereafter a(n) = 12 times the product of the first n primes. ; 12,24,72,360,2520,27720,360360,6126120,116396280,2677114440,77636318760,2406725881560,89048857617720,3651003162326520,156993135980040360,7378677391061896920,391069901726280536760,23073124201850551668840,1407460576312883651799240,9429985...
programs/oeis/141/A141914.asm
neoneye/loda
22
122855
; A141914: Primes congruent to 10 mod 23. ; 79,263,401,631,677,769,907,953,1091,1229,1321,1367,1459,1597,1873,2011,2287,2333,2609,3023,3253,3299,3391,3529,3851,3943,3989,4127,4219,4357,4679,4817,4909,5231,5323,5507,5737,5783,6151,6197,6427,6473,6703,6841,7393,7577,7669,7853,8221,8543,8681,8819,9049,9187,9371,9463,9601,...
audiolib/source/mv_mix2.asm
dos-games/vanilla-shadow_warrior
18
122858
<filename>audiolib/source/mv_mix2.asm .386 .MODEL flat .data .code SEGMENT text USE32 ALIGN 16 ;================ ; ; MV_Mix8BitMonoFast ; ;================ ; eax - position ; edx - rate ; ecx - Volume table ; ebx - Harsh clip table ; edi - to ; esi - start...
memory/stacktransfer.asm
JohnTheNerd/zilog-beef
1
122859
<reponame>JohnTheNerd/zilog-beef ; This method uses the stack to transfer data from one location to another ; It is extremely fast but interrupts MUST be disabled as complete stack ; control is neccessary. The size of the data transfer in bytes MUST be a multiple ; of 12. We don't use AF because of the risk flags (and ...
GFXBank2.asm
DevEd2/HokeyPokey-GB
0
122860
section "Graphics bank 2",romx,bank[4] GFXBank2: ; ================================================================ ; Tilesets ; ================================================================ TitleTiles: incbin "GFX/TitleTiles.bin" MenuFont: incbin "GFX/MenuFont.bin" HCMenuTiles: incbin "GFX/HCMenuTile...
programs/oeis/101/A101870.asm
neoneye/loda
22
122861
<filename>programs/oeis/101/A101870.asm ; A101870: Row 3 of A101866. ; 13,26,34,47,60,68,81,89,102,115,123,136,149,157,170,178,191,204,212,225,233,246,259,267,280,293,301,314,322,335,348,356,369,382,390,403,411,424,437,445,458,466,479,492,500,513,526,534,547,555,568,581,589,602,610,623 add $0,1 seq $0,26352 ; a(n) = f...
libsrc/_DEVELOPMENT/string/z80/asm_rindex.asm
jpoikela/z88dk
640
122864
<filename>libsrc/_DEVELOPMENT/string/z80/asm_rindex.asm ; BSD ; char *rindex(const char *s, int c) SECTION code_clib SECTION code_string PUBLIC asm_rindex EXTERN asm_strrchr defc asm_rindex = asm_strrchr ; enter : c = char c ; hl = char *s ; ; exit : ; found ; ; c...
nls/DosInsMessage.asm
osfree-project/FamilyAPI
1
122865
<filename>nls/DosInsMessage.asm ;/*! ; @file ; ; @ingroup fapi ; ; @brief DosInsMessage 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 require...
examples/pxScene2d/external/libjpeg-turbo-1.5.1/simd/jsimdcpu.asm
madanagopaltcomcast/pxCore
2,710
122866
; ; jsimdcpu.asm - SIMD instruction support check ; ; Copyright 2009 Pierre Ossman <<EMAIL>> for Cendio AB ; ; Based on the x86 SIMD extension for IJG JPEG library ; Copyright (C) 1999-2006, MIYASAKA Masaru. ; For conditions of distribution and use, see copyright notice in jsimdext.inc ; ; This file should be assembled...
libsrc/games/bit_noise_callee.asm
UnivEngineer/z88dk
1
122867
; $Id: bit_noise_callee.asm $ ; ; 1 bit sound functions ; ; void bit_noise(int duration, int period); ; SECTION code_clib PUBLIC bit_noise_callee PUBLIC _bit_noise_callee EXTERN noise EXTERN bit_open_di EXTERN bit_close_ei ; ; Stub by <NAME> - 13/01/2021 ; .bit_nois...
demos/spriteed/spriteed.asm
42Bastian/new_bll
4
122868
*************** * simple body of a Lynx-program * * created : 24.04.96 * **************** BRKuser set 1 Baudrate set 62500 _1000HZ_TIMER set 7 include <includes/hardware.inc> * * macros * include <macros/help.mac> include <macros/if_while.mac> ...
src/installer/corehost/cli/ijwhost/arm64/asmhelpers.asm
abock/runtime
6
122869
; Licensed to the .NET Foundation under one or more agreements. ; The .NET Foundation licenses this file to you under the MIT license. ; See the LICENSE file in the project root for more information. ; #include "ksarm64.h" TEXTAREA EXTERN start_runtime_and_get_target_address ;; Common code called from a...
bugs/PENDING_SUBMIT/0392-BAD-IMAGE-1e394f58-opt-O-test-host-Nvidia/work/reference/2_spirv_opt_asm/shader.frag.asm
asuonpaa/ShaderTests
0
122870
; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 91 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" OpMemoryModel Logical GLSL450 OpEntryPoint Fragment %4 "main" %22 %75 OpExecutionMode %4 Orig...
libsrc/target/zx/input/in_MouseSimSetPos_callee.asm
ahjelm/z88dk
640
122871
<reponame>ahjelm/z88dk<gh_stars>100-1000 ; void __CALLEE__ in_MouseSimSetPos_callee(struct in_UDM *u, uint xcoord, uint ycoord) ; 09.2005 aralbrec SECTION code_clib PUBLIC in_MouseSimSetPos_callee PUBLIC _in_MouseSimSetPos_callee PUBLIC asm_in_MouseSimSetPos EXTERN l_setmem .in_MouseSimSetPos_callee ._in_MouseSimSet...
include/gcm_keys_vaes_avx512.asm
kevintraynor/intel-ipsec-mb
0
122872
;; ;; Copyright (c) 2019, Intel Corporation ;; ;; Redistribution and use in source and binary forms, with or without ;; modification, are permitted provided that the following conditions are met: ;; ;; * Redistributions of source code must retain the above copyright notice, ;; this list of conditions and the ...
V1/src/zdk projects/stdio/terminal/term_01_output_char/term_01_output_char_oterm_msg_scroll.asm
anjennings/Tom80
55
122873
<filename>V1/src/zdk projects/stdio/terminal/term_01_output_char/term_01_output_char_oterm_msg_scroll.asm<gh_stars>10-100 SECTION code_driver SECTION code_driver_terminal_output PUBLIC term_01_output_char_oterm_msg_scroll term_01_output_char_oterm_msg_scroll: ; * OTERM_MSG_SCROLL ; ; enter : c = number of r...
win64/lesson16.asm
mashingan/notes-asmtutor
1
122874
;; different with Linux which saves each argv in stack, windows save all ;; of its command line arguments as local allocated memory so we have to ;; parse each of its token manually. format PE64 console entry start include 'win64w.inc' section '.data' data readable writeable stdout dq ? argptr dq ? banner db '<l...
programs/oeis/008/A008475.asm
neoneye/loda
22
122875
; A008475: If n = Product (p_j^k_j) then a(n) = Sum (p_j^k_j) (a(1) = 0 by convention). ; 0,2,3,4,5,5,7,8,9,7,11,7,13,9,8,16,17,11,19,9,10,13,23,11,25,15,27,11,29,10,31,32,14,19,12,13,37,21,16,13,41,12,43,15,14,25,47,19,49,27,20,17,53,29,16,15,22,31,59,12,61,33,16,64,18,16,67,21,26,14,71,17,73,39,28,23,18,18,79,21,81,4...
data/baseStats_original/weedle.asm
adhi-thirumala/EvoYellow
16
122877
<reponame>adhi-thirumala/EvoYellow<gh_stars>10-100 db DEX_WEEDLE ; pokedex id db 40 ; base hp db 35 ; base attack db 30 ; base defense db 50 ; base speed db 20 ; base special db BUG ; species type 1 db POISON ; species type 2 db 255 ; catch rate db 52 ; base exp yield INCBIN "pic/ymon/weedle.pic",0,1 ; 55, sprite dimen...
libsrc/_DEVELOPMENT/adt/w_array/c/sccz80/w_array_insert_callee.asm
jpoikela/z88dk
640
122879
<gh_stars>100-1000 ; size_t w_array_insert(w_array_t *a, size_t idx, void *item) SECTION code_clib SECTION code_adt_w_array PUBLIC w_array_insert_callee EXTERN asm_w_array_insert w_array_insert_callee: pop hl pop de pop bc ex (sp),hl jp asm_w_array_insert ; SDCC bridge for Classic IF __CLASSIC...
libsrc/target/gb/gbdk/f_min.asm
Frodevan/z88dk
640
122880
; font_min.s ; Text font ; <NAME>, 1998 ; <EMAIL> ; Distrubuted under the Artistic License - see www.opensource.org ; ;; BANKED: checked, imperfect SECTION rodata_driver PUBLIC _font_min _font_min: defb 1+4 ; 128 character encoding defb 37 ; Tiles required defb 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,...
pwnlib/shellcraft/templates/amd64/mov.asm
mtdcr/pwntools
0
122882
<filename>pwnlib/shellcraft/templates/amd64/mov.asm <% from pwnlib.util import lists, packing, fiddling, misc from pwnlib.context import context as ctx # Ugly hack, mako will not let it be called context from pwnlib.log import getLogger from pwnlib.shellcraft import eval, pretty, okay from pwnlib.shellcraft.r...
programs/oeis/048/A048881.asm
neoneye/loda
22
122888
<filename>programs/oeis/048/A048881.asm ; A048881: a(n) = A000120(n+1) - 1 = wt(n+1) - 1. ; 0,0,1,0,1,1,2,0,1,1,2,1,2,2,3,0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,0,1,1,2,1,2,2,3,1,2,2,3,2,3,3,4,1,2,2,3,2,3,3,4,2,3,3,4,3,4,4,5,1,2,2,3,2 mov $1,$0 add $0,1 lpb $1 ...
test/boot.asm
FlashySoft/LibFalcon
2
122890
<reponame>FlashySoft/LibFalcon<gh_stars>1-10 ; ; This is used from @hatlesshacker/Nasix. ; [BITS 32] global start start: mov esp, sys_stack ; This points the stack to our new stack area jmp stublet ALIGN 4 mboot: MULTIBOOT_PAGE_ALIGN equ 1<<0 MULTIBOOT_MEMORY_INFO equ 1<<1 MU...
fox32rom/ryfs.asm
ry755/fox32
6
122891
<gh_stars>1-10 ; RYFS routines ; file struct: ; file_disk: 1 byte ; file_first_sector: 2 bytes ; file_seek_offset: 4 bytes ; file_reserved: 1 byte ; open a file from a RYFS-formatted disk ; inputs: ; r0: pointer to file name string (8.3 format, for example "test txt" for test.txt) ; r1: disk ID ; r2: file ...
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xca.log_21829_1147.asm
ljhsiun2/medusa
9
122892
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x13cd8, %rsi lea addresses_WT_ht+0xa771, %rdi nop nop nop and $6349, %rbp mov $25, %rcx rep movsq nop nop nop nop cmp %r11, %r11 lea addresses_UC_ht+0xf1f1, %rsi lea addre...
kernel/isr.asm
yds12/newcOS
0
122893
<reponame>yds12/newcOS ; ISR: Interrupt Service Routines bits 32 ; We need different handlers for every interrupt because ; we don't get information about the interrupt number. ; Some interrupts push an error code onto the stack, so ; for those which don't, we push a 0 to keep the stack consistent. extern isr_handler...
assembly.asm
RajaTaimur7/lango
2
122894
SYS_write = 4 STDOUT = 1 .data hello: .string "Hacktoberfest" .globl main main: movl $SYS_write,%eax movl $STDOUT,%ebx movl $hello,%ecx movl $13,%edx int $0x80 ret
Assignments/A1.asm
sherali801/computer_organization_and_assembly_language
1
122895
<filename>Assignments/A1.asm .MODEL SMALL .STACK 100H .CODE MAIN PROC MOV AX, 037FH ;STARTING SEGMENT ADDRESS MOV DS, AX MOV SI, 0100H ;STARTING OFFSET ADDRESS MOV CX, 8 OUTTER_LOOP: ;DISPLAY 8 LINES PUSH CX ;SAVING COUNTER MOV BX, AX ;PARAMETER FOR PRINT_HEX FUNCTION (WHAT TO PRINT) PUSH AX ;SAVING SEG...
programs/oeis/007/A007310.asm
karttu/loda
1
122897
<filename>programs/oeis/007/A007310.asm ; A007310: Numbers congruent to 1 or 5 mod 6. ; 1,5,7,11,13,17,19,23,25,29,31,35,37,41,43,47,49,53,55,59,61,65,67,71,73,77,79,83,85,89,91,95,97,101,103,107,109,113,115,119,121,125,127,131,133,137,139,143,145,149,151,155,157,161,163,167,169,173,175,179,181,185,187,191,193,197,199,...
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_11026_989.asm
ljhsiun2/medusa
9
122899
<filename>Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_11026_989.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x11bcc, %rsi lea addresses_normal_ht+0x6fcc, %rdi nop sub %r10, %r10 mov $103, %rcx rep movsw nop nop nop inc %rbx pop %rsi p...
s2.macros.asm
kramlat/Open-Source-Sonic-ROM-Base
0
122900
<filename>s2.macros.asm ; >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ; simplifying macros and functions ; makes a VDP address difference vdpCommDelta function addr,((addr&$3FFF)<<16)|((addr&$C000)>>14) ; makes a VDP command vdpComm function addr,type,rwd,(((type&rwd)&3)<<30)|((addr&$3...
oeis/151/A151281.asm
neoneye/loda-programs
11
122901
; A151281: Number of walks within N^2 (the first quadrant of Z^2) starting at (0,0) and consisting of n steps taken from {(-1, 0), (1, 0), (1, 1)}. ; Submitted by <NAME> ; 1,2,6,16,48,136,408,1184,3552,10432,31296,92544,277632,824448,2473344,7365120,22095360,65920000,197760000,590790656,1772371968,5299916800,1589975040...
programs/oeis/108/A108856.asm
neoneye/loda
22
122902
; A108856: Numbers n such that 10*n - 131 is prime. ; 15,16,19,21,22,24,27,28,31,33,36,37,40,48,49,51,52,54,55,57,58,61,63,64,70,73,75,79,84,85,87,90,94,96,97,99,105,106,114,115,117,118,120,124,126,136,138,139,141,142,145,153,154,156,157,159,162,163,168,169,171 mov $1,3 mov $2,$0 add $2,2 pow $2,2 lpb $2 sub $2,1 ...
BCDTest/b32.asm
ewbrowntech/COMP-3350
2
122903
<filename>BCDTest/b32.asm<gh_stars>1-10 TITLE (.asm) ; This program ; Last update: INCLUDE Irvine32.inc .data .code main PROC exit main ENDP END main
libsrc/lib3d/fwd.asm
jpoikela/z88dk
640
122904
<reponame>jpoikela/z88dk ; ; Turtle graphics library ; Stefano - 11/2017 ; ; $Id: fwd.asm $ ; SECTION code_clib PUBLIC fwd PUBLIC _fwd EXTERN l_mult EXTERN l_div EXTERN icos EXTERN isin EXTERN move EXTERN __direction .fwd ._fwd ; __FASTCALL ...
DuetPkg/BootSector/Gpt.asm
CEOALT1/RefindPlusUDK
93
122905
<filename>DuetPkg/BootSector/Gpt.asm ;------------------------------------------------------------------------------ ;* ;* Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR> ;* This program and the accompanying materials ;* are licensed and made available under th...
nasm assembly/library/linear string to matrix.asm
AI-Factor-y/NASM-library
0
122906
string_to_matrix: ;; converts a 1d string to a 2d string matrix seperated by words ;; usage ;;---------- ;; the 1 d string should be in stom_string variable ;; the output 2d string will be in the ebx register ;; map the ebx register to a string variable before calling this function section .bss row_size:...
programs/oeis/178/A178457.asm
jmorken/loda
1
122907
; A178457: Partial sums of floor(2^n/23). ; 0,0,0,0,0,1,3,8,19,41,85,174,352,708,1420,2844,5693,11391,22788,45583,91173,182353,364714,729436,1458880,2917768,5835544,11671097,23342203,46684416,93368843,186737697,373475405,746950822,1493901656,2987803324,5975606660,11951213332,23902426677,47804853367,95609706748,19121941...
Assembly/textbox/menu_adhoc_exchange.asm
WildGenie/Ninokuni
14
122908
;;----------------------------------------------------------------------------;; ;; Align the position of the numbers in the info menu of multi exchange. ;; Copyright 2015 <NAME> (aka pleonex) ;; ;; Licensed under the Apache License, Version 2.0 (the "License"); ;; you may not use this file except in compliance wit...
programs/oeis/162/A162988.asm
neoneye/loda
22
122909
; A162988: n appears A008578(n) times. ; 1,2,2,3,3,3,4,4,4,4,4,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10 lpb $0 sub $0,1 mov $1,$0 mov $0,0 max $1,0 seq $1,83375 ;...
STM8S105C6T6/Assembler/Project_4(VGA_Adapter)/RAMVars.asm
edosedgar/stm8s
2
122910
;=======RAMMemory($0000-$07FF)================ Temp EQU $0000 Temp1 EQU $0001 Temp2 EQU $0002 Temp3 EQU $0003 Temp4 EQU $0004 Temp5 EQU $0005 Temp6 EQU $0006 Temp7 EQU $0007 Temp8 EQU $0008 Temp9 EQU $0009 Temp10 ...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2839.asm
ljhsiun2/medusa
9
122912
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x50eb, %rsi lea addresses_D_ht+0x84eb, %rdi nop nop nop add $37663, %r12 mov $124, %rcx rep movsl nop nop dec %r9 lea addresses_D_ht+0x652f, %rsi lea addresses_UC_ht+0x1e2...
programs/oeis/145/A145266.asm
neoneye/loda
22
122914
<filename>programs/oeis/145/A145266.asm ; A145266: A positive integer n is included if there does not exist a positive integer m such that Sum{k>=0} floor(n/(m+k)) = n. ; 2,3,6,7,9,10,11,12,13,14,16,17,20,21,24,25,27,28,29,30,31,32,34,35,38,39,42,43,45,46,47,48,49,50,52,53,56,57,60,61,63,64,65,66,67,68,70,71,74,75,78,7...
src/x86-64/kernel/syscalls/disk.asm
redteamcaliber/BareMetal-kernel
1
122915
<filename>src/x86-64/kernel/syscalls/disk.asm ; ============================================================================= ; BareMetal -- a 64-bit OS written in Assembly for x86-64 systems ; Copyright (C) 2008-2016 Return Infinity -- see LICENSE.TXT ; ; Disk Block Storage Functions ; ================================...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_110.asm
ljhsiun2/medusa
9
122916
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r8 push %rbp push %rdi push %rdx push %rsi lea addresses_WT_ht+0x7f28, %rsi nop xor %rbp, %rbp movw $0x6162, (%rsi) nop nop nop nop nop sub $33979, %r13 lea addresses_A_ht+0x186e8, %rsi clflush (%rsi) nop nop nop cmp $38003...
programs/oeis/063/A063656.asm
jmorken/loda
1
122918
<gh_stars>1-10 ; A063656: Numbers k such that the truncated square root of k is equal to the rounded square root of k. ; 0,1,2,4,5,6,9,10,11,12,16,17,18,19,20,25,26,27,28,29,30,36,37,38,39,40,41,42,49,50,51,52,53,54,55,56,64,65,66,67,68,69,70,71,72,81,82,83,84,85,86,87,88,89,90,100,101,102,103,104,105,106,107,108,109,1...
MH6502-3/Code/MAIN.asm
FredericSegard/Micro-Hobbyist
0
122920
<reponame>FredericSegard/Micro-Hobbyist<filename>MH6502-3/Code/MAIN.asm ; __ __ _ _ __ _____ ___ ___ ; | \/ | | | | | / / | ____| / _ \ |__ \ ; | \ / | | |__| | / /_ | |__ | | | | ) | ; | |\/| | | __ | | '_ \ |___ \ | | | | / / ; | | | | | | | | | (_) | ___) | | |_| | ...
code/9/1.asm
GeekHades1/AssemblyCode
1
122921
<reponame>GeekHades1/AssemblyCode ; 程序9.1 assume cs:code code segment start: mov ax, 0 jmp short s add ax, 1 s: inc ax mov ax,4c00H int 21H code ends end start ; 0B28:0003 EB03 JMP 0008 ; 机器码对应的是 EB03 只有指令代码并没有操作数 ; CPU在执行jmp指令的时候并不需要转移的目的地址 ; EB 03 03 代表的是据当前指令的偏移地址
libsrc/_DEVELOPMENT/math/float/math48/c/sccz80/cm48_sccz80_fdim_callee.asm
jpoikela/z88dk
640
122922
; double __CALLEE__ fdim(double x, double y) SECTION code_clib SECTION code_fp_math48 PUBLIC cm48_sccz80_fdim_callee EXTERN am48_fdim, cm48_sccz80p_dcallee2 cm48_sccz80_fdim_callee: call cm48_sccz80p_dcallee2 ; AC = x ; AC'= y exx jp am48_fdim
programs/oeis/154/A154254.asm
karttu/loda
1
122923
<reponame>karttu/loda<filename>programs/oeis/154/A154254.asm ; A154254: a(n) = 9n^2 - 8n + 2. ; 2,3,22,59,114,187,278,387,514,659,822,1003,1202,1419,1654,1907,2178,2467,2774,3099,3442,3803,4182,4579,4994,5427,5878,6347,6834,7339,7862,8403,8962,9539,10134,10747,11378,12027,12694,13379,14082,14803,15542,16299,17074,17867...
2021-2022-sem1/lab06/0-recap/power-2.asm
adinasm/iocla-demos
0
122924
%include "../utils/printf32.asm" section .text extern printf global main main: push ebp mov ebp, esp mov eax, 211 ; to be broken down into powers of 2 mov ebx, 1 ; stores the current power ; TODO - print the powers of 2 that generate number stored in EAX leave ret
oeis/113/A113449.asm
neoneye/loda-programs
11
122925
; A113449: Sum of the square root of n-th square triangular number and n-th Pell (or lambda) number (A000129). ; Submitted by <NAME> ; 2,8,40,216,1218,7000,40560,235824,1373090,7999592,46616920,271683720,1583441442,9228858808,53789455200,313507253856,1827252574658,10650004589000,62072766255880,361786571934264,210864661...
Programs/Program16.asm
trivedi-vatsal/8085-programs
2
122926
<filename>Programs/Program16.asm ;Program to shift an eight bit data four bits right.Assume that data is in register C MVI C,20H ;Move 20H into C register MOV A,C ;Move the Contents into the accumulator RAR ;Shift right RAR RAR RAR MOV C,A ;move the result in C HLT ;Terminate the program
src/spawner/auto-surrender.asm
mvdhout1992/ts-patches
33
122927
%include "macros/patch.inc" %include "macros/datatypes.inc" %include "TiberianSun.inc" cglobal AutoSurrender cextern SpawnerActive @CLEAR 0x004B6D04, 0x90, 0x004B6D0D @LJMP 0x004B6D04, ForceSurrenderOnAbort @LJMP 0x00494F08, AutoSurrenderOnConnectionLost @CLEAR 0x0046283A, 0x90, 0x00462842 ; Temporary solution, nee...
src/z80asm/dev/z80asm_lib/sub_hl_hl.asm
ahjelm/z88dk
640
122928
; Substitute for 'sub hl, de' instruction ; CPU Min T Max T ; 8080 86 86 ; 8085 82 82 ; gbz80 80 80 ; r2ka 53 53 ; z180 77 77 ; z80 80 80 ; z80n 80 80 SECTION code_l_sccz80 PUBLIC __z80asm__sub_hl_hl __z80asm__sub_hl_hl: push de ld d, a l...
programs/oeis/168/A168491.asm
neoneye/loda
22
122929
<filename>programs/oeis/168/A168491.asm ; A168491: a(n) = (-1)^n*Catalan(n). ; 1,-1,2,-5,14,-42,132,-429,1430,-4862,16796,-58786,208012,-742900,2674440,-9694845,35357670,-129644790,477638700,-1767263190,6564120420,-24466267020,91482563640,-343059613650,1289904147324,-4861946401452,18367353072152,-69533550916004,2637479...