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
Library/Kernel/Local/gengoDate.asm
steakknife/pcgeos
504
197631
<filename>Library/Kernel/Local/gengoDate.asm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1993 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: gengoDate.asm AUTHOR: <NAME>, Nov 22, 1993 ROUTINES: Name Description ---- ----------- ...
programs/oeis/294/A294016.asm
neoneye/loda
22
197632
; A294016: a(n) = sum of all divisors of all positive integers <= n, minus the sum of remainders of n mod k, for k = 1, 2, 3, ..., n. ; 1,4,7,14,17,30,33,48,57,74,77,110,113,134,153,184,187,230,233,278,301,330,333,406,419,452,479,536,539,624,627,690,721,762,789,900,903,948,983,1084,1087,1196,1199,1280,1347,1400,1403,15...
lib/mode9-screen.asm
OSToastBach/proto-arc
1
197633
; ============================================================================ ; MODE 9 screen routines ; ============================================================================ ; R8 = screen address ; trashes r0-r9 screen_cls: add r9, r8, #Screen_Bytes mov r0, #0 mov r1, #0 mov r2, #0 mov r3, #0 mov r4, #0...
release/src/router/gmp/source/mpn/x86/pentium/mod_1.asm
zhoutao0712/rtn11pb1
12
197635
dnl Intel P5 mpn_mod_1 -- mpn by limb remainder. dnl Copyright 1999, 2000, 2002 Free Software Foundation, Inc. dnl dnl This file is part of the GNU MP Library. dnl dnl The GNU MP Library is free software; you can redistribute it and/or dnl modify it under the terms of the GNU Lesser General Public License as dnl ...
src/func/debugMessage.asm
szapp/Ninja
17
197638
; void __stdcall ninja_debugMessage(zString *) ; Log additional information (requires zSpy level >= 6) global ninja_debugMessage ninja_debugMessage: resetStackoffset %assign arg_1 +0x4 ; zString * %assign arg_total 0x4 xor ecx, ecx ...
oeis/133/A133632.asm
neoneye/loda-programs
11
197639
<reponame>neoneye/loda-programs ; A133632: a(1)=1, a(n)=(p-1)*a(n-1), if n is even, else a(n)=p*a(n-2), where p=5. ; Submitted by <NAME> ; 1,4,5,20,25,100,125,500,625,2500,3125,12500,15625,62500,78125,312500,390625,1562500,1953125,7812500,9765625,39062500,48828125,195312500,244140625,976562500,1220703125,4882812500,610...
programs/oeis/070/A070851.asm
neoneye/loda
22
197640
<filename>programs/oeis/070/A070851.asm ; A070851: Smallest prime == 1 mod (7n). ; 29,29,43,29,71,43,197,113,127,71,463,337,547,197,211,113,239,127,1597,281,883,463,967,337,701,547,379,197,2437,211,1303,449,463,239,491,757,2591,1597,547,281,1723,883,3011,617,631,967,659,337,1373,701,1429 add $0,1 mul $0,7 sub $0,1 seq...
savefile/maps/2536_CabinFrontyard.asm
stranck/fools2018-1
35
197643
SECTION "Map_2536", ROM0[$B800] Map_2536_Header: hdr_tileset 0 hdr_dimensions 6, 6 hdr_pointers_a Map_2536_Blocks, Map_2536_TextPointers hdr_pointers_b Map_2536_Script, Map_2536_Objects hdr_pointers_c Map_2536_InitScript, Map_2536_RAMScript hdr_palette $06 ...
PROGS/p1p2p.asm
carlos-santiago-2017/HC12-MicrocontrollerNotes
0
197644
<filename>PROGS/p1p2p.asm ORG $100 ; origen en dir $100 PORTA EQU $00 ; equivalencia portA =00 PORTB EQU $04 ; equivalencia portB =04 DDRA EQU $01 ; equivalencia data direction registrer INICIO LDX #$1000 ; carga registro X con valor direccion $1000 LDAA #$FF ...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1209.asm
ljhsiun2/medusa
9
197646
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0x448b, %rax nop nop nop nop nop xor $59688, %r10 movups (%rax), %xmm7 vpextrq $1, %xmm7, %r9 nop sub %rbp, %rbp lea addresses_UC_ht+0xc8b, %rsi nop xor $63781, %r11 m...
Part-2 Submission/Q2.asm
nureazam/CSE331L_Section_7_Summer20_NSU_Midterm_1
0
197647
.MODEL SMALL .STACK 100H .DATA PROMPT_1 DB 'Enter a String: $\' PROMPT_2 DB 'The integer is : $\' PROMPT_3 DB 'Two String : $\' VALUE_1 DB ? VALUE_2 DB ? .CODE MAIN PROC MOV AX, @DATA MOV DS, AX LEA DX, PROMPT_1 MOV AH, 9 INT 21H MOV AH, 1 INT 21H SUB AL, 30H MOV VALUE_1,AL MOV AH, 2 MOV DL, 0DH ...
asm-step-by-step/src/hello.asm
jsanders/work-throughs
5
197648
; Simple program demonstrating INT 80H syscalls ; ; nasm -f elf -g -F stabs hello.asm ; ld -o hello hello.o SECTION .data ; Initialized data section Message: db "Hello, World", 0x0A MessageLen: equ $-Message SECTION .bss ; Uninitialized data section SECTION .text ; Code section global _start ; Entry point f...
programs/oeis/163/A163978.asm
karttu/loda
0
197650
; A163978: a(n) = 2*a(n-2) for n > 2; a(1) = 3, a(2) = 4. ; 3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576,32768,49152,65536,98304,131072,196608,262144,393216,524288,786432,1048576,1572864,2097152,3145728,4194304,6291456,8388608,12582912,16777216,25165824,33554...
assign1/assign1.asm
Andrew-Slade/Assembler
0
197651
<gh_stars>0 //KC03nnnA JOB ,'your name here',MSGCLASS=H //JSTEP01 EXEC PGM=ASSIST //STEPLIB DD DSN=KC00NIU.ASSIST.LOADLIB,DISP=SHR //SYSPRINT DD SYSOUT=* //SYSIN DD * ****************************************************************** * * * ASSIGNMENT ...
Tests/TestFunctions.asm
MrKWatkins/ZXSpectrumNextTests
23
197653
StartTest: di ; Turn off interrupts in case they interfere. ; clear ULA screen to: BORDER 7 : PAPER 7 : INK 0 : CLS ; - this removes any ULA artefacts left by SNA loaders and majority of tests expects ; this "BASIC" state of screen, so let's make sure it is like that. ld ...
programs/oeis/079/A079503.asm
neoneye/loda
22
197654
<reponame>neoneye/loda ; A079503: a(n) = (n-1)^3*((n-2)^2 - 2*(n-3)). ; 0,2,8,54,320,1250,3672,8918,18944,36450,65000,109142,174528,268034,397880,573750,806912,1110338,1498824,1989110,2600000,3352482,4269848,5377814,6704640,8281250,10141352,12321558,14861504,17803970,21195000,25084022,29523968,34571394,40286600,4673375...
_lab/lab05/print_array.asm
prasantadh/w20
0
197655
# print_array.asm program # CS 64, Z.Matni, <EMAIL> # # Don't forget to: # make all arguments to any function go in $a0 and/or $a1 # make all returned values from functions go in $v0 .data # TODO: Write your initializations here .text printA: # TODO: Write your function code here main: # TODO: Write your ...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_807.asm
ljhsiun2/medusa
9
197657
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r9 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_UC_ht+0x1045c, %rax nop nop sub %rcx, %rcx movb $0x61, (%rax) nop nop nop nop add %r11, %r11 lea addresses_WT_ht+0xcb3c, %r10 nop nop nop nop inc %rcx movw $0x6162, (%...
programs/oeis/245/A245788.asm
jmorken/loda
1
197658
; A245788: n times the number of 1's in the binary expansion of n. ; 0,1,2,6,4,10,12,21,8,18,20,33,24,39,42,60,16,34,36,57,40,63,66,92,48,75,78,108,84,116,120,155,32,66,68,105,72,111,114,156,80,123,126,172,132,180,184,235,96,147,150,204,156,212,216,275,168,228,232,295,240,305,310,378,64,130,132,201,136,207,210,284,144,...
src/brainfu.asm
ViGrey/brainfu
5
197660
;; Copyright (C) 2018, <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 code must retain the above copyright ;; notice, this list of conditions a...
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sdcc_ix/tshc_visit_wc_pix_callee.asm
jpoikela/z88dk
640
197661
; void tshc_visit_wc_pix(struct r_Rect8 *r, void *function) SECTION code_clib SECTION code_arch PUBLIC _tshc_visit_wc_pix_callee PUBLIC l0_tshc_visit_wc_pix_callee EXTERN asm_zx_visit_wc_pix _tshc_visit_wc_pix_callee: pop af pop bc pop de push af l0_tshc_visit_wc_pix_callee: push bc ex (sp),...
Debug/shamd5.asm
polamagdygeo/uWave
0
197662
;****************************************************************************** ;* TI ARM C/C++ Codegen Unix v18.1.1.LTS * ;* Date/Time created: Fri Jul 3 20:08:25 2020 * ;****************************************************************************** ...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0xca.log_21829_927.asm
ljhsiun2/medusa
9
197664
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1dde, %rsi lea addresses_UC_ht+0xb09e, %rdi nop and $28388, %r10 mov $38, %rcx rep movsb nop nop nop inc %rax lea addresses_A_ht+0x151de, %rsi lea addresses_A_ht+0x13bfe, %rdi clflush (%rdi)...
Windows/FastFindFloat.asm
clayne/FastExtrema
6
197665
; /******************************************************************* ; * ; * Author: <NAME> ; * <EMAIL> ; * https://github.com/komrad36 ; * ; * Last updated Mar 12, 2021 ; *******************************************************************/ _TEXT$FastFindFloat SEGMENT ALIGN(64) FastFindFloat PROC vbroa...
exe/shldxdi.asm
DigitalMars/optlink
28
197666
TITLE SHLDXDI - Copyright (c) SLR Systems 1991 INCLUDE MACROS PUBLIC SHL_DXDI_PAGESHIFT_DI .CODE ROOT_TEXT ASSUME DS:NOTHING SHL_DXDI_PAGESHIFT_DI PROC ; ; ; REPT PAGE_SHIFT ADD DI,DI ADC DX,DX ENDM SHRI DI,PAGE_SHIFT RET SHL_DXDI_PAGESHIFT_DI ENDP END
programs/oeis/249/A249916.asm
neoneye/loda
22
197667
<reponame>neoneye/loda ; A249916: a(n) = 4*(n - 1) - a(n-3), n >= 3, a(0) = a(1) = 1, a(2) = 5. ; 1,1,5,7,11,11,13,13,17,19,23,23,25,25,29,31,35,35,37,37,41,43,47,47,49,49,53,55,59,59,61,61,65,67,71,71,73,73,77,79,83,83,85,85,89,91,95,95,97,97,101,103,107,107,109,109,113,115,119,119,121,121,125,127 add $0,5 mov $2,-3 ...
Driver/IFS/RFSD/rfsdServer.asm
steakknife/pcgeos
504
197670
<filename>Driver/IFS/RFSD/rfsdServer.asm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: rfsdServer.asm AUTHOR: <NAME>, Jun 1, 1992 ROUTINES: Name Description ---- ----------- S...
test/popcnt.asm
bitwiseworks/nasm-os2
3
197671
<reponame>bitwiseworks/nasm-os2<filename>test/popcnt.asm ;Testname=test; Arguments=-fbin -opopcnt.bin; Files=stdout stderr popcnt.bin bits 16 popcnt ax,cx popcnt ax,[si] popcnt ax,word [si] popcnt eax,ecx popcnt eax,[si] popcnt eax,dword [si] bits 32 popcnt ax,cx popcnt ax,[esi] popcnt ax,...
Borland/CBuilder5/Source/RTL/source/math/coshl.asm
TrevorDArcyEvans/DivingMagpieSoftware
1
197673
<gh_stars>1-10 ;[]-----------------------------------------------------------------[] ;| COSHL.ASM -- trigonometric function | ;[]-----------------------------------------------------------------[] ; ; C/C++ Run Time Library - Version 10.0 ; ; Copyright (c) 1991, 2000 by Inprise Corp...
programs/oeis/275/A275709.asm
karttu/loda
1
197674
<reponame>karttu/loda ; A275709: a(n) = 2*n^3 + 3*n^2. ; 0,5,28,81,176,325,540,833,1216,1701,2300,3025,3888,4901,6076,7425,8960,10693,12636,14801,17200,19845,22748,25921,29376,33125,37180,41553,46256,51301,56700,62465,68608,75141,82076,89425,97200,105413,114076,123201,132800,142885,153468,164561,176176,188325,201020,21...
data/pokemon/base_stats/smoochum.asm
Dev727/ancientplatinum
2
197675
<filename>data/pokemon/base_stats/smoochum.asm<gh_stars>1-10 db 0 ; species ID placeholder db 45, 30, 15, 65, 85, 65 ; hp atk def spd sat sdf db ICE, PSYCHIC ; type db 45 ; catch rate db 87 ; base exp db ICE_BERRY, ICE_BERRY ; items db GENDER_F100 ; gender ratio db 100 ; unknown 1 db 25 ; step ...
programs/oeis/245/A245581.asm
neoneye/loda
22
197677
<gh_stars>10-100 ; A245581: (5 * (1 + (-1)^(1 + n)) + 2 * n^2) / 4. ; 0,3,2,7,8,15,18,27,32,43,50,63,72,87,98,115,128,147,162,183,200,223,242,267,288,315,338,367,392,423,450,483,512,547,578,615,648,687,722,763,800,843,882,927,968,1015,1058,1107,1152,1203,1250,1303,1352,1407,1458,1515,1568,1627,1682,1743,1800,1863,1922,...
programs/oeis/236/A236203.asm
neoneye/loda
22
197678
<filename>programs/oeis/236/A236203.asm ; A236203: Interleave A005563(n), A028347(n). ; 0,0,3,5,8,12,15,21,24,32,35,45,48,60,63,77,80,96,99,117,120,140,143,165,168,192,195,221,224,252,255,285,288,320,323,357,360,396,399,437,440,480,483,525,528,572,575,621,624,672,675,725,728,780,783,837,840,896,899,957,960,1020,1023,10...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_1169.asm
ljhsiun2/medusa
9
197679
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r8 push %rcx push %rdi push %rsi lea addresses_D_ht+0x1187b, %r13 nop nop nop nop nop and $17743, %r11 mov (%r13), %edi nop nop nop nop nop and $61777, %r8 lea addresses_WT_ht+0x1b05b, %rsi lea addresses_D_ht+0x135db, %rdi n...
Aurora/Aurora/x64/Debug/devfs.asm
manaskamal/aurora-xeneva
8
197680
<gh_stars>1-10 ; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1 include listing.inc INCLUDELIB LIBCMT INCLUDELIB OLDNAMES CONST SEGMENT $SG3008 DB 'dev', 00H $SG3009 DB '/dev', 00H CONST ENDS PUBLIC ?devfs_mount@@YAXXZ ; devfs_mount EXTRN ?strcpy@@YAPEADPEADPEBD@Z:PROC ; strcpy EX...
src/third_party/nasm/travis/test/andbyte.asm
Mr-Sheep/naiveproxy
2,219
197681
bits 16 add sp, byte -0x10 add sp, -0x10 adc sp, byte -0x10 adc sp, -0x10 and sp, byte -0x10 and sp, -0x10 sbb sp, byte -0x10 sbb sp, -0x10 sub sp, byte -0x10 sub sp, -0x10
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_11820_1422.asm
ljhsiun2/medusa
9
197682
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r11 push %r12 push %r15 push %rax push %rbx push %rdx // Store lea addresses_PSE+0x15337, %r11 nop nop nop nop nop add %r15, %r15 mov $0x5152535455565758, %r12 movq %r12, (%r11) nop cmp %r12, %r12 ...
libsrc/adt/heap/adt_HeapAdd_callee.asm
jpoikela/z88dk
640
197683
<filename>libsrc/adt/heap/adt_HeapAdd_callee.asm ; void __CALLEE__ adt_HeapAdd_callee(void *item, void **array, uint *n, void *compare) ; 08.2005 aralbrec SECTION code_clib PUBLIC adt_HeapAdd_callee PUBLIC _adt_HeapAdd_callee PUBLIC CDISP_ADT_HEAPADD_CALLEE EXTERN ADTHeapAdd, ADThcompare .adt_HeapAdd_callee ._adt_H...
Kernel/asm/lights.asm
LucasCasa/Kerner
0
197684
<reponame>LucasCasa/Kerner GLOBAL lights lights: cli push rbp mov rbp, rsp mov rax, 0xED out 60h,al ciclo: in al,60h cmp al, 0xFA jne ciclo ;esperar: ; in al,64h ; cmp al,2 ; jne esperar send: mov rax, rdi out 60h,al sti leave ret ;------------------------------; ; Update the keyboard LED?s ; ;-...
asm/binomial/binomial.asm
severinkaderli/BTI7061-CSBas
1
197685
section .data N: db 30 K: db 10 section .bss NumberString: resb 16 section .text global _start EXTERN printText, printNewline, convertNumberToString ;****************************************************************************** ; Calculates the binomial coefficient ; ; Input: rax: The n ; rbx: The k ; ...
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca.log_21829_998.asm
ljhsiun2/medusa
9
197687
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r15 push %r9 push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0xc702, %rbx nop nop nop dec %r9 and $0xffffffffffffffc0, %rbx movaps (%rbx), %xmm3 vpextrq $1, %xmm3, %r15 nop nop sub $32942, %rcx lea addresses_D_ht...
oeis/140/A140408.asm
neoneye/loda-programs
11
197688
; A140408: Irregular triangle T(n,k) read by rows: n repetitions of -1 followed by (n+1) repetitions of n+1. ; 1,-1,2,2,-1,-1,3,3,3,-1,-1,-1,4,4,4,4,-1,-1,-1,-1,5,5,5,5,5,-1,-1,-1,-1,-1,6,6,6,6,6,6,-1,-1,-1,-1,-1,-1,7,7,7,7,7,7,7,-1,-1,-1,-1,-1,-1,-1,8,8,8,8,8,8,8,8,-1,-1,-1,-1,-1,-1,-1,-1,9,9,9,9,9,9,9,9,9,-1,-1,-1,-1...
u7-common/patch-eop-getKeyboardShiftBits.asm
JohnGlassmyer/UltimaHacks
68
197689
; Returns a bitmask telling whether the Alt/Ctrl/Shift keys are held. ; ; One eop that returns all shift bits together reduces the number of calls (and ; entries in the relocation table) needed to test for multiple shift keys. [bits 16] startPatch EXE_LENGTH, eop-getKeyboardShiftBits startBlockAt addr_eop_getKey...
Examples/keyboard/wasd_keyboard.asm
IanM-Matrix1/KickAss_hla
1
197690
/* Example: wasd_keyboard_state.asm Demonstration of coverage of the keyboard controls. Note that the same down/up/pressed/not_pressed/released/not_released tests will work in exactly the same way for directions and fire on the joystick. Just run it and see all of the tests being performed fo...
lib/extend.asm
argymouz/alan-compiler
0
197691
<reponame>argymouz/alan-compiler ; extend (b : byte) : int ; ----------------- ; This function takes a byte and converts it to integer. section .code global _extend _extend push rbp mov rbp, rsp xor rax, rax mov al, dil pop rbp ret
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0x84_notsx.log_21829_99.asm
ljhsiun2/medusa
9
197692
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x2519, %rsi lea addresses_A_ht+0x1519, %rdi clflush (%rdi) nop nop nop nop xor $55717, %r8 mov $49, %rcx rep movsb nop nop nop nop nop inc %r13 lea addresses_D_ht+0x103a9, %rb...
grep.asm
chintu3536/xv6
0
197693
_grep: file format elf32-i386 Disassembly of section .text: 00000000 <grep>: char buf[1024]; int match(char*, char*); void grep(char *pattern, int fd) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 18 sub $0x18,%esp int n, m; char *p, *q; ...
tutorial2.asm
EduardaSRBastos/Assembly-2020
0
197694
<gh_stars>0 MOV AX, 1234H MOV BX, 1111_0000_0000_1111B MOV CX, 1500 MOV DX, 0BEBEH MOV SI, 'A' MOV DI, 0110B END
_incObj/8B Try Again & End Eggman.asm
kodishmediacenter/msu-md-sonic
9
197695
<filename>_incObj/8B Try Again & End Eggman.asm ; --------------------------------------------------------------------------- ; Object 8B - Eggman on "TRY AGAIN" and "END" screens ; --------------------------------------------------------------------------- EndEggman: moveq #0,d0 move.b obRoutine(a0),d0 move.w E...
lib/strlen_sse2.asm
aklomp/sse-strings
18
197697
<reponame>aklomp/sse-strings global strlen_sse2:function strlen_sse2: xor eax, eax ; zero the string offset pxor xmm0, xmm0 ; zero the comparison register .loop: movdqu xmm1, [rdi + rax] ; unaligned string read pcmpeqb xmm1, xmm0 ; compare string against zeroes pmovmskb ecx, xmm1 ; create bi...
examples/PT3.asm
jblang/TMS9918A
86
197698
<reponame>jblang/TMS9918A ;Universal PT2 and PT3 player for ZX Spectrum and MSX ;(c)2004-2007 S.V.Bulba <<EMAIL>> ;http://bulba.untergrund.net (http://bulba.at.kz) ;With modifications from RomWBW by <NAME> ;https://github.com/wwarthen/RomWBW/blob/master/Source/Apps/Tune/Tune.asm ;Release number Release EQU '1' ;Con...
programs/oeis/067/A067397.asm
neoneye/loda
22
197699
<reponame>neoneye/loda ; A067397: Maximal power of 3 that divides n-th Catalan number. ; 0,0,0,0,0,1,1,1,0,0,0,0,0,0,2,2,2,1,1,1,1,1,1,2,2,2,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,3,3,3,2,2,2,2,2,2,3,3,3,1,1,1,1,1,1,2,2,2,1,1,1,1,1,1,3,3,3,2,2,2,2,2,2,3,3,3,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,2,2,2,1,1 add $0,1 div $0,3 seq $0,989 ;...
oeis/033/A033975.asm
neoneye/loda-programs
11
197701
; A033975: Trajectory of 1 under map n->39n+1 if n odd, n->n/2 if n even ; Submitted by <NAME> ; 1,40,20,10,5,196,98,49,1912,956,478,239,9322,4661,181780,90890,45445,1772356,886178,443089,17280472,8640236,4320118,2160059,84242302,42121151,1642724890,821362445,32033135356 add $0,1 mov $1,$0 mov $0,3 lpb $1 mov $2,$0 ...
oeis/020/A020521.asm
neoneye/loda-programs
11
197702
<filename>oeis/020/A020521.asm<gh_stars>10-100 ; A020521: 13th cyclotomic polynomial evaluated at powers of 2. ; 13,8191,22369621,78536544841,300239975158033,1190112520884487201,4797324681010433232961,19495118728903626376364161,79538861190790864407636279553,325153619321163373997995856232961,1330527338889299954891005307...
mobile/mobile_12.asm
Dev727/ancientplatinum
28
197703
<filename>mobile/mobile_12.asm InitMobileProfile: xor a set 6, a ld [wd002], a ld hl, wd003 set 0, [hl] ld a, c and a call z, InitCrystalData call ClearBGPalettes call Function48d3d ld a, [wd479] bit 1, a jr z, .not_yet_initialized ld a, [wd003] set 0, a set 1, a set 2, a set 3, a ld [wd003], a .not_...
nv_screen_rect_macs.asm
nealvis/nv_c64_util
0
197705
////////////////////////////////////////////////////////////////////////////// // nv_screen_rect_macs.asm // Copyright(c) 2021 <NAME>. // License: MIT. See LICENSE file in root directory. ////////////////////////////////////////////////////////////////////////////// // contains inline macros for rectangle related opera...
1581/64tass/burstc.asm
silverdr/assembly
23
197706
<reponame>silverdr/assembly<gh_stars>10-100 logical_err lda #%10001101 jmp fail logical_rd lda dkoramask bmi logical_err ldx #0 ; job #0 lda cmdbuf+3 ; get track sta hdrs,x lda cmdbuf+4 ; get sector sta hdrs+1,x lda ...
stone/testcases/jmp.asm
yutopp/sekki
6
197707
bits 64 org 0x00400000 jmp 10000 jmp m m: ; 1. assume 8 align 256 b: equ 5000 ; 1. assume 128 + 2 + 8 = 130 jmp b jmp m align 0x2000 je .next resb 0x1000 .next:
sw/552tests/inst_tests/st_7.asm
JPShen-UWM/ThreadKraken
1
197708
// Original test: ./ullmer/hw4/problem6/st_3.asm // Author: ullmer // Test source code follows //tests where mem address is ma pos reg //offset + max pos immediate (mem address = 0x008e) lbi r0, 127 lbi r1, -128 st r1, r0, 15 halt
kernel/print.asm
ucfjimg/pegasos16
0
197709
<gh_stars>0 .model small, c .code print proc c, s:ptr sbyte push si push bx mov si, s pr00: lodsb or al, al jz pr01 mov bx, 0007h mov ah, 0eh int 10h jmp pr00 pr01: pop bx pop si ret print endp ;kputc proc c, x: byte ; push bx ; mov bx, 000Ah ; page and color ; ...
libsrc/graphics/lores/c_pixel.asm
jpoikela/z88dk
0
197710
<reponame>jpoikela/z88dk INCLUDE "graphics/grafix.inc" EXTERN plotpixel EXTERN respixel EXTERN xorpixel EXTERN pointxy ; ****************************************************************** ; ; Plot etc pixel at (x,y) coordinate. Chunky graphics ; Entry h = x ; l = y ; ld a,h cp maxx / 4 ret nc ld a,l cp...
oeis/262/A262732.asm
neoneye/loda-programs
11
197711
<filename>oeis/262/A262732.asm<gh_stars>10-100 ; A262732: a(n) = (1/n!) * (5*n)!/(5*n/2)! * (3*n/2)!/(3*n)!. ; Submitted by <NAME> ; 1,8,126,2240,41990,811008,15967980,318636032,6421422150,130395668480,2663825039876,54684895150080,1127155102890908,23311847679590400,483537022180231320,10054732930602762240,20953662411066...
examples/exercicio_2.asm
AlessandroFonseca/util.asm
1
197712
%include '../util.asm' default rel section .text global _main ; ;rótulo no código é como se fosse funçao ;rótulo na área de dados é nome de variável ; _main: ;rotulo inicio do programa MOV rcx, 10 inicio: push rcx ; pois readint usa o rcx call readint pop rcx ; aqui compara s...
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1441.asm
ljhsiun2/medusa
9
197713
<filename>Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1441.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x159db, %rsi nop add $46471, %rcx movl $0x61626364, (%rsi) nop nop nop add %r12, %r...
libsrc/fcntl/nc100/writebyte.asm
jpoikela/z88dk
640
197714
<gh_stars>100-1000 SECTION code_clib PUBLIC writebyte PUBLIC _writebyte ._writebyte .writebyte pop bc pop de ld hl, 0 add hl, sp push de push bc ld bc, 1 call 0xB8AB ld h, b ld l, c ret
programs/oeis/003/A003961.asm
jmorken/loda
1
197715
; A003961 o=1: Completely multiplicative with a(prime(k)) = prime(k+1). ; Coded manually 2021-02-28 by <NAME>, https://github.com/karttu ; ; Note that A003961(n) could be much more than n, so no guarantees about the working range with the current 64-bit model of LODA. ; ; Many derived sequences: A048673(n) = (1+A00396...
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xca.log_21829_1416.asm
ljhsiun2/medusa
9
197716
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0xd520, %r8 nop and $11621, %rdi movb (%r8), %r12b nop nop nop nop dec %rbp lea addresses_UC_ht+0xa520, %rdx nop nop nop nop inc %r11 mov (%rdx), %edi nop add %rbp, %...
fe.asm
younger15/xv6-public
0
197717
<reponame>younger15/xv6-public _fe: file format elf32-i386 Disassembly of section .text: 00000000 <strcpy>: #include "user.h" #include "x86.h" char* strcpy(char *s, const char *t) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 53 push %ebx 4...
programs/oeis/284/A284723.asm
karttu/loda
0
197718
; A284723: Smallest odd prime that is relatively prime to n. ; 3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3,5,3,3,7,3,3,5,3,3,5,3,3,5,3,3 mov $3,2 mov $4,$0 lpb $3,1 mov $0,$4 sub $3,1 a...
programs/oeis/074/A074294.asm
karttu/loda
0
197719
<filename>programs/oeis/074/A074294.asm ; A074294: Integers 1 to 2*k followed by integers 1 to 2*k + 2 and so on. ; 1,2,1,2,3,4,1,2,3,4,5,6,1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8,9,10,1,2,3,4,5,6,7,8,9,10,11,12,1,2,3,4,5,6,7,8,9,10,11,12,13,14,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18...
0x17.asm
SpeedStepper/XchgRaxRax
53
197720
<gh_stars>10-100 ; ; $Id: 0x17.asm,v 1.1.1.1 2016/03/27 08:40:12 raptor Exp $ ; ; 0x17 explanation - from xchg rax,rax by <EMAIL> ; Copyright (c) 2016 <NAME> <<EMAIL>> ; ; This cool snippet illustrates an elegant way to ; calculate the absolute value of the content of rax. ; It does so by performing the following ope...
chapter_07/forth/main.asm
GeertArien/low-level-programming
0
197721
<gh_stars>0 %include "lib.inc" %include "macros.inc" %define pc r15 %define w r14 %define rstack r13 section .data %include "words.inc" global _start section .bss stack_base: resq 1 input_buf: resb 1024 user_mem: resq 65536 dict_ext: resq 65536 resq 65535 rstack_start: resq 1 section .data state: db 0 ; 0 ...
Driver/Printer/PrintCom/Text/Font/fontIBM9Info.asm
steakknife/pcgeos
504
197722
<filename>Driver/Printer/PrintCom/Text/Font/fontIBM9Info.asm<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: IBM Proprinter type 9-pin drivers FILE: fontIBM9Info.asm AUT...
libsrc/_DEVELOPMENT/alloc/obstack/c/sdcc_iy/obstack_grow0.asm
jpoikela/z88dk
640
197723
<reponame>jpoikela/z88dk<filename>libsrc/_DEVELOPMENT/alloc/obstack/c/sdcc_iy/obstack_grow0.asm<gh_stars>100-1000 ; int obstack_grow0(struct obstack *ob, void *data, size_t size) SECTION code_clib SECTION code_alloc_obstack PUBLIC _obstack_grow0 EXTERN asm_obstack_grow0 _obstack_grow0: pop af pop hl pop ...
sbsext/ext/english.asm
olifink/smsqe
0
197724
* Toolkit II Constants (English)  1985 T.Tebby QJUMP * section defs xdef ext_english xdef ext_language xdef ynaq xdef message xdef dec_point xdef zero_w xdef prior xdef pipe_len xdef pipe_nol * ext_english ext_language ynaq dc.b 'YNAQ' message dc.w yn_messg-* dc.w ynaq_mes-* dc.w to_messg-* ...
programs/oeis/191/A191413.asm
karttu/loda
1
197726
<reponame>karttu/loda ; A191413: a(n) = 3*n^2 - 2*n + 7. ; 7,8,15,28,47,72,103,140,183,232,287,348,415,488,567,652,743,840,943,1052,1167,1288,1415,1548,1687,1832,1983,2140,2303,2472,2647,2828,3015,3208,3407,3612,3823,4040,4263,4492,4727,4968,5215,5468,5727,5992,6263,6540,6823,7112,7407,7708,8015,8328,8647,8972,9303,964...
Apps/Apple-1/15puz/puzz15.asm
veekooFIN/gigatron-rom
172
197727
<filename>Apps/Apple-1/15puz/puzz15.asm ; "15 puzzle" for the Apple I ; <NAME> ; Februrary 2020 ; Written for the dasm assembler, but should assemble under others ; with a few tweaks here and there. ; <NAME> ; March 2020 ; ; Adapted for Apple-1 emulation on Gigaton TTL computer. ; Gigatron-specific changes: ; - Repl...
programs/oeis/014/A014236.asm
jmorken/loda
1
197729
; A014236: Expansion of g.f.: 2*x*(1-x)/((1-2*x)*(1-2*x^2)). ; 0,2,2,8,12,32,56,128,240,512,992,2048,4032,8192,16256,32768,65280,131072,261632,524288,1047552,2097152,4192256,8388608,16773120,33554432,67100672,134217728,268419072,536870912,1073709056,2147483648,4294901760,8589934592,17179738112,34359738368,68719214592,1...
oeis/001/A001638.asm
neoneye/loda-programs
11
197730
<filename>oeis/001/A001638.asm ; A001638: A Fielder sequence: a(n) = a(n-1) + a(n-3) + a(n-4), n >= 4. ; Submitted by <NAME> ; 4,1,1,4,9,11,16,29,49,76,121,199,324,521,841,1364,2209,3571,5776,9349,15129,24476,39601,64079,103684,167761,271441,439204,710649,1149851,1860496,3010349,4870849,7881196,12752041,20633239,333852...
Transynther/x86/_processed/NONE/_ht_st_zr_un_xt_sm_/i9-9900K_12_0xa0.log_21829_1437.asm
ljhsiun2/medusa
9
197731
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r14 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x72c5, %r14 clflush (%r14) nop nop nop nop nop add %rdx, %rdx movl $0x61626364, (%r14) nop add %rdi, %rdi lea addresses_A_ht+0xe248, %rsi lea addresses_D_ht+0x2145, %rdi xor ...
P6/data_P6_2/MDTest62.asm
alxzzhou/BUAA_CO_2020
1
197732
<reponame>alxzzhou/BUAA_CO_2020<gh_stars>1-10 ori $ra,$ra,0xf ori $4,$4,60306 mthi $1 sll $4,$5,14 mthi $2 sll $5,$2,9 lui $1,61540 multu $6,$5 sb $4,14($0) mult $2,$0 sb $5,6($0) div $1,$ra divu $3,$ra divu $6,$ra addiu $5,$6,-21844 sll $2,$2,21 lui $2,49304 div $4,$ra srav $4,$4,$1 ori $1,$1,64857 multu $4,$1 mflo $6...
oeis/021/A021197.asm
neoneye/loda-programs
11
197734
<filename>oeis/021/A021197.asm<gh_stars>10-100 ; A021197: Decimal expansion of 1/193. ; Submitted by <NAME>iga ; 0,0,5,1,8,1,3,4,7,1,5,0,2,5,9,0,6,7,3,5,7,5,1,2,9,5,3,3,6,7,8,7,5,6,4,7,6,6,8,3,9,3,7,8,2,3,8,3,4,1,9,6,8,9,1,1,9,1,7,0,9,8,4,4,5,5,9,5,8,5,4,9,2,2,2,7,9,7,9,2,7,4,6,1,1,3,9,8,9,6,3,7,3,0,5,6,9,9,4 seq $0,8...
oeis/108/A108217.asm
neoneye/loda-programs
11
197735
<filename>oeis/108/A108217.asm<gh_stars>10-100 ; A108217: a(0) = 1, a(1) = 1, a(n) = n! + (n-2)! for n >= 2. ; Submitted by <NAME> ; 1,1,3,7,26,126,744,5160,41040,367920,3669120,40279680,482630400,6266937600,87657292800,1313901388800,21009968179200,356995102464000,6423296495616000,122000787836928000,2439304381882368000...
examples/sum.asm
Calysto/calysto_littlecomputer
4
197736
<gh_stars>1-10 ; Example 1 -- Compute the sum of 12 integers ; This file contains the instructions (in assembly format) .ORIG x3000 ; Start program at x3000 LEA R1 DATA ; R1 <- (PC + offset) AND R3 R3 x0 ; R3 <- 0 AND R2 R2 x0 ; R2 <- 0 ADD R2 R2 xC ; R2 <- 12 LOOP BRz DONE ; If Z, goto...
tsr.asm
marmolak/dos-trs
0
197737
BITS 16 SEGMENT .text org 100h tsr: ; resident part jmp setup ; such a waste of bytes! mystring: db 'Hello darkness my old friend...$' tsr_exec: push ds push cs pop ds mov ah, 09h mov dx, mystring int 21h mov ax, 4c00h int 21h pop ds iret ; end resident part setup: ; i...
programs/oeis/244/A244750.asm
neoneye/loda
22
197738
; A244750: 0-additive sequence: a(n) is the smallest number larger than a(n-1) which is not the sum of any subset of earlier terms, with initial values {0, 2, 3, 4}. ; 0,2,3,4,8,16,32,64,128,256,512,1024,2048,4096,8192,16384,32768,65536,131072,262144 sub $0,1 mov $1,1 bin $1,$0 mov $2,2 pow $2,$0 add $1,$2 mov $0,$1
vdc_block_write.asm
wiebow/examples.128
3
197739
<reponame>wiebow/examples.128 // kick assembler, c128 tests #import "c128system.asm" #import "c128macros.asm" :BasicUpstart128(MAIN) // I like to use : to indicate a macro call. MAIN: :SetBankConfiguration(15) // set bank 15 // write to $0000 in VDC RAM ldx #18 lda #00 jsr WRITE_VDC inx jsr WRITE_V...
asm/print_letters.asm
goakes007/zx-spectrum-utils
5
197741
<gh_stars>1-10 /* ; In this module are many routines to print words on the spectrum display ** COOL_PRINT This takes a string and displays it on the screen. Sounds simple, but has LOADs of controls that can be specified. For example: dw pAt,3,10,pInk,Blue,pPaper,Yellow,pBright,pBold,pDown"Hello World" ...
Driver/Video/Dumb/VidMem/Clr2/clr2Chars.asm
steakknife/pcgeos
504
197742
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Geoworks 1996. All rights reserved. GEOWORKS CONFIDENTIAL PROJECT: PC GEOS MODULE: VidMem/Clr2 FILE: clr2Chars.asm AUTHOR: <NAME>, Oct 7, 1996 ROUTINES: Name Description ---- ----------- REVISION...
programs/oeis/306/A306561.asm
neoneye/loda
22
197743
<reponame>neoneye/loda ; A306561: Square numbers that are also central polygonal numbers (i.e., square numbers found in the Lazy Caterer's sequence). ; 1,4,16,121,529,4096,17956,139129,609961,4726276,20720704,160554241,703893961,5454117904,23911673956,185279454481,812293020529,6294047334436,27594051024016,2138123299163...
programs/oeis/171/A171157.asm
neoneye/loda
22
197744
<filename>programs/oeis/171/A171157.asm ; A171157: Number of distinct primes > 3 that divide n. ; 0,0,0,0,1,0,1,0,0,1,1,0,1,1,1,0,1,0,1,1,1,1,1,0,1,1,0,1,1,1,1,0,1,1,2,0,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,1,0,2,1,1,1,1,1,1,1,1,0,2,1,1,1,1,2,1,0,1,1,1,1,2,1,1,1,0,1,1,1,2,1,1,1,1,1,2,1,1,1,2,0,1,1,1,1 mul $0,3 mov $1,$0 ad...
ASM_NASM_X86/palindrome.asm
PiranavanShanmugavadivelu/Hello-world
1
197745
<filename>ASM_NASM_X86/palindrome.asm org 100h mov bx, offset str mov cx,0 start: mov ah,1 int 21h cmp al, 0dh je next mov [bx],al inc bx inc cx jmp start next: dec bx mov si,offset str shr cx,1 compare: mov al,[si] cmp al,[bx] jne no inc si dec bx loop compare mov ah,2 mov dl,0dh int 21h mov dl,0ah int 21h mov ...
data/baseStats_original/magneton.asm
adhi-thirumala/EvoYellow
16
197746
db DEX_MAGNETON ; pokedex id db 50 ; base hp db 60 ; base attack db 95 ; base defense db 70 ; base speed db 120 ; base special db ELECTRIC ; species type 1 db ELECTRIC ; species type 2 db 60 ; catch rate db 161 ; base exp yield INCBIN "pic/ymon/magneton.pic",0,1 ; 66, sprite dimensions dw MagnetonPicFront dw MagnetonPi...
Driver/Printer/HP/PSB/psbGraphics.asm
steakknife/pcgeos
504
197747
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: PostScript print driver FILE: psbGraphics.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- REVISION HISTORY...
kernel.asm
Nehoray-Marziano/XV6-Scheduling-Policies
0
197748
kernel: file format elf32-i386 Disassembly of section .text: 80100000 <multiboot_header>: 80100000: 02 b0 ad 1b 00 00 add 0x1bad(%eax),%dh 80100006: 00 00 add %al,(%eax) 80100008: fe 4f 52 decb 0x52(%edi) 8010000b: e4 .byte 0xe4 8010000c <entry>: # E...
programs/oeis/338/A338086.asm
jmorken/loda
1
197749
; A338086: Duplicate the ternary digits of n, so each 0, 1 or 2 becomes 00, 11 or 22 respectively. ; 0,4,8,36,40,44,72,76,80,324,328,332,360,364,368,396,400,404,648,652,656,684,688,692,720,724,728,2916,2920,2924,2952,2956,2960,2988,2992,2996,3240,3244,3248,3276,3280,3284,3312,3316,3320,3564,3568,3572,3600,3604,3608,363...
programs/oeis/333/A333167.asm
neoneye/loda
22
197750
<filename>programs/oeis/333/A333167.asm ; A333167: a(n) = r_2(n^2 + 1), where r_2(k) is the number of ways of writing k as a sum of 2 squares (A004018). ; 4,4,8,8,8,8,8,12,16,8,8,8,16,16,8,8,8,16,24,8,8,16,16,16,8,8,8,16,16,8,16,16,24,16,16,8,8,16,24,8,8,12,16,24,16,8,16,32,16,8,16,8,16,16,8,16,8,32,16,8,16,8,16,16,16,...
programs/oeis/129/A129028.asm
jmorken/loda
1
197751
<filename>programs/oeis/129/A129028.asm ; A129028: A129027(n)/4. ; 0,27,150,483,1188,2475,4602,7875,12648,19323,28350,40227,55500,74763,98658,127875,163152,205275,255078,313443,381300,459627,549450,651843,767928,898875,1045902,1210275,1393308,1596363,1820850,2068227,2340000,2637723 mov $6,$0 lpb $0 sub $0,1 add $1...
ioctl/DosDevIOCtl2.asm
prokushev/FamilyAPI
1
197752
<gh_stars>1-10 ;/*! ; @file ; ; @ingroup fapi ; ; @brief DosDevIOCtl2 DOS wrapper ; ; (c) osFree Project 2022, <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 ; ; @autho...
oeis/054/A054878.asm
neoneye/loda-programs
11
197753
; A054878: Number of closed walks of length n along the edges of a tetrahedron based at a vertex. ; Submitted by <NAME> ; 1,0,3,6,21,60,183,546,1641,4920,14763,44286,132861,398580,1195743,3587226,10761681,32285040,96855123,290565366,871696101,2615088300,7845264903,23535794706,70607384121,211822152360,635466457083,19063...