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/214/A214587.asm
karttu/loda
1
120616
<reponame>karttu/loda<gh_stars>1-10 ; A214587: Greatest common divisor of a number and its last decimal digit: a(n) = gcd(n, n mod 10). ; 0,1,2,3,4,5,6,7,8,9,10,1,2,1,2,5,2,1,2,1,20,1,2,1,4,5,2,1,4,1,30,1,2,3,2,5,6,1,2,3,40,1,2,1,4,5,2,1,8,1,50,1,2,1,2,5,2,1,2,1,60,1,2,3,4,5,6,1,4,3,70,1,2,1,2,5,2,7,2,1,80,1,2,1,4,5 m...
Assembly/OS/BUILTIN_MATH.asm
p-rivero/CESC16
2
120617
; ======================== ; Built-in Math Library ; ======================== ; This library provides basic math subroutines that replace hardware instructions ; The implemented instuctions are: MUL, DIV/MOD, RSH, LSH ; Note that CESC16 already implements RSH and LSH, but only for a constant shamt. ; The provided su...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1646.asm
ljhsiun2/medusa
9
120618
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1d8fc, %rdx clflush (%rdx) nop nop nop cmp %rax, %rax movups (%rdx), %xmm1 vpextrq $1, %xmm1, %r13 nop nop nop nop xor $10480, %rax lea addresses_normal_ht+0x76fc, %rsi nop ...
piscaled0.asm
vonmoraes/Jamsmine-Runner
0
120619
<gh_stars>0 ; <NAME> - 538464 ; <NAME> - 576485 LIST P=PIC16F628A #INCLUDE <P16F628A.INC> ;P16F628A __CONFIG _INTRC_OSC_NOCLKOUT & _WDT_OFF & _PWRTE_ON & _BODEN_OFF & _LVP_OFF & _CP_OFF & _MCLRE_OFF & _DATA_CP_OFF ;ou __CONFIG H'3F10' #DEFINE BANK0 BCF STATUS,RP0 ;SET BANK 0 #DEFINE BANK1 BSF ST...
Library/Text/Text/textInstance.asm
steakknife/pcgeos
504
120620
<reponame>steakknife/pcgeos COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: User interface. FILE: textInstance.asm AUTHOR: Tony ROUTINES: Name Description ---- ----------- REVISION HIS...
programs/oeis/016/A016205.asm
neoneye/loda
22
120621
<filename>programs/oeis/016/A016205.asm<gh_stars>10-100 ; A016205: Expansion of 1/((1-x)(1-2x)(1-10x)). ; 1,13,137,1385,13881,138873,1388857,13888825,138888761,1388888633,13888888377,138888887865,1388888886841,13888888884793,138888888880697,1388888888872505,13888888888856121,138888888888823353 lpb $0 mov $2,$0 sub...
programs/oeis/132/A132750.asm
neoneye/loda
22
120622
; A132750: A132749 * [1, 2, 3, ...] = A007318 * A065190. ; 1,4,9,21,49,113,257,577,1281,2817,6145,13313,28673,61441,131073,278529,589825,1245185,2621441,5505025,11534337,24117249,50331649,104857601,218103809,452984833,939524097,1946157057,4026531841,8321499137,17179869185,35433480193,73014444033,150323855361,3092376453...
programs/oeis/296/A296200.asm
karttu/loda
0
120623
<filename>programs/oeis/296/A296200.asm ; A296200: Harary index of the n X n white bishop graph. ; 1,5,21,47,104,182,318,490,755,1075,1531,2065,2786,3612,4684,5892,7413,9105,11185,13475,16236,19250,22826,26702,31239,36127,41783,47845,54790,62200,70616,79560,89641,100317,112269,124887,138928,153710,170070,187250 mov $1...
os/init_64.asm
sirupsen/flying-cat
7
120624
<gh_stars>1-10 ; ============================================================================= ; BareMetal -- a 64-bit OS written in Assembly for x86-64 systems ; Copyright (C) 2008-2010 Return Infinity -- see LICENSE.TXT ; ; INIT_64 ; ============================================================================= ...
Kamal_Faheem_TakeHomeTestFinal/Kamal_Faheem_Code/TakeHomeTest/TakeHomeTest/Debug/TakeHomeTest.asm
FaheemAKamal/CS342Projects
0
120625
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27030.1 TITLE C:\Users\Raiden\source\repos\TakeHomeTest\TakeHomeTest\TakeHomeTest.cpp .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES msvcjmc SEGMENT __DA493C92_pch@h DB 01H __FA4FEDAC_takehome...
OSSOURCE/svccode.asm
mooseman/smallOS
3
120626
; MMURTL Operating System Source Code ; Written by <NAME> ; This code is released to the public domain. ; "Share and enjoy....." ;) .DATA .INCLUDE MOSEDF.INC ;============================================================================= .CODE ;============================================...
Transynther/x86/_processed/US/_ht_st_zr_un_/i3-7100_9_0x84_notsx.log_21829_1.asm
ljhsiun2/medusa
9
120627
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r15 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x9273, %rsi lea addresses_A_ht+0x773f, %rdi nop nop add %r15, %r15 mov $68, %rcx rep movsw xor %r10, %r10 lea addresses_UC_ht+0x149af, %rsi lea addresses_D_ht...
programs/oeis/175/A175167.asm
karttu/loda
1
120629
<filename>programs/oeis/175/A175167.asm ; A175167: a(n) = Sum_{j=1..floor(n/2)} binomial(n+j-1,j-1). ; 0,1,1,6,7,36,45,220,286,1365,1820,8568,11628,54264,74613,346104,480700,2220075,3108105,14307150,20160075,92561040,131128140,600805296,854992152,3910797436,5586853480,25518731280,36576848168,166871334960,239877544005,1...
src/firmware-tests/Platform/Lcd/Initialisation/LcdFlagsAreAllClearedTest.asm
pete-restall/Cluck2Sesame-Prototype
1
120630
<gh_stars>1-10 #include "Platform.inc" #include "FarCalls.inc" #include "Lcd.inc" #include "../../../../firmware/Platform/Lcd/Isr.inc" #include "TestFixture.inc" radix decimal LcdFlagsAreAllClearedTest code global testArrange testArrange: banksel TMR0 movf TMR0, W banksel lcdFlags movwf lcdFlags testAct:...
oeis/168/A168631.asm
neoneye/loda-programs
11
120631
<gh_stars>10-100 ; A168631: a(n) = n^6*(n^7 + 1)/2. ; 0,1,4128,797526,33556480,610359375,6530370336,48444564028,274878038016,1270933179885,5000000500000,17261356957746,53496604182528,151437555709531,396857390391840,973097539875000,2251799822073856,4952289028521753,10411482449841696,21026491754651470,40960000032000000,7...
_maps/LZ Blocks.asm
kodishmediacenter/msu-md-sonic
9
120632
<filename>_maps/LZ Blocks.asm<gh_stars>1-10 ; --------------------------------------------------------------------------- ; Sprite mappings - blocks (LZ) ; --------------------------------------------------------------------------- Map_LBlock_internal: dc.w @sinkblock-Map_LBlock_internal dc.w @riseplatform-Map_LBlo...
CpuA64/TestData/argv.asm
robertmuth/Cwerg
171
120633
<reponame>robertmuth/Cwerg<filename>CpuA64/TestData/argv.asm<gh_stars>100-1000 .mem newline 4 rodata .data 1 "\n" .endmem # This is called with r0:argc r1:argv .fun main 16 orr_x_reg x20 xzr x0 lsl 0 orr_x_reg x21 xzr x1 lsl 0 b expr:jump26:argc_check .bbl loop 4 ldr_x_imm_post x1 x21 8 sub_x...
lib/Common/Memory/arm64/arm64_SAVE_REGISTERS.asm
Taritsyn/ChakraCore
8,664
120634
;------------------------------------------------------------------------------------------------------- ; Copyright (C) Microsoft. All rights reserved. ; Licensed under the MIT license. See LICENSE.txt file in the project root for full license information. ;-------------------------------------------------------------...
oeis/142/A142326.asm
neoneye/loda-programs
11
120635
<gh_stars>10-100 ; A142326: Primes congruent to 28 mod 45. ; Submitted by <NAME>(s4) ; 73,163,433,523,613,883,1063,1153,1423,1693,1783,1873,2053,2143,2503,2593,2683,2953,3313,3583,3673,3853,3943,4483,4663,4933,5023,5113,5563,5653,5743,5923,6373,6553,6733,6823,7723,7993,8263,8353,8443,8623,8713,8803,8893,9343,9433,9613,...
app/src/modules/Folder/overLine.asm
whxru/Mini-C
0
120636
<reponame>whxru/Mini-C .DATA .TEXT 0x1280 start: addi $t4,$29,-0x7ffc bltz $t4,over addi $t5,$30,-0x7ffc bltz $t5,over jr $ra over: addi $t5,$0,0x0300 addi $t4,$0,0xe3 sw $t4,0xfc00($0) sw $t4,0xfc02($0) sw $t5,0xfc04($0) loop: sw $t6,0xfc50($0) j loop
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2708.asm
ljhsiun2/medusa
9
120637
<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_2708.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0xecc4, %rax nop nop nop nop nop add $53867, %rbp vmovups (%rax), %ymm5 vextracti128 $0, ...
libsrc/oz/ozserial/ozserintoff.asm
dex4er/deb-z88dk
1
120638
; ; Sharp OZ family functions ; ; ported from the OZ-7xx SDK by by <NAME> ; by <NAME> - Oct. 2003 ; ; Serial libraries ; ; ; ------ ; $Id: ozserintoff.asm,v 1.2 2003/10/23 10:42:50 stefano Exp $ ; XLIB ozserintoff LIB ozcustomisr XREF serial_hook XREF rxxoff_hook LIB ozintwait XREF serial_c...
Transynther/x86/_processed/NC/_zr_/i7-7700_9_0x48.log_21829_2232.asm
ljhsiun2/medusa
9
120639
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x10c2, %r8 nop nop sub %rax, %rax mov $0x6162636465666768, %r14 movq %r14, %xmm2 and $0xffffffffffffffc0, %r8 movaps %xmm2, (%r8) nop nop inc %rax lea addresses_UC_ht+0x133aa, ...
pgm/gas/09_function_stack/pgm.asm
vinaib/x86_asm
0
120640
<filename>pgm/gas/09_function_stack/pgm.asm .data HelloWorld: .asciz "Hello World!\n" .text .globl _start .type PrintFunction, @function PrintFunction: pushl %ebp # store the current value of EBP on the stack movl %esp, %ebp # Make EBP point to top of stack # The write function movl $4, %...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_1171.asm
ljhsiun2/medusa
9
120642
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r14 push %r15 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x1d8fe, %rsi lea addresses_A_ht+0x163ce, %rdi nop cmp %r13, %r13 mov $45, %rcx rep movsb nop nop nop nop nop sub %rbx, %rbx lea address...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_581.asm
ljhsiun2/medusa
9
120643
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_581.asm .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x56bc, %rbp nop nop nop nop nop cmp $16993, %r14 mov (%rbp), %r13d nop nop nop add $42897...
oeis/142/A142229.asm
neoneye/loda-programs
11
120644
<filename>oeis/142/A142229.asm<gh_stars>10-100 ; A142229: Primes congruent to 32 mod 41. ; Submitted by <NAME> ; 73,401,647,811,1303,1549,1877,2287,2861,3271,3517,4091,4337,4583,4993,5813,6469,6551,6961,7043,7207,7699,8191,8273,8929,9011,9257,9421,9749,10159,10487,10651,10733,10979,11471,11717,12373,12619,13931,14177,1...
oeis/165/A165568.asm
neoneye/loda-programs
11
120645
<filename>oeis/165/A165568.asm<gh_stars>10-100 ; A165568: a(n) = -1 - 2*n + n^2 + 2*n^3 + n^4. ; -1,1,31,137,391,889,1751,3121,5167,8081,12079,17401,24311,33097,44071,57569,73951,93601,116927,144361,176359,213401,255991,304657,359951,422449,492751,571481,659287,756841,864839,984001,1115071,1258817,1416031,1587529,17741...
programs/oeis/094/A094626.asm
karttu/loda
0
120646
<gh_stars>0 ; A094626: Expansion of x*(1+x)/((1-x)*(1-10*x^2)). ; 0,1,2,12,22,122,222,1222,2222,12222,22222,122222,222222,1222222,2222222,12222222,22222222,122222222,222222222,1222222222,2222222222,12222222222,22222222222,122222222222,222222222222,1222222222222,2222222222222,12222222222222,22222222222222,12222222222222...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_227_1105.asm
ljhsiun2/medusa
9
120648
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x5acc, %rsi lea addresses_WC_ht+0x1274c, %rdi clflush (%rdi) nop xor $60839, %r14 mov $49, %rcx rep movsq nop xor %r10, %r10 lea addresses_normal_ht+0x604c, %r8 clflush (%r8) n...
libsrc/_DEVELOPMENT/arch/zx/bifrost_l/c/sccz80/BIFROSTL_resetAnim4Frames.asm
jpoikela/z88dk
640
120649
<reponame>jpoikela/z88dk ; ---------------------------------------------------------------- ; Z88DK INTERFACE LIBRARY FOR THE BIFROST* ENGINE - RELEASE 1.2/L ; ; See "bifrost_l.h" for further details ; ---------------------------------------------------------------- ; void BIFROSTL_resetAnim4Frames() SECTION code_cli...
_build/dispatcher/jmp_ippsTRNGenRDSEED_BN_9541143f.asm
zyktrcn/ippcp
1
120650
extern m7_ippsTRNGenRDSEED_BN:function extern n8_ippsTRNGenRDSEED_BN:function extern y8_ippsTRNGenRDSEED_BN:function extern e9_ippsTRNGenRDSEED_BN:function extern l9_ippsTRNGenRDSEED_BN:function extern n0_ippsTRNGenRDSEED_BN:function extern k0_ippsTRNGenRDSEED_BN:function extern ippcpJumpIndexForMergedLibs extern ippcp...
clock.asm
Noah1989/asm21
1
120651
<gh_stars>1-10 timekeeper_hours equ $7FFB timekeeper_minutes equ $7FFA timekeeper_seconds equ $7FF9 entrypoint clock .block LD A, 71 OUT gaddr_l, A LD A, 29 OUT gaddr_h, A LD A, (timekeeper_hours) CALL ROM_PRINT_BYTE LD A, ':' OUT chars_io, A LD A, (timekeeper_minutes) CALL ROM_PRINT_BYTE LD A, ':' OUT c...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_378.asm
ljhsiun2/medusa
9
120652
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x6adc, %rdi nop nop nop nop and %r11, %r11 mov $0x6162636465666768, %rdx movq %rdx, %xmm3 and $0xffffffffffffffc0, %rdi movntdq %xmm3, (%rdi) nop nop nop nop add %rbx, %rbx l...
src/buttons.asm
grantperry/elec342-alarm-clock
0
120654
<filename>src/buttons.asm buttons_init: ; clear: set as input cbi DDRD, 2 cbi DDRD, 3 cbi DDRD, 4 ; set: set as pull up sbi PORTD, 2 sbi PORTD, 3 sbi PORTD, 4 cli ldi r16, (1<<PCIE2) sts PCICR, r16 ; pin change mask. ldi r16, (1<<PCINT18)|(1<<PCINT19)|(1<<PCINT20) sts PCMSK2, r16 sei ; enable inte...
smsq/sbas/retstk.asm
olifink/smsqe
0
120655
<filename>smsq/sbas/retstk.asm ; SBAS_RETSTK - Translate return stack addresses/statements 2017 <NAME> ; ; 2018-01-01 1.01 Fixed "end of program/command line" problems (MK) section sbas xdef sb_ret2pos xdef sb_ret2adr xref sb_addsttx xref sb_sttaddx include 'dev8_keys_sbasic' include 'dev8_mac_assert' ;+...
oeis/289/A289213.asm
neoneye/loda-programs
11
120656
; A289213: a(n) = n! * Laguerre(n,-7). ; Submitted by <NAME>(s2) ; 1,8,79,916,12113,179152,2921911,51988748,1000578817,20686611736,456805020959,10721879413252,266382974861521,6980304560060384,192311632290456007,5555079068684580988,167822887344661475969,5290815252203206305832,173713426149927498289903,5929166608882971081...
src/test/ref/operator-lohi-problem.asm
jbrandwood/kickc
2
120658
// Illustrates problem with constant evaluation of lo/hi-operator // $20000 /$400 results in a byte value - confusing the lo/hi-evaluation // which currently relies on getting the type from the literal value. // A fix could be adding support for "declared" types for constant literal values // - enabling the lo/hi to kn...
data/battle/ai/rain_dance_moves.asm
genterz/pokecross
28
120659
; AI_SMART prefers these moves during rain. RainDanceMoves: db WATER_GUN db HYDRO_PUMP db SURF db BUBBLEBEAM db THUNDER db WATERFALL db CLAMP db BUBBLE db CRABHAMMER db OCTAZOOKA db WHIRLPOOL db -1 ; end
libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sccz80/l_f32_conv.asm
ahjelm/z88dk
640
120660
<filename>libsrc/_DEVELOPMENT/math/float/am9511/lam32/c/sccz80/l_f32_conv.asm SECTION code_fp_am9511 PUBLIC l_f32_uchar2f PUBLIC l_f32_uint2f PUBLIC l_f32_schar2f PUBLIC l_f32_sint2f PUBLIC l_f32_ulong2f PUBLIC l_f32_slong2f EXTERN asm_am9511_float8 EXTERN asm_am9511_float8u EXTE...
Appl/Games/Hearts/heartsDeck.asm
steakknife/pcgeos
504
120661
<filename>Appl/Games/Hearts/heartsDeck.asm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1993 -- All Rights Reserved PROJECT: PC GEOS MODULE: Hearts (trivia project) FILE: heartsDeck.asm AUTHOR: <NAME>, Jan 20, 1993 ROUTINES: Name Description...
programs/oeis/108/A108351.asm
neoneye/loda
22
120662
<gh_stars>10-100 ; A108351: Diagonal sums of symmetric triangle A108350. ; 1,1,2,3,5,8,14,24,43,77,140,255,467,856,1572,2888,5309,9761,17950,33011,60713,111664,205378,377744,694775,1277885,2350392,4323039,7951303,14624720,26899048,49475056,90998809,167372897,307846746 lpb $0 sub $0,2 mov $2,$0 max $2,0 seq $2,...
oeis/113/A113848.asm
neoneye/loda-programs
11
120663
; A113848: a(1) = a(2) = 1, a(n+2) = 2*a(n) + a(n+1)^2. ; Submitted by <NAME> ; 1,1,3,11,127,16151,260855055,68045359719085327,4630170979299719971778494028407039,21438483297549327871400796194793048411084076762817293736211302918175 mov $3,1 lpb $0 sub $0,1 mul $1,2 mov $2,$3 pow $3,2 add $3,$1 mov $1,$2 lpe...
Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_14067_357.asm
ljhsiun2/medusa
9
120664
<filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-8650U_0xd2_notsx.log_14067_357.asm .global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x4b26, %r14 nop nop nop add $20926, %r9 movw $0x6162, (%r14) nop nop nop nop nop and %...
maps/SafariZoneFuchsiaGateBeta.asm
Dev727/ancientplatinum
28
120665
<filename>maps/SafariZoneFuchsiaGateBeta.asm SafariZoneFuchsiaGateBeta_MapScripts: db 0 ; scene scripts db 0 ; callbacks SafariZoneFuchsiaGateBeta_MapEvents: db 0, 0 ; filler db 4 ; warp events warp_event 4, 0, SAFARI_ZONE_BETA, 1 warp_event 5, 0, SAFARI_ZONE_BETA, 2 warp_event 4, 7, FUCHSIA_CITY, 7 wa...
libsrc/_DEVELOPMENT/math/integer/fast/l_fast_mulu_24_16x8.asm
meesokim/z88dk
0
120668
INCLUDE "clib_cfg.asm" SECTION code_math PUBLIC l_fast_mulu_24_16x8, l0_fast_mulu_24_16x8, l1_fast_mulu_24_16x8 l_fast_mulu_24_16x8: ; unsigned multiplication of 16-bit and 8-bit ; multiplicands into a 24-bit product ; ; enter : e = 8-bit multiplicand ; hl = 16-bit multiplicand ; ; ex...
libsrc/_DEVELOPMENT/alloc/malloc/c/sccz80/heap_calloc.asm
teknoplop/z88dk
0
120670
<filename>libsrc/_DEVELOPMENT/alloc/malloc/c/sccz80/heap_calloc.asm ; void *heap_calloc(void *heap, size_t nmemb, size_t size) INCLUDE "clib_cfg.asm" SECTION code_clib SECTION code_alloc_malloc ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; IF __CLIB_OPT_MULTITHREAD & $01 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; PUBLIC heap_calloc EXTER...
source/system/tokeniser.asm
paulscottrobson/rpl-32
0
120671
; ****************************************************************************** ; ****************************************************************************** ; ; Name : tokenise.asm ; Purpose : RPL/32 Tokeniser ; Author : <NAME> (<EMAIL>) ; Created : 6th October 2019 ; ; ***********************************...
app/prelude1/trashcan/player-1.asm
ern0/549notes
2
120672
<reponame>ern0/549notes<gh_stars>1-10 ;----------------------------------------------------------------------- ; Prelude1 - PC-DOS 256-byte intro by ern0 ; Prototype-1: raw-diff-5 (with tables) ; ; Target: 80386 real mode, assembler: FASM ; ;----------------------------------------------------------------------- ; Regi...
data/pokemon/base_stats/meowth.asm
Karkino/KarkCrystal16
0
120674
<reponame>Karkino/KarkCrystal16 db 0 ; species ID placeholder db 50, 45, 50, 90, 45, 35 ; hp atk def spd sat sdf db NORMAL, NORMAL ; type db 255 ; catch rate db 69 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ; unknown 1 db 20 ; step cycles to hatch db 5 ; unknown...
oeis/103/A103177.asm
neoneye/loda-programs
11
120676
<gh_stars>10-100 ; A103177: (7*3^n + 2n + 5)/4. ; Submitted by <NAME> ; 3,7,18,50,145,429,1280,3832,11487,34451,103342,310014,930029,2790073,8370204,25110596,75331771,225995295,677985866,2033957578,6101872713,18305618117,54916854328,164750562960,494251688855,1482755066539 mov $1,3 pow $1,$0 mul $0,2 mul $1,7 add $0,$1...
src/demo8.asm
vbguyny/c64kernel
2
120678
<filename>src/demo8.asm incasm "kernel.hdr" ;incasm "kernel.asm" main @loop jsr console.clear$ lda #color.white$ sta console.setcharactercolor.color$ jsr console.setcharactercolor$ lda #<title sta console.writestr.straddress$ lda #>title sta console.wr...
Counter with display/toBCD_SRC.asm
bardia-p/ARM-Processor-Simulator
0
120679
<filename>Counter with display/toBCD_SRC.asm ; Equate the word 'breakpoint' with the value 0xFFFFFFFF ; This is a directive for the Assembler pre-processor. ; Prior to assembly, the pre-processor will replace every ; instance of the word 'breakpoint' with the value #0xFFFFFFFF. ; Why do this? a) Convenience: it's ...
source/jni/u2/glenz/vidmisc.asm
Falken42/SecondReality
9
120682
<gh_stars>1-10 forcesetborder MACRO color local l1 push ax push dx mov dx,3dah in al,dx mov dx,3c0h mov al,11h+32 out dx,al mov al,color out dx,al pop dx pop ax ENDM PUBLIC _setborder _setborder PROC FAR CBEG push cx mov cx,[bp+6] forcesetborder cl pop cx CEND _setborder EN...
oeis/179/A179477.asm
neoneye/loda-programs
11
120683
<filename>oeis/179/A179477.asm<gh_stars>10-100 ; A179477: Antonym of A014824: each term is 10 times the previous term minus n. ; 10,99,988,9877,98766,987655,9876544,98765433,987654322,9876543211,98765432100,987654320989,9876543209878,98765432098767,987654320987656,9876543209876545,98765432098765434,987654320987654323,9...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2_notsx.log_6556_1297.asm
ljhsiun2/medusa
9
120684
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r13 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x13ea8, %r11 nop nop nop nop nop sub %r13, %r13 mov $0x6162636465666768, %r10 movq %r10, %xmm7 movups %xmm7, (%r11) nop nop n...
keyboard.asm
Roflcoffel/AnzuOS
0
120685
; USE ASCII INSTEAD OF HEX VALUES, ' ' space, '\b' backspace etc. ; MORE VARIABLES ; TRY TO CREATE A JUMP TABLE... Cursor_X db 1 Cursor_Y db 1 handle_keystroke: mov ah, 00h ; Get Keystroke (Blocking I think) return is in AL int 16h ; Keyboard Interrupt cmp al, 0Dh ; (A...
Tests/datatypes.nasm
13xforever/x86-assembly-textmate-bundle
69
120686
; samples from Chapter 3: The NASM Language fadd st1 ; this sets st0 := st0 + st1 fadd st0,st1 ; so does this fadd st1,st0 ; this sets st1 := st1 + st0 fadd to st1 ; so does this db, dw, dd, dq, dt, do, dy, dz db 0x55 ...
libsrc/_DEVELOPMENT/math/float/math32/lm32/z80/asm_fam9511.asm
ahjelm/z88dk
640
120688
SECTION code_fp_math32 PUBLIC asm_f32_fam9511, asm_fam9511_f32 ;------------------------------------------------------------------------- ; f32_fam9511 - z80 format conversion code ;------------------------------------------------------------------------- ; ; convert am9511 float to IEEE-754 float ; ; enter : DEHL ...
source/error/handler.asm
mega65dev/rom-assembler
0
120689
; ******************************************************************************************** ; ******************************************************************************************** ; ; Name : handler.asm ; Purpose : .. ; Created : 15th Nov 1991 ; Updated : 4th Jan 2021 ; Authors : <NAME> ; ; *****...
programs/oeis/254/A254046.asm
karttu/loda
0
120691
<filename>programs/oeis/254/A254046.asm ; A254046: Column index of n in A191450: a(3n) = 1, a(3n+1) = 1, a(3n+2) = 1 + a(n+1). ; 1,2,1,1,3,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,5,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,4,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,3,1,1,2,1,1,2,1,1,4,1...
Semester4/MicroprocessorLab/Q5_Factorial.asm
ishank-dev/College-Work
1
120693
<gh_stars>1-10 assume cs: code, ds: data data segment n db 5 res db ? data ends code segment start: mov ax, data mov ds, ax mov al, n call fact mov ah, 4ch int 21h fact proc cmp al, 00h je zero push ax dec al call fact pop ax mul res mov res, al ...
src/boot/boot_sect_disk.asm
jconstam/JOS
0
120694
; SUBROUTINE - Load sectors from disk ; Number of sectors in 'dh' ; Drive index in 'dl' ; Loads into ES:BX disk_load: pusha ; Need to save value in dx to use later push dx ; Set ah to hold 'disk read' function (0x02) mov ah, 0x02 ; Set al to hold number of sectors to read (0x01-0x80) mov al, dh ; Set cl to...
_maps/SLZ Boss Spikeball.asm
kodishmediacenter/msu-md-sonic
9
120696
<reponame>kodishmediacenter/msu-md-sonic<filename>_maps/SLZ Boss Spikeball.asm ; --------------------------------------------------------------------------- ; Sprite mappings - exploding spikeys that the SLZ boss drops ; --------------------------------------------------------------------------- Map_BSBall_internal: ...
programs/oeis/077/A077118.asm
jmorken/loda
1
120697
; A077118: Nearest integer square to n^3. ; 0,1,9,25,64,121,225,361,529,729,1024,1296,1764,2209,2704,3364,4096,4900,5776,6889,7921,9216,10609,12100,13924,15625,17689,19600,21904,24336,26896,29929,32761,36100,39204,42849,46656,50625,54756,59536 pow $0,3 mov $2,1 lpb $0 sub $0,$2 add $1,$2 add $2,2 lpe
oeis/026/A026350.asm
neoneye/loda-programs
11
120698
<reponame>neoneye/loda-programs ; A026350: a(n) = a(m) if a(m) has already occurred exactly once and n = a(m)+m-1, else a(n) = least positive integer that has not yet occurred. ; Submitted by <NAME> ; 1,2,2,3,4,3,5,4,6,7,5,8,9,6,10,7,11,12,8,13,9,14,15,10,16,17,11,18,12,19,20,13,21,22,14,23,15,24,25,16,26,17,27,28,18,2...
programs/oeis/057/A057675.asm
jmorken/loda
1
120699
; A057675: 1 - (5/6)*n + (5/2)*n^2 + (10/3)*n^3 + n^4. ; 1,7,52,192,507,1101,2102,3662,5957,9187,13576,19372,26847,36297,48042,62426,79817,100607,125212,154072,187651,226437,270942,321702,379277,444251,517232,598852,689767,790657,902226,1025202,1160337,1308407,1470212,1646576,1838347,2046397,2271622,2514942,2777301,305...
programs/oeis/014/A014990.asm
neoneye/loda
22
120700
<reponame>neoneye/loda ; A014990: a(n) = (1 - (-8)^n)/9. ; 1,-7,57,-455,3641,-29127,233017,-1864135,14913081,-119304647,954437177,-7635497415,61083979321,-488671834567,3909374676537,-31274997412295,250199979298361,-2001599834386887,16012798675095097,-128102389400760775,1024819115206086201,-8198552921648689607,655884233...
0.5-Testing/src/boot/io.asm
CedricFauth/VIteen-a-16-bit-OS
13
120702
;----------------------------------------------- ; bootloader library by <NAME> ;----------------------------------------------- ; printing a new line println: push ax mov ah, 0x0e ; BIOS teletype output mov al, 0xa ; '\n' int 0x10 ; print ir mov al, 0xd ; '\r' int 0x10 ; print ir pop ax ret ; ...
lista2/exerc5..asm
Durfan/ufsj-lab-aoc1
0
120703
<filename>lista2/exerc5..asm .data vetor: .word 0:20000 .text la $s6,vetor li $t5,-5 sw $t5,8($s6) sw $t5,12($s6) sw $t5,20($s6) sw $t5,24($s6) sw $t5,32($s6) loop: slti $t1,$t2,20000 beq $t1,$zero,end lw $t0,($s6) slti $t1,$t0,0 beq $t1,$zero,next addi $s0,$s0,1 next: addi $s6,$s6,4 addi $t2,$t2,...
oeis/120/A120385.asm
neoneye/loda-programs
11
120704
<reponame>neoneye/loda-programs ; A120385: If a(n-1) = 1 then largest value so far + 1, otherwise floor(a(n-1)/2); or table T(n,k) with T(n,0) = n, T(n,k+1) = floor(T(n,k)/2). ; Submitted by <NAME> ; 1,2,1,3,1,4,2,1,5,2,1,6,3,1,7,3,1,8,4,2,1,9,4,2,1,10,5,2,1,11,5,2,1,12,6,3,1,13,6,3,1,14,7,3,1,15,7,3,1,16,8,4,2,1,17,8,...
oeis/319/A319676.asm
neoneye/loda-programs
11
120705
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A319676: Numerator of A047994(n)/n where A047994 is the unitary totient function. ; Submitted by <NAME> ; 1,1,2,3,4,1,6,7,8,2,10,1,12,3,8,15,16,4,18,3,4,5,22,7,24,6,26,9,28,4,30,31,20,8,24,2,36,9,8,7,40,2,42,15,32,11,46,5,48,12,32,9,52,13,8,3,12,14,58,2,60,15,16,63,48,1...
kernel/interrupts.asm
cheetosysst/os
2
120706
; interrupt.asm [bits 32] extern interrupt_handler %macro no_error_code_interrupt_handler 1 global interrupt_handler_%1 interrupt_handler_%1: cli push byte 0 ; Push error code push byte %1 ; Interrupt number jmp common_interrupt_handler ; Jump to common handler %endmacro %macro error_code_interrupt_handle...
gfx/pokemon/ditto/anim.asm
Dev727/ancientplatinum
28
120707
<reponame>Dev727/ancientplatinum frame 5, 08 frame 1, 08 frame 2, 08 frame 3, 06 frame 2, 06 frame 0, 12 frame 6, 12 frame 7, 12 frame 8, 12 endanim
asm/grfics2-a.asm
metlinskyi/archive
0
120708
page 60,132 TITLE GRAPH (EXE) RED EQU 04h GREEN EQU 02h LIGHTRED EQU 0Ch LIGHTGREEN EQU 0Ah LIGTHBLUE EQU 09h DATASG SEGMENT PARA 'Data' STRING DB 'LUCKY' FULL DD STRING XY DW 0F0CH ...
50-防范缓冲区溢出和死循环/OS-kernel-win-sheet/api_call.asm
wdkang123/MyOperatingSystem
7
120710
<filename>50-防范缓冲区溢出和死循环/OS-kernel-win-sheet/api_call.asm<gh_stars>1-10 [map symbols app_c.map] [SECTION .s32] BITS 32 call main mov edx, 4 ;返回内核 int 02Dh api_putchar: mov edx, 1 mov al, [esp + 4] int 02Dh ret %include "app.asm"
guest/s2ebios/s2e-bios-64.asm
sebastianpoeplau/s2e
55
120711
<reponame>sebastianpoeplau/s2e<filename>guest/s2ebios/s2e-bios-64.asm ; S2E Selective Symbolic Execution Platform ; ; Copyright (c) 2013 Dependable Systems Laboratory, EPFL ; ; Permission is hereby granted, free of charge, to any person obtaining a copy ; of this software and associated documentation files (the "Softwa...
libsrc/_DEVELOPMENT/l/z80/long/l_dec_dehl.asm
meesokim/z88dk
0
120712
<filename>libsrc/_DEVELOPMENT/l/z80/long/l_dec_dehl.asm SECTION code_l PUBLIC l_dec_dehl l_dec_dehl: ; decrement 32-bit value ; ; enter : dehl = 32 bit number ; ; exit : dehl = dehl - 1 ; ; uses : af, de, hl ld a,h or l dec hl ret nz dec de ret
common/comdef.asm
DigitalMars/optlink
28
120714
TITLE COMDEF - Copyright (c) SLR Systems 1994 INCLUDE MACROS INCLUDE SYMBOLS INCLUDE SEGMENTS INCLUDE CDDATA PUBLIC COMDEF,LCOMDF .DATA EXTERNDEF COMM_TYPE:BYTE,COMM_NUMBER:BYTE,MCD_FLAGS:BYTE,COMDAT_FLAGS:BYTE,COMDAT_ALIGN:BYTE EXTERNDEF COMDAT_ATTRIB:BYTE EXTERNDEF SYM_HASH_MOD:DWORD,END_OF_...
Transynther/x86/_processed/AVXALIGN/_ht_zr_un_/i9-9900K_12_0xca_notsx.log_21829_1212.asm
ljhsiun2/medusa
9
120715
.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_UC_ht+0x19042, %r10 clflush (%r10) nop nop nop nop add $61906, %rbx mov (%r10), %rbp nop nop nop and $26861, %r8 lea addresses_A_ht+0x18f1a, %rsi lea addresses_normal_ht+0x5342, %rdi ...
ggsound_nesasm/ggsound.asm
cacciatc/ggsound
1
120716
;Expects sound_param_byte_0 to contain desired region (SOUND_REGION_NTSC, SOUND_REGION_PAL, SOUND_REGION_DENDY) ;Expects sound_param_word_0 to contain song list address. ;Expects sound_param_word_1 to contain sfx list address. ;Expects sound_param_word_2 to contain instrument list address. ;If FEATURE_DPCM is defin...
src/intel/tools/tests/gen7/cbit.asm
SoftReaper/Mesa-Renoir-deb
0
120717
<filename>src/intel/tools/tests/gen7/cbit.asm<gh_stars>0 cbit(8) g5<1>UD g5<8,8,1>UD { align1 1Q }; cbit(16) g6<1>UD g8<8,8,1>UD { align1 1H }; cbit(8) g11<1>UD g10<4>UD { align16 1Q };
os/l7test.asm
ceharris/sbz80
0
120718
.name l7test .extern d3210 spi_l7 .equ 0 num_digits .equ 8 buf_size .equ 2*num_digits + 4 .org 0 ld sp,0 ; signed negative, exact fit, decimal point at 2 ld b,10000111b ld c,01010000b ld de,0 ld hl,0 ...
test/link/align3/align3.asm
nigelperks/BasicAssembler
0
120720
; Align segments in image: minimum alignment is paragraph except first seg IDEAL SEGMENT MAIN ASSUME CS:MAIN ORG 100h start: mov si, OFFSET _a int 20h ENDS MAIN SEGMENT SEG1 DWORD _a DD 12345678h ENDS SEG1 END start
oeis/218/A218985.asm
neoneye/loda-programs
11
120721
<reponame>neoneye/loda-programs ; A218985: Power ceiling sequence of 2+sqrt(6). ; Submitted by <NAME> ; 5,23,103,459,2043,9091,40451,179987,800851,3563379,15855219,70547635,313900979,1396699187,6214598707,27651793203,123036370227,547449067315,2435869009715,10838374173491,48225234713395,214577687200563,954761218229043,4...
tools-src/gnu/gcc/gcc/config/d30v/libgcc1.asm
enfoTek/tomato.linksys.e2000.nvram-mod
80
120722
/* Assembly support functions for libgcc. * * Copyright (C) 1997 Free Software Foundation, Inc. * Contributed by Cygnus Support * * This file is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either ...
programs/oeis/165/A165958.asm
neoneye/loda
22
120723
; A165958: The digits on a number pad from lower right to upper left. ; 0,3,2,1,6,5,4,9,8,7 mul $0,7 pow $0,3 dif $0,2 mod $0,10
Transynther/x86/_processed/NC/_st_zr_sm_/i7-8650U_0xd2.log_349_60.asm
ljhsiun2/medusa
9
120724
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x49bb, %rbx nop nop nop add %rsi, %rsi mov $0x6162636465666768, %rbp movq %rbp, (%rbx) lfence lea addresses_normal_ht+0x30cb, %rbp sub %rcx, %rcx mov (%rbp), %r...
libsrc/_DEVELOPMENT/math/float/math48/z80/am48_dfp.asm
meesokim/z88dk
0
120725
SECTION code_fp_math48 PUBLIC am48_dfp EXTERN mm48_frac ; fraction part of double ; AC'= fraction_part(AC') ; ; AC' is set to the fraction part of AC' with the same sign as AC' ; ; enter : AC'= double x ; ; exit : AC'= fp(x) ; ; note : FRAC( 3.7)= 0.7 ; FRAC(-3.7)=-0.7 ...
Graphics/3GXlib/DrawRect.asm
jaredwhitney/os3
5
120726
<filename>Graphics/3GXlib/DrawRect.asm L3gx.lineRect : ; L3gxImage image, int x, int y, int width, int height, int Color methodTraceEnter pop dword [lineRect.retval] pop dword [lineRect.color] pop dword [lineRect.h] pop dword [lineRect.w] pop dword [lineRect.y] pop dword [lineRect.x] pop dword [lineRect.image] ...
03_hello_world_args.asm
v3ree/learning_asm
0
120727
<filename>03_hello_world_args.asm ; Compile with: nasm -f elf <filename>.asm ; Link with (64 bit systems require elf_i386 option): ld -m elf_i386 <filename>.o -o <filename> %include "str_lib0.asm" SECTION .data str1 db `Hello, cruel world!\n\0` str2 db `Look on my works, ye mighty, ...
data/pokemon/dex_entries/salamence.asm
AtmaBuster/pokeplat-gen2
6
120728
db "DRAGON@" ; species name db "It's uncontrolable" next "when enraged. It" next "will fly around" page "spouting flames," next "scorching fields" next "and mountains.@"
oeis/313/A313297.asm
neoneye/loda-programs
11
120729
<filename>oeis/313/A313297.asm ; A313297: Coordination sequence Gal.6.210.1 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. ; Submitted by <NAME> ; 1,4,9,15,21,27,33,39,45,51,57,62,66,70,75,81,87,93,99,105,111,117,123,128,132,136,141,1...
programs/oeis/037/A037498.asm
karttu/loda
1
120730
<filename>programs/oeis/037/A037498.asm ; A037498: Base-5 digits are, in order, the first n terms of the periodic sequence with initial period 1,0,2. ; 1,5,27,136,680,3402,17011,85055,425277,2126386,10631930,53159652,265798261,1328991305,6644956527,33224782636,166123913180,830619565902,4153097829511,20765489147555,1038...
Script/2.asm
WardunIslam/CSE331L_Section_7_Summer20_NSU_Final
0
120731
.MODEL SMALL .STACK 100H .DATA PROMPT_1 DB 'Number in HEX: $' PROMPT_2 DB 0DH, 0AH,'Number in Binary: $' ILLEGAL DB 0DH, 0AH,'Illegal hex number. Try again.$', 0DH, 0AH COUNT DB ? .CODE MAIN PROC MOV AX, @DATA MOV DS, AX JMP @INPUT @ERROR: MOV ...
libsrc/_DEVELOPMENT/stdlib/c/sdcc_iy/ultoa_callee.asm
meesokim/z88dk
0
120732
; char *ultoa_callee(unsigned long num, char *buf, int radix) SECTION code_stdlib PUBLIC _ultoa_callee EXTERN asm_ultoa _ultoa_callee: pop af pop hl pop de pop ix pop bc push af jp asm_ultoa
programs/oeis/139/A139814.asm
karttu/loda
1
120733
<reponame>karttu/loda<filename>programs/oeis/139/A139814.asm ; A139814: a(n)=a(n-1)+a(n-2)+a(n-3)+2a(n-4); a(0)=0,a(1)=1,a(2)=3,a(3)=7. ; 0,1,3,7,11,23,47,95,187,375,751,1503,3003,6007,12015,24031,48059,96119,192239,384479,768955,1537911,3075823,6151647,12303291,24606583,49213167,98426335,196852667,393705335,787410671,...
programs/oeis/182/A182834.asm
neoneye/loda
22
120734
<reponame>neoneye/loda<gh_stars>10-100 ; A182834: Complement of A007590, except for initial zeros. ; 1,3,5,6,7,9,10,11,13,14,15,16,17,19,20,21,22,23,25,26,27,28,29,30,31,33,34,35,36,37,38,39,41,42,43,44,45,46,47,48,49,51,52,53,54,55,56,57,58,59,61,62,63,64,65,66,67,68,69,70,71,73,74,75,76,77,78,79,80,81,82,83,85,86,87,...
Musics/LevelSongs/source/welt2_star1.asm
kosmonautdnb/TheLandsOfZador
0
120735
kp_song kp_reloc dc.w kp_song_registers dc.w kp_speed dc.w kp_grooveboxpos dc.w kp_grooveboxlen dc.w kp_groovebox dc.w kp_patternlen dc.w kp_patternmap_lo dc.w kp_patternmap_hi dc.w kp_insmap_lo dc.w kp_insmap_hi dc.w kp_volmap_lo dc.w kp_volmap_hi dc.w kp_sequence kp_song_registers kp_speed dc.b $02 kp_g...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_234.asm
ljhsiun2/medusa
9
120736
<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_234.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r13 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1a7c9, %rdi nop sub $51015, %r13 mov (%rdi), %rsi cmp %rcx, %rcx lea addresses_nor...