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/stdlib/src/os.asm
jonatan5524/own-kernel
0
204088
; vim: set ft=nasm : [BITS 32] section .asm global print:function global os_getkey:function global os_putchar:function global os_malloc:function global os_free:function global os_process_load_start:function global os_process_get_arguments:function global os_system:function global os_exit:function ; void os_exit() os...
Common/ASM/Include.asm
anton-qiu/QuickRTOS
0
204089
;;$INCLUDE (LPC213x.h) ENV_KEIL EQU 1 ENV_RVDS EQU 0 IF (ENV_RVDS == 1) ENDIF IF (ENV_KEIL == 1) ENDIF VICIRQStatus EQU 0xFFFFF000 VICFIQStatus EQU 0xFFFFF004 VICRawIntr EQU 0xFFFFF008 VICIntSelect EQU 0xFFFFF00C VICIntEnable EQU 0xFFFFF010 VICIntEnClr EQU 0x...
Quickdraw/QuickDraw Source/SeekRgn.asm
Computer-history-Museum/MacPaint
2
204090
.INCLUDE GRAFTYPES.TEXT ;------------------------------------------------------------------ ; ; --> SEEKRGN.TEXT ; ; Routines to play back a region into a scanline buffer. ; ; .PROC INITRGN,0 ;------------------------------------------------------ ; ; INPUTS: A0: RGNPTR ; A1: STATE RECORD...
libsrc/math/z88math/c/sccz80/atof.asm
jpoikela/z88dk
640
204092
<gh_stars>100-1000 ; ; ; Z88 Maths Routines ; ; C Interface for Small C+ Compiler ; ; 30/1/20001 djm ;double atof(char *) - convert string to number, leave in fa SECTION code_fp IF FORz88 INCLUDE "target/z88/def/fpp.def" ELSE INCLUDE "fpp.def" ENDIF ...
libsrc/_DEVELOPMENT/l/z80/longlong/l_cpl_64_dehldehl.asm
jpoikela/z88dk
640
204093
<reponame>jpoikela/z88dk<gh_stars>100-1000 SECTION code_clib SECTION code_l PUBLIC l_cpl_64_dehldehl l_cpl_64_dehldehl: ; complement dehl'dehl ; ; enter : dehl'dehl = longlong ; ; exit : dehl'dehl = complement longlong ; ; uses : af, de, hl, de', hl', carry unaffected call again ag...
boot/16/print/print_char.asm
ByRussX/CrindalOS
3
204095
;Input: DL = Character to print ;Output: DH = 0x0 (no error) ;Prints out character stored in DL ;16 bits Real Mode [bits 16] print_char: pusha pushf mov ah, 0xe mov al, dl int 0x10 popf popa xor dh, dh ret
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i9-9900K_12_0xca.log_21829_1579.asm
ljhsiun2/medusa
9
204096
.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+0x1ae92, %rsi lea addresses_WT_ht+0x17b2e, %rdi nop nop nop cmp %rdx, %rdx mov $68, %rcx rep movsw nop nop nop xor $3168, %r13 lea addresses_WT_ht+0x7292, %rax nop nop nop...
software/profi/net-tools/src/netman/utils.asm
solegstar/karabas-pro
26
204097
<reponame>solegstar/karabas-pro bankm equ 23388 ; A - memory bank changeBank: ld bc, #7ffd : or #18 : out (c), a : ld (bankm), a ret ; Pushes to UART zero-terminated string ; HL - string poiner uartWriteStringZ: ld a, (hl) : and a : ret z push hl : call uartWriteByte : pop hl inc hl jp u...
msvc/graphics_terminal/graphics_terminal/_tmp.nasm
joeedh/graphics_terminal
1
204098
use32 %define DWSIZE 4 %define fr0 xmm0 %define fr1 xmm1 %define fr2 xmm2 %define fr3 xmm3 org 0 evalpixel: push ebp mov ebp, esp push ebx push ecx ;get register file. we're using __fastcall here, since win64 doesn't support cdecl mov ebx, ecx ;get base address for position-independent code call .get_eip nop jmp .ne...
scripts/beach_house2.asm
adhi-thirumala/EvoYellow
16
204099
Func_f23d0: call SaveScreenTilesToBuffer2 xor a ld [wUpdateSpritesEnabled], a ld hl, wd730 set 6, [hl] callab PrintSurfingMinigameHighScore ld hl, wd730 res 6, [hl] call GBPalWhiteOutWithDelay3 call ReloadTilesetTilePatterns call RestoreScreenTilesAndReloadTilePatterns call LoadScreenTilesFromBuffer2 call ...
LAB 1/readStringAndInteger.asm
Mawlong/Computer-Organization-and-Architecture
0
204100
.data msg1:.asciiz "The number read is:\n" msg2:.asciiz "\nThe string read is:\n" msg3:.asciiz "Please enter the number to be read:\n" msg4:.asciiz "Please enter the string to be read:\n" .text .globl main main: li $v0, 4 #to disp msg3 la $a0, msg3 syscall li $v0 ,5 #to read number syscall move $...
Assembly Code/String/2(c).asm
Jaggesher/LabWork
1
204101
<filename>Assembly Code/String/2(c).asm ;Lab: 2(c) ;Name: <NAME> ;Roll: 14025423 .MODEL SMALL .STACK 100H .DATA String DB 100 DUP(?) SubString DB 100 DUP(?) MSG1 DB "ENter A String: $" MSG2 DB 0DH,0AH,"Enter Sub String: $" MSG3 DB 0DH,0AH,"Sub String Found :)$" MSG4 DB 0DH,0AH,"Sub String Isn't Found :($" Flag DB "N" ...
libsrc/graphics/clga.asm
jpoikela/z88dk
38
204102
; ; Z88 Graphics Functions - Small C+ stubs ; Written around the Interlogic Standard Library ; Stubs Written by <NAME> - 30/9/98 ; ; $Id: clga.asm $ ; ;Usage: clga(struct *pixels) SECTION code_graphics PUBLIC clga PUBLIC _clga EXTERN clga_callee EXTERN ASMDISP_CLGA_CA...
oeis/006/A006278.asm
neoneye/loda-programs
11
204104
<reponame>neoneye/loda-programs<filename>oeis/006/A006278.asm ; A006278: a(n) is the product of the first n primes congruent to 1 (mod 4). ; Submitted by <NAME>(s3) ; 5,65,1105,32045,1185665,48612265,2576450045,157163452745,11472932050385,1021090952484265,99045822390973705,10003628061488344205,1090395458702229518345,12...
oeis/256/A256720.asm
neoneye/loda-programs
11
204105
<gh_stars>10-100 ; A256720: Decimal expansion of the location of the far bifurcation cusp in the Zeeman catastrophe machine. ; Submitted by <NAME> ; 2,4,5,5,6,6,7,2,1,9,3,7,4,7,9,9,0,4,6,5,0,2,0,4,0,5,3,6,0,9,6,0,4,2,6,8,0,8,9,6,2,4,1,9,7,2,1,3,6,2,8,8,0,6,7,7,5,4,9,7,0,9,2,1,2,0,1,1,8,8,0,4,8,4,7,7,2,3,7,4,8,9,5,1,2,0...
_maps/obj29.asm
vladjester2020/Sonic1TMR
0
204106
<gh_stars>0 ; --------------------------------------------------------------------------- ; Sprite mappings - points that appear when you destroy something ; --------------------------------------------------------------------------- dc.w byte_94BC-Map_obj29, byte_94C2-Map_obj29 dc.w byte_94C8-Map_obj29, byte_9...
Appl/GeoWrite/Document/documentArticle.asm
steakknife/pcgeos
504
204108
<reponame>steakknife/pcgeos<filename>Appl/GeoWrite/Document/documentArticle.asm COMMENT @---------------------------------------------------------------------- Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: GeoWrite FILE: documentArticle.asm REVISION HISTORY: Name ...
Fireware/target/lib/Ezusb/FXJmpTb.a51
iclosure/arinc429
1
204109
<gh_stars>1-10 NAME FXjmpt extrn code (ISR_Sudav, ISR_Sof, ISR_Sutok, ISR_Susp, ISR_Ures, ISR_IBN, ISR_Ep0in, ISR_Ep0out, ISR_Ep1in, ISR_Ep1out, ISR_Ep2in, ISR_Ep2out, ISR_Ep3in, ISR_Ep3out, ISR_Ep4in, ISR_Ep4out, ISR_Ep5in, ISR_Ep5out, ISR_Ep6in, ISR_Ep6out, ISR_Ep7in, ISR_Ep7out) extrn code (ISR_AINPF, ISR_BINPF,...
programs/oeis/026/A026384.asm
neoneye/loda
22
204110
<reponame>neoneye/loda<filename>programs/oeis/026/A026384.asm ; A026384: a(n) = Sum_{j=0..i, i=0..n} T(i,j), where T is the array in A026374. ; 1,3,8,18,43,93,218,468,1093,2343,5468,11718,27343,58593,136718,292968,683593,1464843,3417968,7324218,17089843,36621093,85449218,183105468,427246093,915527343,2136230468,457763...
Driver/Printer/PrintCom/Graphics/graphicsLo7.asm
steakknife/pcgeos
504
204111
<filename>Driver/Printer/PrintCom/Graphics/graphicsLo7.asm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Oki 9-pin print drivers FILE: graphicsLo7.asm AUTHOR: <NAME> 1 March 1990 RO...
oeis/251/A251705.asm
neoneye/loda-programs
11
204112
<reponame>neoneye/loda-programs ; A251705: 4-step Fibonacci sequence starting with 1, 1, 1, 0. ; Submitted by <NAME> ; 1,1,1,0,3,5,9,17,34,65,125,241,465,896,1727,3329,6417,12369,23842,45957,88585,170753,329137,634432,1222907,2357229,4543705,8758273,16882114,32541321,62725413,120907121,233055969,449229824,865918327,166...
data/pokemon/base_stats/vulpix.asm
opiter09/ASM-Machina
1
204114
<gh_stars>1-10 db DEX_VULPIX ; pokedex id db 38, 41, 40, 65, 65 ; hp atk def spd spc db FIRE, FIRE ; type db 190 ; catch rate db 63 ; base exp INCBIN "gfx/pokemon/front/vulpix.pic", 0, 1 ; sprite dimensions dw VulpixPicFront, VulpixPicBack db EMBER, TAIL_WHIP, NO_MOVE, NO_MOVE ; level 1 learnset...
fluidcore/samples/whitenoise-v4.asm
bushy555/ZX-Spectrum-1-Bit-Routines
59
204115
<reponame>bushy555/ZX-Spectrum-1-Bit-Routines<gh_stars>10-100 db 1,1,3,4,4,2,2,0,2,1,2,0,0,3,3,2 db 0,2,2,2,0,2,3,2,2,0,2,0,0,2,3,2 db 1,0,1,2,0,1,2,3,2,2,3,3,2,0,2,0 db 0,2,2,1,2,3,4,4,3,0,4,4,0,2,0,1 db 3,1,0,3,2,0,0,2,3,3,3,2,4,2,3,2 db 2,2,0,4,2,4,2,3,2,1,1,2,3,1,0,1 db 3,1,4,0,1,2,0,4,3,3,1,1,0,4,1,2 db 1...
programs/oeis/016/A016207.asm
neoneye/loda
22
204116
<filename>programs/oeis/016/A016207.asm ; A016207: Expansion of 1/((1-x)(1-2x)(1-12x)). ; 1,15,187,2259,27139,325731,3908899,46907043,562885027,6754621347,81055458211,972665502627,11671986039715,140063832492963,1680765989948323,20169191879445411,242030302553476003 lpb $0 mov $2,$0 sub $0,1 seq $2,16136 ; Expansi...
modules/core/Macros.asm
vladikcomper/md-modules
9
204117
; =============================================================== ; --------------------------------------------------------------- ; Error handling and debugging modules ; 2016-2017, Vladikcomper ; --------------------------------------------------------------- ; Macros definitions file ; ----------------------------...
Transynther/x86/_processed/AVXALIGN/_st_/i9-9900K_12_0xa0_notsx.log_21829_177.asm
ljhsiun2/medusa
9
204118
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x9a1d, %r8 nop nop nop nop add $19588, %r13 movl $0x61626364, (%r8) dec %r11 lea addresses_D_ht+0x1bc1d, %rsi lea addresses_WT_ht+0x14599, %rdi nop nop sub %rbx, %rbx mov $45, %rcx ...
lab2/assignment_4.asm
0000Blaze/Microprocess
0
204119
# ORG 8084 # DB A2 # ORG 8085 # DB 79 # ORG 8086 # DB 4B # ORG 8087 # DB C4 # ORG 8000 LHLD 8084 MOV D,H MOV E,L LHLD 8086 DAD D SHLD 8088 //verification by ADC LHLD 8086 MOV A,E ADD L MOV L,A MOV A,D ADC H MOV H,A SHLD 8090 HLT
Working Disassembly/Levels/Gumball/Misc Object Data/Map - Gumball Bonus.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
204120
<filename>Working Disassembly/Levels/Gumball/Misc Object Data/Map - Gumball Bonus.asm Map_6148A: dc.w word_614BA-Map_6148A dc.w word_614CE-Map_6148A dc.w word_614F4-Map_6148A dc.w word_6151A-Map_6148A dc.w word_6152E-Map_6148A dc.w word_61542-Map_6148A dc.w word_61556-Map_6148A dc.w word_61570-Map_6148A ...
libsrc/_DEVELOPMENT/arch/zx/display/c/sdcc_iy/zx_pxy2saddr_callee.asm
teknoplop/z88dk
0
204121
<reponame>teknoplop/z88dk ; void *zx_pxy2saddr_callee(uchar x, uchar y) SECTION code_clib SECTION code_arch PUBLIC _zx_pxy2saddr_callee, l0_zx_pxy2saddr_callee EXTERN asm_zx_pxy2saddr _zx_pxy2saddr_callee: pop af pop hl pop de push af l0_zx_pxy2saddr_callee: ld h,e jp asm_zx_pxy2saddr
practica2/arduino1Prog1/main.asm
Pedejeca135/ELECTRONICA-B_UASLP
1
204122
; ; arduino1Prog1.asm ; ; Created: 2/6/2020 2:17:24 PM ; Author : pjco9 ; LDI r16,0xFF OUT DDRB,r16 JMP START START: LDI r16, 0x20 OUT PORTB, r16 JMP DELAY1S1 ETIQUETA1: LDI r16, 0x00 OUT PORTB, r16 JMP DELAY1S2 ETIQUETA2: JMP START DELAY1S1: LDI r18, 82 LDI r19, 43 LDI r20, 0 L1: ...
oeis/004/A004563.asm
neoneye/loda-programs
11
204123
<filename>oeis/004/A004563.asm<gh_stars>10-100 ; A004563: Expansion of sqrt(6) in base 4. ; Submitted by <NAME>(s2) ; 2,1,3,0,3,0,1,0,1,3,0,0,2,2,0,0,1,0,2,1,0,0,2,1,1,3,0,3,3,2,2,0,0,1,2,1,0,0,3,0,2,0,2,2,0,1,2,1,0,0,3,1,0,2,2,2,2,3,0,2,0,3,2,1,3,2,3,1,2,0,0,1,0,1,1,0,0,3,2,2,1,3,2,3,3,1,2,2,0,2,3,1,3,3,0,0,1,3,2,2 m...
oeis/293/A293320.asm
neoneye/loda-programs
11
204124
<reponame>neoneye/loda-programs ; A293320: Least integer k such that k/2^n > tau^2, where tau = (1+sqrt(5))/2 = golden ratio. ; Submitted by <NAME> ; 3,6,11,21,42,84,168,336,671,1341,2681,5362,10724,21447,42894,85788,171576,343151,686302,1372604,2745208,5490416,10980831,21961661,43923322,87846644,175693287,351386574,70...
programs/oeis/160/A160551.asm
karttu/loda
0
204126
<reponame>karttu/loda ; A160551: Number of (unordered) ways of making change for n dollars using coins of denominations 1, 5, 10, and 25. ; 1,242,1463,4464,10045,19006,32147,50268,74169,104650,142511,188552,243573,308374,383755,470516,569457,681378,807079,947360,1103021,1274862,1463683,1670284,1895465,2140026,2404767,2...
programs/oeis/048/A048507.asm
neoneye/loda
22
204127
<reponame>neoneye/loda ; A048507: a(n) = T(2,n), array T given by A048505. ; 1,10,35,101,269,685,1693,4093,9725,22781,52733,120829,274429,618493,1384445,3080189,6815741,15007741,32899069,71827453,156237821,338690045,731906045,1577058301,3388997629,7264534525,15535702013,33151778813,70598524925,150055419901,318364450813...
oeis/168/A168627.asm
neoneye/loda-programs
11
204128
<reponame>neoneye/loda-programs ; A168627: a(n) = n^6*(n^5 + 1)/2. ; 0,1,1056,88938,2099200,24421875,181421856,988722196,4295098368,15690795525,50000500000,142656721086,371505678336,896082610423,2024786349600,4324883625000,8796101410816,17135960222601,32134222045728,58245152972050,102400032000000,175138793154171,292159...
boot/boot.asm
RudraSwat/rudraOS-2018-src
11
204129
BITS 16 jmp short start ; Jump past disk description section nop ; Pad out before disk description %include "bpb.asm" start: mov ax, 07C0h ; Where we're loaded mov ds, ax ; Data segment mov ax, 9000h ; Set up stack mov ss, ax mov sp, 0FFFFh ; Stack grows downwards! cld ; Clear di...
test/test_div.asm
pchynoweth/cx16-utils
0
204131
.include "cx16.inc" .include "cbm_kernal.inc" .macpack generic .include "utils/boilerplate.inc" .code jmp start .import scenario, init_test_suite, finish_test_suite .import check_reg16, check_memory .import div .code ; PETSCII Codes CLR = $93 .rodata basic_desc: .asciiz "basic - div" zero_desc: ...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_6814_1134.asm
ljhsiun2/medusa
9
204133
.global s_prepare_buffers s_prepare_buffers: push %r13 push %rbp push %rcx push %rdi push %rsi lea addresses_A_ht+0x1399, %r13 nop nop nop add %rcx, %rcx movl $0x61626364, (%r13) nop nop add $34647, %rcx lea addresses_normal_ht+0xdd15, %rsi lea addresses_UC_ht+0x5a7d, %rdi nop nop nop cmp %rbp, %rbp mov $124, %rcx rep ...
src/test/cpp/custom/custom_csr/build/custom_csr.asm
cbrune/VexRiscv
1,524
204134
<reponame>cbrune/VexRiscv build/custom_csr.elf: file format elf32-littleriscv Disassembly of section .crt_section: 00000000 <_start>: 0: 00100e13 li t3,1 4: b04020f3 csrr ra,mhpmcounter4 8: b0402173 csrr sp,mhpmcounter4 c: b04021f3 csrr gp,mhpmcounter4 10: 0...
daviddos_kernel.asm
DavidB420/daviddos-1
1
204136
<reponame>DavidB420/daviddos-1 ;DavidDOS kernel Made by <NAME> org 0000h ;set up stack mov ax, 0800h mov ds, ax mov es, ax mov ss, ax mov sp, 0 mov si,text_string call print_string mov si,text_string1 call print_string call shellsub start: cmp bp,1 je afterprog mov cx,0 mov si,newli...
oeis/110/A110166.asm
neoneye/loda-programs
11
204137
<reponame>neoneye/loda-programs ; A110166: Row sums of Riordan array A110165. ; Submitted by <NAME> ; 1,4,18,85,410,1999,9807,48304,238570,1180615,5851253,29033074,144190943,716652070,3564079250,17734184365,88280673770,439625873215,2189988826125,10912480440850,54389237971285,271142650382080,1351971321386660,67423748972...
data/pokemon/dex_entries/geodude.asm
AtmaBuster/pokeplat-gen2
6
204138
<reponame>AtmaBuster/pokeplat-gen2 db "ROCK@" ; species name db "Proud of their" next "sturdy bodies," next "they bash against" page "each other in a" next "contest to prove" next "whose is harder.@"
oeis/045/A045385.asm
neoneye/loda-programs
11
204139
<reponame>neoneye/loda-programs ; A045385: Primes congruent to {2, 4, 6} mod 7. ; Submitted by <NAME> ; 2,11,13,23,37,41,53,67,79,83,97,107,109,137,139,149,151,163,167,179,181,191,193,223,233,251,263,277,293,307,317,331,347,349,359,373,389,401,419,431,433,443,457,461,487,499,503,541,557,569,571,587,599,601,613,641,643,...
Test/Z80/5bsort018.asm
sparks-c16/zasm
43
204140
#!/usr/local/bin/zasm --reqcolon -o original/ org 16384 ; only sort on 1st 2 of 5 bytes di sort: ld hl,kprs_xx ; 1st stroke of 5 byte ld de,kprs_xx+5 ; 2nd stroke of 5 byte srtem: ld bc,5 ; amount to raise later push bc ; store bc inc h...
Lista2/Lista2/Parte2/Programa13.asm
GustavoLR548/ACII-GLR
1
204141
<filename>Lista2/Lista2/Parte2/Programa13.asm .data A: .word 0 .text #Para o teste $t1 mostra se o numero eh positivo ou nao # Numero positivo: t1 = 1 Numero negativo: t1 = 2 main: ori $t0,$zero,0x1001 # t0 = 1001 sll $t0,$t0,16 # t0 = 10010000 add $t1, $zero, $zero # t1 = 0 lw $s0,0($t0) # s0 = Valor da me...
oeis/036/A036706.asm
neoneye/loda-programs
11
204142
<gh_stars>10-100 ; A036706: a(n)=number of Gaussian integers z=a+bi satisfying n - 1/2 < |z| <= n + 1/2, a>0, b>=0. ; Submitted by <NAME>(w4) ; 0,2,3,4,8,7,10,10,12,17,14,18,17,22,22,21,28,28,28,29,28,36,35,36,36,42,41,40,46,43,50,48,47,52,56,56,57,56,62,59,66,62,66,69,66,72,69,76,76,78,79,80,86,79,84,88,85,94,84,98,95...
src/shaders/post_processing/gen5_6/nv12_load_save_rgbx.asm
me176c-dev/android_hardware_intel-vaapi-driver
192
204144
<gh_stars>100-1000 // Module name: NV12_LOAD_SAVE_RGBX .kernel NV12_LOAD_SAVE_RGBX .code #define FIX_POINT_CONVERSION // #define FLOAT_POINT_CONVERSION #include "SetupVPKernel.asm" #include "YUV_to_RGBX_Coef.asm" #include "Multiple_Loop_Head.asm" #include "NV12_Load_8x4.asm" #ifdef FIX_POINT_CONVERSION #include "YUV...
mastersystem/zxb-sms-2012-02-23/zxb-sms/wip/zxb/library-asm/usr_str.asm
gb-archive/really-old-stuff
10
204146
; This function just returns the address of the UDG of the given str. ; If the str is EMPTY or not a letter, 0 is returned and ERR_NR set ; to "A: Invalid Argument" ; On entry HL points to the string ; and A register is non-zero if the string must be freed (TMP string) #include once <error.asm> #include once <const.a...
masm(msdos)/entrada_teclado.asm
GioProyects/ensamblador
0
204147
<filename>masm(msdos)/entrada_teclado.asm .model small .stack 64 .data msg1 db "Programa para introducir datos$" nombre db "Cual es tu nombre?$" edad db "Cual es tu edad?$" gusto db "Te gusta ensamblador?$" nom db 30 dup(' ') ed db 2 dup(' ') gus db 4 dup(' ') namepar label byte maxlen db 20 actle...
Kernel/asm/getTimeRTC.asm
nclozza/so-tp3
2
204148
section .text GLOBAL getTimeRTC getTimeRTC: push rbp mov rbp, rsp mov al,0x0B ; RTC Status Register B out 70h,al in al, 71h or al, 0x04 ; Second bit = 1 out 71h, al ; Overwrite config mov rax, rdi out 70h,al in al,71h movzx rax, al mov rsp, rbp pop rbp ret
2011400_NguyenTuanKiet_Lab3/bt4.asm
alumica/KTMT
0
204150
.model small .stack 100h .data tbn db 'Nhap mot ky tu: $' tbx db 13, 10, 'Nam ky tu ke tiep: $' d db 10 kt db ? .code main proc mov ax, @data mov ds, ax lea dx, tbn mov ah, 9 int 21h mov ah, 1 int 21h mov kt, al mov ah, 9 ...
code/Forec/t43.asm
KongoHuster/assembly-exercise
1
204151
<gh_stars>1-10 ;; last edit date: 2016/11/23 ;; author: Forec ;; LICENSE ;; Copyright (c) 2015-2017, Forec <<EMAIL>> ;; Permission to use, copy, modify, and/or distribute this code for any ;; purpose with or without fee is hereby granted, provided that the above ;; copyright notice and this permission notice appear in...
SM11.asm
IamSumitKumar/MicroProcessor
0
204152
<filename>SM11.asm .MODEL SMALL .DATA INPUT DB 10,13 , 'ENTER 8-BIT BINARY DATA : $' OUTPUT DB 10,13, 'THE ASCII CHARACTER IS : $' .CODE .STARTUP MOV AH,09H MOV DX,OFFSET INPUT INT 21H MOV BL,00H MOV CL,08H INPUT1: MOV AH,01H INT 21H SUB AL,30H SHL BL,1 ADD BL,AL LOOP INPUT1 MOV AH,09H M...
oeis/144/A144657.asm
neoneye/loda-programs
11
204153
; A144657: a(n) = Sum[Sum[(i+j)!/(i!*j!),{i,1,n}],{j,1,n}]. ; 0,2,14,62,242,912,3418,12854,48602,184736,705410,2704132,10400574,40116572,155117490,601080358,2333606186,9075135264,35345263762,137846528780,538257874398,2104098963676,8233430727554,32247603683052,126410606437702,495918532948052,1946939425648058,76486906007...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_2008.asm
ljhsiun2/medusa
9
204154
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x185f3, %r12 nop and $2800, %r11 movb (%r12), %dl nop nop nop nop inc %rbp lea addresses_normal_ht+0x1a1f3, %rsi lea addresses_UC_ht+0xc8e8, %rdi nop nop nop nop xor $32293, ...
oeis/209/A209789.asm
neoneye/loda-programs
11
204155
<filename>oeis/209/A209789.asm ; A209789: Half the number of (n+1) X 2 0..2 arrays with every 2 X 2 subblock having exactly one duplicate clockwise edge difference. ; Submitted by <NAME> ; 30,204,1380,9348,63300,428676,2902980,19659012,133130820,901562244,6105381060,41345652228,279992833860,1896111996036,12840473986500...
programs/oeis/108/A108679.asm
jmorken/loda
1
204157
<gh_stars>1-10 ; A108679: a(n) = (n+1)*(n+2)^2*(n+3)^2*(n+4)^2*(n+5)^2*(n+6)/86400. ; 1,21,196,1176,5292,19404,60984,169884,429429,1002001,2186184,4504864,8836464,16604784,30046752,52581816,89311761,147685461,238369516,376372920,582481900,885069900,1322357400,1945206900,2820550005,4035556161,5702666256,7965629056,11006...
oeis/019/A019274.asm
neoneye/loda-programs
11
204158
<reponame>neoneye/loda-programs ; A019274: Number of recursive calls needed to compute the n-th Fibonacci number F(n), starting with F(1) = F(2) = 1. ; Submitted by <NAME> ; 0,0,2,4,8,14,24,40,66,108,176,286,464,752,1218,1972,3192,5166,8360,13528,21890,35420,57312,92734,150048,242784,392834,635620,1028456,1664078,26925...
Test/8080/Altair8800_Monitor.asm
sparks-c16/zasm
43
204159
<reponame>sparks-c16/zasm<filename>Test/8080/Altair8800_Monitor.asm #!/usr/local/bin/zasm --convert8080 --asm8080 --reqcolon -o original/ ;================================================ ;MONITOR 8.4 (2K version) ; Upgraded Monitor/Executive program for ALTAIR 8800 ; Conditional assembly supports SIO-A and 2-SIO c...
src/main.asm
nabijaczleweli/voltaire
1
204161
<reponame>nabijaczleweli/voltaire ; The MIT License (MIT) ; Copyright (c) 2018 nabijaczleweli ; Permission is hereby granted, free of charge, to any person obtaining a copy of ; this software and associated documentation files (the "Software"), to deal in ; the Software without restriction, including without limitati...
Kernel/interruptions/process.asm
fzimbimbakis/TP2-SO
0
204162
GLOBAL createStackContext GLOBAL startFirstP GLOBAL haltP GLOBAL updateStack GLOBAL int20 extern alloc extern getCurrentSP EXTERN irqDispatcher extern ncPrintChar extern ncPrintHex section .text %macro pushState 0 push rax push rbx push rcx push rdx push rbp push rdi push rsi push r8 push r9 push r10 pus...
libsrc/_DEVELOPMENT/arch/zx/esxdos/c/sdcc_iy/esxdos_m_setdrv.asm
jpoikela/z88dk
640
204163
; uchar esxdos_m_setdrv(uchar drive) SECTION code_clib SECTION code_esxdos PUBLIC _esxdos_m_setdrv EXTERN _esxdos_m_setdrv_fastcall _esxdos_m_setdrv: pop af pop hl push hl push af jp _esxdos_m_setdrv_fastcall
oeis/074/A074789.asm
neoneye/loda-programs
11
204164
; A074789: Partial sums of usigma(n)^2: square of the sum of unitary divisors of n. ; Submitted by <NAME> ; 1,10,26,51,87,231,295,376,476,800,944,1344,1540,2116,2692,2981,3305,4205,4605,5505,6529,7825,8401,9697,10373,12137,12921,14521,15421,20605,21629,22718,25022,27938,30242,32742,34186,37786,40922,43838,45602,54818,5...
Source/HBIOS/usrrom.asm
b1ackmai1er/RomWBW
1
204165
; ; USRROM TEMPLATE FOR A CUSTOM USER ROM ; #INCLUDE "std.asm" ; CR .EQU 0DH LF .EQU 0AH ; .ORG USR_LOC ; LD SP,USR_END ; LD HL,BOOTMSG ; INTRODUCTION CALL PRTSTR ; CALL CIN ; DO STUFF ; LD B,BF_SYSRESET ; SYSTEM RESTART LD C,BF_SYSRES_WARM ; WARM START CALL $FFF0 ; CALL HBIOS ...
oeis/054/A054024.asm
neoneye/loda-programs
11
204166
<reponame>neoneye/loda-programs ; A054024: Sum of the divisors of n reduced modulo n. ; Submitted by <NAME>(w2) ; 0,1,1,3,1,0,1,7,4,8,1,4,1,10,9,15,1,3,1,2,11,14,1,12,6,16,13,0,1,12,1,31,15,20,13,19,1,22,17,10,1,12,1,40,33,26,1,28,8,43,21,46,1,12,17,8,23,32,1,48,1,34,41,63,19,12,1,58,27,4,1,51,1,40,49,64,19,12,1,26,40,...
print_string_pm.asm
PUASummerOfCode/PUAOS
0
204167
[bits 32] ; Define some constants VIDEO_MEMORY equ 0xb8000 WHITE_ON_BLACK equ 0x0f ; prints a null - terminated string pointed to by EDX print_string_pm: pusha mov edx , VIDEO_MEMORY ; Set edx to the start of vid mem. print_string_pm_loop: mov al , [ebx] ; Store the char at EBX in AL mov ah , WHITE_ON_BLACK; Sto...
programs/oeis/288/A288492.asm
neoneye/loda
22
204168
; A288492: Indices of terms of A288349 that are powers of 2. ; 1,2,3,18,95,440,1897,7882,32139,129804,521741,2092046,8378383,33533968,134176785,536789010,2147319827,8589606932,34359083029,137437642774,549753192471,2199018012696,8796082536473,35184351117338,140737446412315,562949869535260,2251799645913117,90071989191967...
examples/x86/win64avx.asm
hfutxqd/fasmg
2
204169
<reponame>hfutxqd/fasmg<gh_stars>1-10 include 'format/format.inc' format PE64 NX GUI 5.0 entry start include 'ext/avx.inc' section '.data' data readable writeable _title db 'AVX playground',0 _error db 'AVX instructions are not supported.',0 x dq 3.14159265389 vector_output: repeat 16, i:0 db 'ymm',...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_6_1628.asm
ljhsiun2/medusa
9
204170
<filename>Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48_notsx.log_6_1628.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0x190ec, %r10 nop nop sub $7005, %r15 movl $0x61626364, (%r10) nop nop dec %r9 lea addresses_normal_ht+...
libsrc/stdio_new/file/stream-in/stdio_consumesign.asm
meesokim/z88dk
8
204171
; stdio_consumesign ; 05.2008 aralbrec PUBLIC stdio_consumesign EXTERN stdio_getchar, stdio_ungetchar ; consume a '+' or '-' sign on the stream ; ; enter : ix = FILE * ; c = flags [000a*WLN] ; bc' = total num chars read from stream thus far ; uses : af, c ; on exit : bc' = total...
PROGRAM/7-SEGMENT-C.asm
AhmedNaguib-Freelancer/PROJECT-12-C-Microcontroller-SEVEN-SEGMENT--ADVANCED-TIMER-
0
204172
_main: ;7-SEGMENT-C.c,1 :: void main() { ;7-SEGMENT-C.c,2 :: TRISB=0; CLRF TRISB+0 ;7-SEGMENT-C.c,3 :: PORTB=0; CLRF PORTB+0 ;7-SEGMENT-C.c,4 :: while (1) L_main0: ;7-SEGMENT-C.c,6 :: PORTB.F0=1; BSF PORTB+0, 0 ;7-SEGMENT-C.c,7 :: delay_ms(60); MOVLW 156 MOVWF ...
oeis/024/A024450.asm
neoneye/loda-programs
11
204173
<gh_stars>10-100 ; A024450: Sum of squares of the first n primes. ; Submitted by <NAME>(s4) ; 4,13,38,87,208,377,666,1027,1556,2397,3358,4727,6408,8257,10466,13275,16756,20477,24966,30007,35336,41577,48466,56387,65796,75997,86606,98055,109936,122705,138834,155995,174764,194085,216286,239087,263736,290305,318194,348123,...
programs/oeis/256/A256650.asm
neoneye/loda
22
204174
; A256650: 30-gonal pyramidal numbers: a(n) = n*(n+1)*(28*n-25)/6. ; 0,1,31,118,290,575,1001,1596,2388,3405,4675,6226,8086,10283,12845,15800,19176,23001,27303,32110,37450,43351,49841,56948,64700,73125,82251,92106,102718,114115,126325,139376,153296,168113,183855,200550,218226,236911,256633,277420,299300,322301,346451,37...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_641.asm
ljhsiun2/medusa
9
204175
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r8 push %r9 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x177c8, %rsi lea addresses_WC_ht+0x8c4d, %rdi nop nop nop add $50757, %r9 mov $106, %rcx rep movsw nop cmp %r8, %r8 lea addresses_A_ht+0x1d04d, %rdx nop nop nop nop cmp %r13, %...
exam/assignment-4_custom-encoder/custom_encoder.nasm
dhn/SLAE
7
204176
; Title: Custom Shellcode [En|De]coder - 45 byte ; Platform: linux/x86 ; Date: 2015-01-09 ; Author: Dennis 'dhn' Herrmann ; Website: https://zer0-day.pw ; Github: https://github.com/dhn/SLAE/ ; SLAE-721 BITS 32 global _start section .text XOR_VALUE equ 0x5f ; XOR value ROL_BITS equ 0x05 ; Rota...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_11459_238.asm
ljhsiun2/medusa
9
204178
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WT_ht+0x14ad0, %rsi lea addresses_D_ht+0x21b0, %rdi nop nop nop nop nop add $36665, %r8 mov $119, %rcx rep movsw nop nop and $16072, %rbx lea ...
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48.log_21829_979.asm
ljhsiun2/medusa
9
204179
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0xbc35, %rsi lea addresses_normal_ht+0x1bf75, %rdi sub $9542, %r10 mov $7, %rcx rep movsq nop nop nop nop cmp %r15, %r15 lea addresses_normal_ht+0x4a75, %rbp xor $7869, %r...
kernel/arch/x86_64/mm/tlb.asm
killvxk/MiraiOS
0
204180
TLB_INVAL_IRQ_NUM: equ 0xC0 global tlbInit:function global tlbInvalidateGlobal:function global tlbInvalidateLocal:function global tlbReloadCR3:function global tlbReloadCR3Local:function extern mapIdtEntry extern acquireSpinlock extern releaseSpinlock extern ackIRQ extern PAGE_SIZE extern nrofActiveCPUs extern lapicSe...
src/isa/avx2/masm/vrs4_expm1f_fma3.asm
jepler/aocl-libm-ose
66
204181
<filename>src/isa/avx2/masm/vrs4_expm1f_fma3.asm ; ; Copyright (C) 2008-2020 Advanced Micro Devices, Inc. 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 ret...
PlayerAkg.asm
derekfountain/z88dk-arkos-tracker2-example
40
204182
; Arkos Tracker 2 player "generic" player. ; By Targhan/Arkos. ; Psg optimization trick on CPC by Madram/Overlanders. ; ; This compiles with RASM. Check the compatibility page on the Arkos Tracker 2 website, it contains a source converter to any Z80 assembler! ; ; The player uses the stack...
oeis/056/A056904.asm
neoneye/loda-programs
11
204184
; A056904: Floor[p/24] where p is a prime which is 4 more than a square. ; Submitted by <NAME>(w2) ; 0,0,1,2,7,9,12,30,45,51,57,84,92,135,176,187,222,301,315,376,392,442,551,570,651,759,782,900,1001,1107,1162,1305,1395,1552,1717,1785,1926,1962,2262,2301,2460,2501,2667,2709,2926,2970,3151,3197,3432,3577,3825 seq $0,547...
tests/docs_examples/c_structures.asm
cizo2000/sjasmplus
220
204185
<reponame>cizo2000/sjasmplus ;; Example 1 STRUCT SCOLOR RED BYTE 4 GREEN BYTE 5 BLUE BYTE 6 ENDS ASSERT SCOLOR.RED == 0 && SCOLOR.GREEN == 1 && SCOLOR.BLUE == 2 && SCOLOR == 3 ;; Example 2 STRUCT SDOT X BYTE Y BYTE C SCOLOR 0,1,0 ; use new default valu...
Library/Trans/Graphics/Bitmap/Dib/Export/exportManager.asm
steakknife/pcgeos
504
204186
<reponame>steakknife/pcgeos COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: Impex- DIB Graphics Translation Library FILE: exportManager.asm AUTHOR: <NAME> 2/92 REVISION HISTORY: Name Date Desc...
code/objects/chupa.asm
zxwanderer/A-World-of-One-way
7
204187
module CHUPA init: SET_EXEC_IX update ; call getCurrentLevelNumber ; ld a,CHUPA_001_PBM_ID ; call numberObjectsType xor a ; ld hl,coinsInLevelVar ; ld (hl),a ; inc hl ; ld (hl),e ; ld h,a ; ld l,a ; ld (pointsPerLevel),hl ld (ix+oData.isMovable),a ld (ix+oData.drawMethod),a ; for 2x2 draw ld (ix+oData....
acme/one.asm
rodoherty1/6502-Examples
0
204189
<filename>acme/one.asm ; 10 SYS (2304) *=$0801 !byte $0E, $08, $0A, $00, $9E, $20, $28 !byte $32, $33, $30, $34, $29, $00, $00, $00 *=$0900 ;************************************************* ;* Variables ;************************************************* SCREEN_Start_Location = $0400 VAR_BINARY = %0101010...
oeis/283/A283317.asm
neoneye/loda-programs
11
204190
<filename>oeis/283/A283317.asm ; A283317: Image of 0 under repeated applications of the morphism 0 -> 0,0,0,0,1, 1 -> 1,1,1,1,0. ; Submitted by <NAME>(s4) ; 0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1,1,1,1,1,0,0,0,0,0,1,0,0...
Driver/Printer/PrintCom/printcomEpsonColor.asm
steakknife/pcgeos
504
204191
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) Berkeley Softworks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: Epson Print Drivers FILE: printcomEpsonColor.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- REVISION HIST...
programs/oeis/210/A210977.asm
karttu/loda
1
204192
; A210977: A005475 and positive terms of A000566 interleaved. ; 0,1,3,7,11,18,24,34,42,55,65,81,93,112,126,148,164,189,207,235,255,286,308,342,366,403,429,469,497,540,570,616,648,697,731,783,819,874,912,970,1010,1071,1113,1177,1221,1288,1334,1404,1452,1525,1575,1651,1703,1782,1836,1918,1974,2059 mov $1,3 add $1,$0 mov...
src/game.asm
mattemoore/nes_learning
0
204194
<gh_stars>0 .include "constants.inc" .include "header.inc" .segment "CODE" ; PRG-ROM .proc irq_handler ; sound/catridge interrupt RTI .endproc .proc nmi_handler ; transfer a page of OAM (sprite) buffer ($0200-$02FF) into PPU LDA #...
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sdcc_iy/tshc_scroll_wc_up_attr.asm
jpoikela/z88dk
640
204195
; void tshc_scroll_wc_up_attr(struct r_Rect8 *r, uchar rows, uchar attr) SECTION code_clib SECTION code_arch PUBLIC _tshc_scroll_wc_up_attr EXTERN asm0_tshc_scroll_wc_up_attr _tshc_scroll_wc_up_attr: pop af pop ix pop de push de push de push af ld l,d jp asm0_tshc_scroll_wc_up_attr
Code/CustomControl/RAResEd/Src/DlgExport.asm
CherryDT/FbEditMOD
11
204196
.data szNOTStyle db 'NOT WS_VISIBLE|',0 szNOTStyleHex db 'NOT 0x10000000|',0 szDupTab db 0Dh,0Ah,'Duplicate TabIndex',0 szMissTab db 0Dh,0Ah,'Missing TabIndex',0 .code SaveCtlSize proc uses ebx edx esi mov eax,[esi].DIALOG.dux invoke SaveVal,eax,TRUE mov eax,[esi].DIALOG.duy invoke Save...
src/unit_tests/ut_breakpoints.asm
maziac/dezogif
2
204197
<gh_stars>1-10 ;======================================================== ; ut_breakpoints.asm ; ; Unit tests for testing the breakpoints. ;======================================================== MODULE ut_breakpoints ; Test value ;breakpoint_test_address: defb 0 testdata1: defb 0 testdata2: defb 0 ; Test ...
kCoproc.asm
satadriver/LiunuxOS
0
204199
.386p Kernel Segment public para use32 assume cs:Kernel __kCoProcessorProc proc pushad push ds push es mov ax,rwData32Seg mov ds,ax mov es,ax mov ebx,KernelData shl ebx,4 cmp dword ptr ds:[ebx + offset _kCoprocessor],0 jz __kCoProcessorProcEnd call dword ptr ds:[ebx + offset _kCoprocessor] ...
Irvine/Examples/Project32_VS2019/test.asm
farazmurtaza/expression_to_assembly_generator
0
204200
; Test.asm .386 .model flat,stdcall .stack 4096 ExitProcess proto,dwExitCode:dword .data wordVal SWORD -101 ; FF9Bh .code main proc mov dx, 0 mov ax, wordVal ; DX:AX = 0000FF9Bh (+65, 435) cwd mov bx, 2 ; BX is the divisor idiv bx ; divide DX : AX by BX (signed operation) invoke ExitProcess,0 main...
src/prince.asm
secworks/prince_6502
0
204201
//====================================================================== // // prince.asm // ---------- // Implementation of the lightweight block cipher PRINCE in // 6502 assembler. // // // Copyright (c) 2020, Assured AB // All rights reserved. // // Redistribution and use in source and binary forms, with ...
fiat-amd64/94.05_ratio08319_seed1902570032819100_square_p448_solinas.asm
dderjoel/fiat-crypto
491
204202
<reponame>dderjoel/fiat-crypto SECTION .text GLOBAL square_p448_solinas square_p448_solinas: sub rsp, 0x250 ; last 0x30 (6) for Caller - save regs mov [ rsp + 0x220 ], rbx; saving to stack mov [ rsp + 0x228 ], rbp; saving to stack mov [ rsp + 0x230 ], r12; saving to stack mov [ rsp + 0x238 ], r13; saving to stack mov...
tools/yasm/modules/preprocs/yapp/tests/pdefine.asm
fasttr-org/ftr
0
204203
%define foo(bar) bar+1 %define foo(bar, baz) bar-baz mov ax, foo mov ax, foo(5) mov ax, foo(5, 3) mov ax, foo(5, 6, 7)
code/pow.asm
Masrt200/asm-disasm
0
204204
; computes the x to the power of y ; Masrt ; 23.05-21 SECTION .data SYS_EXIT equ 60 EXIT_SUCCESS equ 0 X dw 3 Y dw 17 Z dd 0 SECTION .text global _start _start: mov bx, 1 mov r9w, word [X] mov ax, word [Y] mov r8, 1 mov cx, 2 iter: ...
oeis/259/A259319.asm
neoneye/loda-programs
11
204205
<gh_stars>10-100 ; A259319: a(n) = 2*A002309(n). ; 2,164,1414,6216,19338,48620,105742,206992,374034,634676,1023638,1583320,2364570,3427452,4842014,6689056,9060898,12062148,15810470,20437352,26088874,32926476,41127726,50887088,62416690,75947092,91728054,110029304,131141306,155376028,183067710,214573632,250274882,2905771...
sfasmlib/sfasmlib.asm
Vokerlee/CMM-Compiler
2
204207
<reponame>Vokerlee/CMM-Compiler<gh_stars>1-10 .686 .model flat, stdcall option casemap: none include D:\masm32\include\msvcrt.inc include D:\masm32\include\kernel32.inc include D:\masm32\include\windows.inc includelib D:\masm32\lib\kernel32.lib inc...