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
edk2/ArmPkg/Library/ArmSmcLibNull/Arm/ArmSmcNull.asm
awwiniot/Aw1689UEFI
21
48424
// // Copyright (c) 2012-2013, ARM Limited. All rights reserved. // // This program and the accompanying materials // are licensed and made available under the terms and conditions of the BSD License // which accompanies this distribution. The full text of the license may be found at // http://opensource.or...
programs/oeis/225/A225773.asm
neoneye/loda
22
48425
<gh_stars>10-100 ; A225773: The squares on a chessboard that are black, counting from top left corner and down. ; 2,4,6,8,9,11,13,15,18,20,22,24,25,27,29,31,34,36,38,40,41,43,45,47,50,52,54,56,57,59,61,63 mov $1,$0 mul $0,2 bin $1,4 gcd $1,2 add $0,$1
oeis/282/A282057.asm
neoneye/loda-programs
11
48426
<reponame>neoneye/loda-programs ; A282057: Odd numbers n such that for all k >= 1 the numbers n*4^k - 1 and n*4^k + 1 do not form a twin prime pair. ; Submitted by <NAME>(s3) ; 5,7,9,11,13,17,19,21,23,25,29,31,35,37,39,41,43,47,49,51,53,55,59,61,65,67,69,71,73,77,79,81,83,85,89,91,95,97,99,101,103,107,109,111,113,115,1...
programs/oeis/021/A021730.asm
neoneye/loda
22
48427
<gh_stars>10-100 ; A021730: Decimal expansion of 1/726. ; 0,0,1,3,7,7,4,1,0,4,6,8,3,1,9,5,5,9,2,2,8,6,5,0,1,3,7,7,4,1,0,4,6,8,3,1,9,5,5,9,2,2,8,6,5,0,1,3,7,7,4,1,0,4,6,8,3,1,9,5,5,9,2,2,8,6,5,0,1,3,7,7,4,1,0,4,6,8,3,1,9,5,5,9,2,2,8,6,5,0,1,3,7,7,4,1,0,4,6 add $0,1 mov $1,10 pow $1,$0 mul $1,5 div $1,3630 mod $1,10 mov...
oeis/061/A061003.asm
neoneye/loda-programs
11
48428
; A061003: Nearest integer to n^5/25. ; 0,1,10,41,125,311,672,1311,2362,4000,6442,9953,14852,21513,30375,41943,56794,75583,99044,128000,163364,206145,257454,318505,390625,475255,573956,688415,820446,972000,1145166,1342177,1565416,1817417,2100875,2418647,2773758,3169407,3608968,4096000,4634248,5227649,5880338,6596649,73...
backup_programs/pwrtest.asm
mynameispyo/InpyoOS
0
48429
<reponame>mynameispyo/InpyoOS ; ------------------------------------------------------------------ ; MichalOS VBE Power Management checker ; ------------------------------------------------------------------ BITS 16 %INCLUDE "osdev.inc" ORG 100h start: mov si, .hellomsg call os_print_string mov ax, 4F10h mov...
assembly/fact.asm
mohsend/Magnificent-University-projects
0
48430
<gh_stars>0 ; calculates factorial of 'input', writes the answer to 'output' ;------------ ; stack segment : STSEG SEGMENT DB 64 DUP (?) STSEG ENDS ;------------ ; data segment : DTSEG SEGMENT ; place program data here input DW 0005H ORG 08H output DW 00H DTSEG ENDS ;------------ ; code segment : CDSEG SEGMEN...
Library/Pref/Preflink/preflinkDialog.asm
steakknife/pcgeos
504
48431
<filename>Library/Pref/Preflink/preflinkDialog.asm<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: preflinkDialog.asm AUTHOR: <NAME> ROUTINES: Name Description ---- -----...
oeis/155/A155737.asm
neoneye/loda-programs
11
48432
<reponame>neoneye/loda-programs ; A155737: Primes of the form 4*n^2 + 2*n -1. ; Submitted by <NAME>(w1) ; 5,19,41,71,109,271,419,599,701,811,929,1481,1979,2161,2351,2549,2969,3191,3659,4159,4421,4691,4969,5851,7481,8929,9311,10099,13109,14519,16001,17029,18089,19181,19739,20879,22051,23869,25121,25759,27059,30449,31151...
Source/HBIOS/ppide.asm
b1ackmai1er/RomWBW
1
48433
<gh_stars>1-10 ; ;============================================================================= ; PPIDE DISK DRIVER ;============================================================================= ; ; TODO: ; - FIX SCALER CONSTANT ; - GOPARTNER NEEDS TO HANDLE "NO PARTNER" CONDITION ; ; NOTES: ; - WELL KNOWN...
ppu/blocking_bgpi_increase.asm
endrift/SameSuite
21
48434
<filename>ppu/blocking_bgpi_increase.asm RESULTS_START EQU $c000 RESULTS_N_ROWS EQU 1 include "base.inc" CorrectResults: ; Bit 6 is always set, bits 0-5 reflect the current value, TODO: what about bit 7? db $C4, $C5, $C4, $C5, $C4, $C5, $C4, $C5 TEST0_STAT EQU STATF_MODE00 TEST1_STAT EQU STATF_MODE01 TEST2_STAT EQU...
programs/oeis/004/A004142.asm
neoneye/loda
22
48435
<reponame>neoneye/loda<filename>programs/oeis/004/A004142.asm ; A004142: n(3^n-2^n). ; 0,1,10,57,260,1055,3990,14413,50440,172539,580250,1926089,6328140,20619703,66732190,214742085,687698960,2193154547,6968850210,22073006401,69714716500,219623377071,690291036710 mov $3,$0 lpb $0 sub $0,1 add $1,$3 add $2,$1 mo...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_956.asm
ljhsiun2/medusa
9
48436
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r15 push %r9 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1ca8c, %rsi lea addresses_WT_ht+0xbcc, %rdi and $60104, %r9 mov $84, %rcx rep movsl nop nop nop sub %rdx, %rdx lea addresses_normal_ht+0x1cf8c, %rbp nop nop nop nop xor %r15, ...
deps/src/cmake-3.13.4/Tests/VSNASM/bar.asm
LeeCenY/turicreate
107
48438
<gh_stars>100-1000 section .text %ifdef TEST2x64 global bar %else global _bar %endif %ifdef TESTx64 bar: %else _bar: %endif mov EAX_COMMA_SPACE_ZERO ret
printNumber.asm
slowy07/learnAsm
1
48439
; print number 1 to 9 section .text global _start _start: mov ecx, 10 mov eax, '1' l1: mov [num], eax mov eax, 4 mov ebx, 1 int 0x80 mov eax, [num] sub eax, '0' inc eax add eax, '0' pop ecx loop l1 mov eax, 1 int 0x80 section .bss num resb 1
programs/oeis/173/A173905.asm
jmorken/loda
1
48440
<reponame>jmorken/loda ; A173905: {2,3} and the nonprimes A141468. ; 0,1,2,3,4,6,8,9,10,12,14,15,16,18,20,21,22,24,25,26,27,28,30,32,33,34,35,36,38,39,40,42,44,45,46,48,49,50,51,52,54,55,56,57,58,60,62,63,64,65,66,68,69,70,72,74,75,76,77,78,80,81,82,84,85,86,87,88,90,91,92,93 mov $11,$0 mov $13,$0 add $13,1 lpb $13 ...
unittests/32Bit_ASM/X87/DB_01.asm
cobalt2727/FEX
628
48441
%ifdef CONFIG { "RegData": { "RAX": "0x400", "MM7": ["0x8000000000000000", "0x3FFF"] }, "Mode": "32BIT" } %endif lea edx, [.data] fld dword [edx + 8 * 0] fisttp dword [edx + 8 * 1] fld1 mov eax, [edx + 8 * 1] hlt .data: dq 0x44800000 dq 0
Esercizi/Calcolo fattoriale/Fattoriale.asm
lucafioravanti/MIPS
0
48442
<gh_stars>0 #max(n) = 12 .data input: .asciiz "Inserisci il numero n per il quale effettuare il calcolo fattoriale: " output: .asciiz "! = " errore: .asciiz "valore troppo elevato. Massimo valore calcolabile: 12." .text # stampo stringa input la $a0, input li $v0, 4 syscall # lettura numero ...
savefile/maps/2725_DarkCave.asm
stranck/fools2018-1
0
48444
<filename>savefile/maps/2725_DarkCave.asm SECTION "Map_2725", ROM0[$B800] Map_2725_Header: hdr_tileset 0 hdr_dimensions 10, 9 hdr_pointers_a Map_2725_Blocks, Map_2725_TextPointers hdr_pointers_b Map_2725_Script, Map_2725_Objects hdr_pointers_c Map_2725_InitScript, Map_27...
ugbc/src/hw/6809/cpu_math_div2_8bit.asm
spotlessmind1975/ugbasic
10
48445
; /***************************************************************************** ; * ugBASIC - an isomorphic BASIC language compiler for retrocomputers * ; ***************************************************************************** ; * Copyright 2021-2022 <NAME> (<EMAIL>) ; * ; * Licensed under the Apache...
programs/oeis/295/A295286.asm
karttu/loda
0
48446
<filename>programs/oeis/295/A295286.asm ; A295286: Sum of the products of the smaller and larger parts of the partitions of n into two parts with the smaller part odd. ; 0,1,2,3,4,14,18,22,26,55,64,73,82,140,156,172,188,285,310,335,360,506,542,578,614,819,868,917,966,1240,1304,1368,1432,1785,1866,1947,2028,2470,2570,26...
oeis/280/A280025.asm
neoneye/loda-programs
11
48447
; A280025: Expansion of phi_{7, 4}(x) where phi_{r, s}(x) = Sum_{n, m>0} m^r * n^s * x^{m*n}. ; 0,1,144,2268,18688,78750,326592,825944,2396160,4966677,11340000,19501812,42384384,62777078,118935936,178605000,306774016,410422194,715201488,894002060,1471680000,1873240992,2808260928,3405105288,5434490880,6152734375,9039899...
sample/VGM2203.asm
kuninet/KZ80-YM2203
0
48448
<reponame>kuninet/KZ80-YM2203 ; ; YM2203 VGM PLAY FOR KZ80 ; CPU Z80 TARGET: equ "Z80" MUSIC EQU 4200H OPM_ADDR EQU 040H OPM_DATA EQU 041H ; ORG 4100H ; JP MAIN ; MAIN: CALL MAIN1 ; RET ; PGM END ; MAIN1: LD HL,MUSIC LOOP: LD A,(HL) ; GET COMMAND CP 055H JP Z,PLAY CP 061H JP Z,WAIT1 CP 062H JP Z,WAIT2 ...
src/game_logic/selfverification.asm
lawrimon/SnakeV
2
48449
.text #Verification of the snake hitting itself # inputs: # - s4 = vector of snake # # output: # - / verifySelf: #For loop that checks for every element if the next coordinate is valid addi sp, sp, -24 sw ra, 0(sp) sw t1, 4(sp) sw t2, 8(sp) sw t3, 12(sp) sw t4, 16(sp) sw s4...
src/drivers/ata_pio.asm
pwk4m1/TinyBIOS
23
48450
; BSD 3-Clause License ; ; Copyright (c) 2019, k4m1 <<EMAIL>> ; All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; * Redistributions of source code must retain the above copyright notice, ; t...
data/trainers/sprites.asm
AtmaBuster/pokeplat-gen2
6
48452
<filename>data/trainers/sprites.asm BTTrainerClassSprites: ; entries correspond to trainer classes db SPRITE_ROARK db SPRITE_WHITNEY db SPRITE_GARDENIA db SPRITE_MORTY db SPRITE_PRYCE db SPRITE_JASMINE db SPRITE_CHUCK db SPRITE_VOLKNER db SPRITE_RIVAL db SPRITE_OAK db SPRITE_WILL db SPRITE_BRUNO db SPRITE_...
programs/oeis/173/A173811.asm
neoneye/loda
22
48455
; A173811: (8*10^n-53)/9 for n>0. ; 3,83,883,8883,88883,888883,8888883,88888883,888888883,8888888883,88888888883,888888888883,8888888888883,88888888888883,888888888888883,8888888888888883,88888888888888883,888888888888888883,8888888888888888883,88888888888888888883,888888888888888888883,8888888888888888888883,888888888...
smsq/sbas/english.asm
olifink/smsqe
0
48456
; SuperBASIC error messages section language xdef sbp_errm xdef sb_erset xdef sb_ermess xdef sb_ernimp xdef met_pfcl xdef met_atln include 'dev8_keys_err' emess macro text xdef [.lab] [.lab] dc.w [.len(text)]+1 dc.b '[text]',$a ds.w 0 endm ;+++ ; Table of SuperBASIC error messages ;--- sbp_errm ...
programs/oeis/120/A120781.asm
karttu/loda
0
48457
<reponame>karttu/loda ; A120781: Denominators of partial sums of Catalan numbers scaled by powers of 1/8. ; 1,8,32,512,2048,16384,65536,2097152,8388608,67108864,268435456,4294967296,17179869184,137438953472,549755813888,35184372088832,140737488355328,1125899906842624,4503599627370496,72057594037927936 add $0,2 mov $1,...
examples-tinyram/coNP-subsetsum-withRAM.asm
ddsvetlov/libSTARK
399
48458
<gh_stars>100-1000 MOV r9 r0 40598 STOREW r9 r0 65400 MOV r9 r0 9330 STOREW r9 r0 65401 MOV r0 r0 65400 MOV r1 r0 0 MOV r9 r0 0 STOREW r9 r0 r1 ADD r2 r1 32768 STOREW r9 r0 r2 MOV r2 r0 r1 ADD r4 r1 1 MOV r5 r0 r4 MOV r8 r0 1 ADD r9 r0 1 LOADW r3 r0 r0 JMP r0 r0 47 ADD r0 r0 1 CMPE r0 r9 r0 CJMP r0 r0 63 LOADW r3 r0 r0...
Transynther/x86/_processed/NONE/_zr_/i7-7700_9_0x48.log_21829_244.asm
ljhsiun2/medusa
9
48459
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x159a4, %rsi lea addresses_WC_ht+0x19824, %rdi nop nop nop nop nop and %r8, %r8 mov $125, %rcx rep movsq nop nop nop dec %r12 lea addresses_A_ht+0x11...
software/minol - arithmetic/minolmath.asm
paulscottrobson/retrochallenge-jan-2016
0
48460
; **************************************************************************************************************** ; **************************************************************************************************************** ; ; Minol Maths Test ; ; ******************************************************...
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1161.asm
ljhsiun2/medusa
9
48461
<filename>Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0x48_notsx.log_21829_1161.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x50c5, %rbp nop add $25596, %r13 movups (%rbp), %xmm0 vpextrq $1, %xmm0, %r12 nop no...
Lab Assessment Submission/Lab Assessment 1/LA1_1812048042.asm
afra-tech/CSE331L-Section-1-Fall20-NSU
0
48462
<filename>Lab Assessment Submission/Lab Assessment 1/LA1_1812048042.asm org 100h ; include<stdio.h> ; add your code here MOV AX, 02 ADD AX, 03 ADD AX, 04 ret
ls.asm
shayanthrn/xv6ticketlock
2
48464
_ls: file format elf32-i386 Disassembly of section .text: 00000000 <main>: close(fd); } int main(int argc, char *argv[]) { 0: 8d 4c 24 04 lea 0x4(%esp),%ecx 4: 83 e4 f0 and $0xfffffff0,%esp 7: ff 71 fc pushl -0x4(%ecx) a: 55 push %eb...
programs/oeis/182/A182765.asm
karttu/loda
1
48465
<filename>programs/oeis/182/A182765.asm ; A182765: Beatty sequence for (6 + sqrt(2))/4. ; 1,3,5,7,9,11,12,14,16,18,20,22,24,25,27,29,31,33,35,37,38,40,42,44,46,48,50,51,53,55,57,59,61,63,64,66,68,70,72,74,75,77,79,81,83,85,87,88,90,92,94,96,98,100,101,103,105,107,109,111,113,114,116,118,120,122,124,126,127 mov $2,$0 a...
Aurora/Aurora/x64/Debug/exception.asm
manaskamal/aurora-xeneva
8
48466
; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1 include listing.inc INCLUDELIB LIBCMT INCLUDELIB OLDNAMES CONST SEGMENT $SG5825 DB '***ARCH x86_64 : Exception Occured ***', 0aH, 00H $SG5828 DB '[Aurora Kernel]: Below is the code of exception', 0aH, 00H ORG $+7 $SG5826 DB '[Aurora Ker...
PRG/prg014.asm
narfman0/smb3_pp1
0
48467
; Super Mario Bros. 3 Full Disassembly by Southbird 2012 ; For more info, see http://www.sonicepoch.com/sm3mix/ ; ; PLEASE INCLUDE A CREDIT TO THE SOUTHBIRD DISASSEMBLY ; AND THE ABOVE LINK SOMEWHERE IN YOUR WORKS :) ; ; Original disassembler source generated by DCC6502 version v1.4 ; (With labels, comments, and some s...
basic/src/evaluate/unary2.asm
paulscottrobson/eris
13
48468
<reponame>paulscottrobson/eris<gh_stars>10-100 ; ***************************************************************************** ; ***************************************************************************** ; ; Name: unary2.asm ; Purpose: More Basic unary functions ; Created: 16th March 2020 ; Reviewed: 17th Marc...
Transynther/x86/_processed/AVXALIGN/_un_/i9-9900K_12_0xa0.log_2_931.asm
ljhsiun2/medusa
9
48469
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %rcx push %rdx lea addresses_WT_ht+0x9f89, %rcx nop nop nop sub %r14, %r14 mov $0x6162636465666768, %rdx movq %rdx, (%rcx) add %r10, %r10 pop %rdx pop %rcx pop %r14 pop %r10 ret .global s_faulty_load s_faulty_load: push %r8 push %r9 push %rbp pu...
Chapter_6/Program 6.1/x86_64/Program_6.1_MASM.asm
chen150182055/Assembly
272
48470
; Program 6.1 ; Sum Program - MASM (64-bit) ; Copyright (c) 2020 Hall & Slonka extrn ExitProcess : proc .data num1 DWORD 2 num2 DWORD 4 .code _main PROC mov rax, 10 dec rax mov rbx, 5 movsxd rcx, num1 movsxd rdx, num2 call _sum add rax, rbx dec rax xor rcx, rcx call ExitProcess _main ENDP _sum PROC push rbp pus...
programs/oeis/000/A000439.asm
jmorken/loda
1
48472
<reponame>jmorken/loda ; A000439: Powers of rooted tree enumerator. ; 9,30,69,133,230,369,560,814,1143,1560,2079,2715,3484,4403,5490,6764,8245,9954,11913,14145,16674,19525,22724,26298,30275,34684,39555,44919,50808,57255,64294,71960,80289,89318,99085,109629,120990,133209,146328,160390,175439,191520,208679 mov $5,$0 add...
programs/oeis/086/A086905.asm
jmorken/loda
1
48473
; A086905: a(n) = Sum_{k=0..n} (-1)^(n-k)*binomial(k,floor(k/2)). ; 1,0,2,1,5,5,15,20,50,76,176,286,638,1078,2354,4081,8789,15521,33099,59279,125477,227239,478193,873885,1830271,3370029,7030571,13027729,27088871,50469889,104647631,195892564,405187826,761615284,1571990936,2965576714,6109558586,11563073314,23782190486,45...
Test/Assembler/Parser2.asm
CharlesCarley/HackComputer
0
48474
<gh_stars>0 1 1;JGT 1;JEQ 1;JGE 1;JLT 1;JNE 1;JLE 1;JMP -1 -1;JGT -1;JEQ -1;JGE -1;JLT -1;JNE -1;JLE -1;JMP D D;JGT D;JEQ D;JGE D;JLT D;JNE D;JLE D;JMP A A;JGT A;JEQ A;JGE A;JLT A;JNE A;JLE A;JMP !D !D;JGT !D;JEQ !D;JGE !D;JLT !D;JNE !D;JLE !D;JMP !A !A;JGT !A;JEQ !A;JG...
programs/oeis/056/A056129.asm
neoneye/loda
22
48477
; A056129: Final nonzero digit of n-th primorial. ; 1,2,6,3,1,1,3,1,9,7,3,3,1,1,3,1,3,7,7,9,9,7,3,9,1,7,7,1,7,3,9,3,3,1,9,1,1,7,1,7,1,9,9,9,7,9,1,1,3,1,9,7,3,3,3,1,3,7,7,9,9,7,1,7,7,1,7,7,9,3,7,1,9,3,9,1,3,7,9,9,1,9,9,9,7,3,9,1,7,7,1,7,3,1,1,9,7,3,3,9 seq $0,2110 ; Primorial numbers (first definition): product of firs...
45/qb5/uq/uimisc.asm
minblock/msdos
0
48478
TITLE uimisc.asm - miscellaneous user interface functions. ;*** ;uimisc.asm ; ; Copyright <C> 1985-1988, Microsoft Corporation ; ;Purpose: ; Miscellanious Assember user interface functions ; ; ;******************************************************************************* .xlist include version.inc UIMISC_ASM =...
alice3/rom/rom.asm
lkesteloot/alice
63
48479
; This is the preloader. It is located at address 0 of the ROM and runs when the ; machine is cold-booted. It is responsible for copying the loader to RAM and ; jumping to it. ; Defines loader: #include "loader_address.asm" ; We assume RAM goes until 0FFFFH. ramfirst equ 08000H org 0 ; Disa...
libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/floor.asm
ahjelm/z88dk
4
48480
<filename>libsrc/_DEVELOPMENT/math/float/math16/lm16/c/sccz80/floor.asm<gh_stars>1-10 SECTION code_fp_math16 PUBLIC floorf16 EXTERN asm_f16_floor defc floorf16 = asm_f16_floor ; SDCC bridge for Classic IF __CLASSIC PUBLIC _floorf16 defc _floorf16 = floorf16 ENDIF
programs/oeis/145/A145919.asm
neoneye/loda
22
48481
; A145919: A000332(n) = a(n)*(3*a(n) - 1)/2. ; 0,0,0,0,1,2,-3,5,7,-9,12,15,-18,22,26,-30,35,40,-45,51,57,-63,70,77,-84,92,100,-108,117,126,-135,145,155,-165,176,187,-198,210,222,-234,247,260,-273,287,301,-315,330,345,-360,376,392,-408,425,442,-459,477,495,-513,532,551,-570,590,610,-630,651,672,-693,715,737,-759,782,805...
Systems Programming/Assignment 2/prog3.asm
neeladripal/bcse-lab
0
48482
;Program to print pairs of even numbers where the sum of the numbers in each pair is 100. printm macro mess lea dx,mess mov ah,09h int 21h endm new_line macro mov ah,02h mov dl,0dh int 21h mov dl,0ah int 21h endm bracket macro char mov ah,02h mov dl,char int 21h endm ; macro for decimal output dec_output ...
externals/mpir-3.0.0/mpn/x86_64w/k8/divrem_hensel_r_1.asm
JaminChan/eos_win
12
48484
; PROLOGUE(mpn_divrem_hensel_r_1) ; Copyright 2009 <NAME> ; ; Windows Conversion Copyright 2008 <NAME> ; ; This file is part of the MPIR Library. ; ; The MPIR Library is free software; you can redistribute it and/or modify ; it under the terms of the GNU Lesser General Public License as published ; by the Free S...
startup_kernel.asm
pzread/startup
1
48486
<reponame>pzread/startup %define MAX_PROCESSOR 64 %define GDT_BASE 0xA000 %define GDT_CODE 0x8 %define GDT_DATA 0x10 %define GDT_TSSD_BASE 0x18 %define GDT_SIZE 0x18 + MAX_PROCESSOR * 16 %define TSSD_BASE GDT_BASE + 0x18 %define TSS_BASE 0x1000 %define IOBITMAP_BASE 0xDFFF %define PT_BASE 0x10000 %define STACK_TOP ...
sources/kernel.asm
Z1NZ/kernel_file_system
0
48488
<reponame>Z1NZ/kernel_file_system<filename>sources/kernel.asm ;;kernel.asm ;nasm directive - 32 bit bits 32 MAGIC equ 0x1BADB002 FLAGS equ 0x00 CHECKSUM equ - (MAGIC + FLAGS) section .text ;multiboot spec align 4 dd MAGIC dd FLAGS dd CHECKSUM ;checksum. m+f+c should be zero gl...
engine/events/mom_phone.asm
Dev727/ancientplatinum
28
48489
<reponame>Dev727/ancientplatinum NUM_MOM_ITEMS_1 EQUS "((MomItems_1.End - MomItems_1) / 8)" NUM_MOM_ITEMS_2 EQUS "((MomItems_2.End - MomItems_2) / 8)" const_def 1 const MOM_ITEM const MOM_DOLL MomTriesToBuySomething:: ld a, [wMapReentryScriptQueueFlag] and a ret nz call GetMapPhoneService and a ret nz xor a...
oslab6/obj/user/faultwrite.asm
jasha64/OperatingSystems-lab
0
48490
obj/user/faultwrite.debug: 文件格式 elf32-i386 Disassembly of section .text: 00800020 <_start>: // starts us running when we are initially loaded into a new environment. .text .globl _start _start: // See if we were started with arguments on the stack cmpl $USTACKTOP, %esp 800020: 81 fc 00 e0 bf ee cmp $...
oeis/133/A133989.asm
neoneye/loda-programs
11
48491
<gh_stars>10-100 ; A133989: Define fu(1,1) = 0. Then a(n) = fu(1,n) = smallest number t such that an n X 1 strip of n squares can be cut into n squares using p_1, p_2, ..., p_t cuts where p_t is a prime number or p_t = 1. ; Submitted by <NAME> ; 0,1,1,1,2,1,2,1,2,2,2,3,2 mov $4,$0 mov $5,2 lpb $5 mov $0,$4 sub $5,...
fibo.asm
creativcoder/asm8085
0
48492
;<NAME> ;This generates fibonacci numbers and stores them ;on memory locations starting from 0001h jmp start ;data ;code start: lxi h,0000h ;Range of no is taken at this address mov d,m mvi a,00h mvi b,01h inx h mov m,a inx h mov m,b loop: add b inx h mov m,a mov c,a mov a,b mov b,c dcr d jnz loop hlt
unittests/ASM/TwoByte/0F_B0_10.asm
cobalt2727/FEX
628
48493
%ifdef CONFIG { "RegData": { "R15": "0xffffffffffff9748", "R14": "0xffffffffffff4648", "R13": "0xffffffffffff8748", "R12": "0xffffffffffff4648", "R11": "0x0000000045468748", "R10": "0xffffffff45464648", "R9": "0x4142434445468648", "R8": "0x4142434445464648" }, "MemoryRegions": { ...
data/pokemon/base_stats/ludicolo.asm
AtmaBuster/pokeplat-gen2
6
48494
db 0 ; species ID placeholder db 80, 70, 70, 70, 90, 100 ; hp atk def spd sat sdf db WATER, GRASS ; type db 45 ; catch rate db 181 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 15 ; step cycles to hatch INCBIN "gfx/pokemon/ludicolo/front.dimensions" db GROWTH_MEDIUM_SLO...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_1_1297.asm
ljhsiun2/medusa
9
48495
<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca_notsx.log_1_1297.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r15 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x89d7, %rsi nop nop inc %rbx mov $0x6162636465666768, %rcx movq %rcx, %xmm5 movups %xmm5, (%r...
3rdParties/src/nasm/nasm-2.15.02/travis/test/br2496848.asm
blue3k/StormForge
1
48496
bits 64 foo: default abs mov al, [qword 0xffffffffffffffff] mov al, [qword 0x1ffffffffffffffff] mov cl, [byte 0x12345678] default rel mov cl, [foo] mov cl, [foo + 0x10000000] mov cl, [foo + 0x100000000] mov cl, [0x100] mov cl, [$$ + 0x100] mov cl, [rax - 1] mov cl, [rax + 0xffffffff] mov c...
programs/oeis/037/A037646.asm
neoneye/loda
22
48497
<reponame>neoneye/loda ; A037646: Base 4 digits are, in order, the first n terms of the periodic sequence with initial period 3,0,1. ; 3,12,49,199,796,3185,12743,50972,203889,815559,3262236,13048945,52195783,208783132,835132529,3340530119,13362120476,53448481905,213793927623,855175710492,3420702841969,13682811367879,54...
23-Sorting-Hall.speed.size.asm
blueset/7bh-solutions
0
48498
<gh_stars>0 -- 7 Billion Humans -- -- 23: Sorting Hall -- -- Size: 6/6 -- -- Speed: 25/27 -- pickup s a: if myitem > e: step e endif if myitem < w: step w endif jump a
programs/oeis/257/A257888.asm
jmorken/loda
1
48499
; A257888: Number of nonintersecting (or self-avoiding) rook paths of length 2n+2 joining opposite corners of an n X n grid. ; 4,36,224,1200,5940,28028,128128,572832,2519400,10943240,47070144,200880160,851809140,3592795500,15085939200,63102895680,263083395960,1093683448440,4535210472000,18764563053600,77485731403080,31...
asm/kernel/iomap.asm
majacQ/retroputer
58
48500
######################################## # # Retroputer Kernel : IO Map # ######################################## .namespace kiomap { .namespace rtc { # real time clock .const hour 0x00 .const minute 0x01 .const second 0x02 .const centisecon...
Source/NativeASM/HijackASM_x86.asm
KNSoft/NTAssassin
8
48501
.686P .XMM .model flat, stdcall include HijackASM.inc .code assume fs:nothing ; DWORD WINAPI Hijack_CallProc_InjectThread_x86(LPVOID lParam) Hijack_CallProc_InjectThread_x86 PROC USES ebx edi esi lParam ; edi point to HIJACK_CALLPROCHEADER xor eax, eax mov edi, lParam assume edi:ptr HIJACK_CALL...
src/firmware-tests/Platform/Lcd/InitialiseAfterLcdMock.asm
pete-restall/Cluck2Sesame-Prototype
1
48502
#include "Platform.inc" #include "InitialisationChain.inc" #include "TestDoubles.inc" radix decimal udata global calledInitialiseAfterLcd calledInitialiseAfterLcd res 1 InitialiseAfterLcdMock code global initialiseInitialiseAfterLcdMock global INITIALISE_AFTER_LCD initialiseInitialiseAfterLcdMock: banksel...
Transynther/x86/_processed/NONE/_zr_xt_/i7-7700_9_0xca_notsx.log_21829_394.asm
ljhsiun2/medusa
9
48504
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_zr_xt_/i7-7700_9_0xca_notsx.log_21829_394.asm .global s_prepare_buffers s_prepare_buffers: push %r15 push %r8 push %rax push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x9fed, %rsi lea addresses_WC_ht+0x1c436, %rdi nop nop nop...
programs/oeis/304/A304157.asm
karttu/loda
1
48505
<gh_stars>1-10 ; A304157: a(n) is the first Zagreb index of the linear phenylene G[n], defined pictorially in the Darafsheh reference. ; 24,68,112,156,200,244,288,332,376,420,464,508,552,596,640,684,728,772,816,860,904,948,992,1036,1080,1124,1168,1212,1256,1300,1344,1388,1432,1476,1520,1564,1608,1652,1696,1740,1784,182...
kernel.asm
Hasvitha392/xv6-enhanced
0
48506
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...
data/mapObjects/MrFujisHouse.asm
AmateurPanda92/pokemon-rby-dx
9
48507
MrFujisHouse_Object: db $a ; border block db 2 ; warps warp 2, 7, 2, -1 warp 3, 7, 2, -1 db 0 ; signs db 6 ; objects object SPRITE_BLACK_HAIR_BOY_2, 3, 5, STAY, NONE, 1 ; person object SPRITE_LITTLE_GIRL, 6, 3, STAY, DOWN, 2 ; person object SPRITE_SLOWBRO, 6, 4, STAY, UP, 3 ; person object SPRITE_SLOWBRO, ...
unittests/arch/x86/insn/pinsrb.asm
path64/assembler
1
48508
<reponame>path64/assembler [bits 16] pinsrb xmm4, eax, 0x55 ; 66 0f 3a 20 e0 55 [bits 32] pinsrb xmm4, eax, 0x55 ; 66 0f 3a 20 e0 55 [bits 64] pinsrb xmm4, eax, 0x55 ; 66 0f 3a 20 e0 55
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_93.asm
ljhsiun2/medusa
9
48509
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_93.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1438c, %rsi lea addresses_A_ht+0x9f84, %rdi clflush (%rdi) nop nop nop ...
kernel/driver/rtc.asm
TheMachine02/Sorcery
14
48512
<gh_stars>10-100 ;include 'include/kernel.inc' define DRIVER_RTC_COUNTER_SECOND $F30000 define DRIVER_RTC_COUNTER_MINUTE $F30004 define DRIVER_RTC_COUNTER_HOUR $F30008 define DRIVER_RTC_COUNTER_DAY $F3000C define DRIVER_RTC_ALARM_SECOND $F30010 define DRIVER_RTC_ALARM_MINUTE $F30014 define DRIVER_RTC_ALARM...
Cores/Atari800/atari800-src/cpu_m68k.asm
werminghoff/Provenance
3,459
48513
; cpu_m68k.asm - 6502 CPU emulation for Atari Falcon port ; ; Copyright (C) 2001 <NAME> (empty head) ; Copyright (C) 2001-2003 Atari800 development team (see DOC/CREDITS) ; ; This file is part of the Atari800 emulator project which emulates ; the Atari 400, 800, 800XL, 130XE, and 5200 8-bit computers. ; ; ...
mips11.asm
lichobaron/MIPSMARS
0
48514
.data .eqv BASE 0xFFFF0000 .eqv ROJO 0x00FF0000 .text li $t1, BASE #Direccion base del display li $t0, ROJO #Valor rojo sw $t0, 0($t1) #Enviar color a la memoria addi $t1, $t1, 4 #Incrementar sw $t0, 0($t1) #Pintartoda una fila li $t1, BASE addi $t1, $t1, 256 #pasar a la tercera fila li $t2, 1 #Contador loop: sw $t0, 0...
src/videoPorts/kernel_entry.asm
9176324/WriteYourOwnOS
17
48516
;The linker takes object files as inputs, then joins them together, ;but resolves any labels to their correct addresses. [bits 32] [extern main] ; Define calling point. Must have same name as kernel.c 'main' function call main ; Calls the C function. The linker will know where it is placed in memory jmp $
Library/Game/Utils/utilsManager.asm
steakknife/pcgeos
504
48517
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: utilsManager.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- REVISION HISTORY: Name Date Description ---- ---- -----...
Assembler/AssemblyCode/DEC.asm
KPU-RISC/KPU
8
48518
<filename>Assembler/AssemblyCode/DEC.asm ; Initial value MOV F, 5 ; Decrement the value multiple times DEC F DEC F DEC F DEC F ; Write register F to the Output Port OUTB F HLT
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_1596.asm
ljhsiun2/medusa
9
48520
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0xca.log_21829_1596.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1da03, %rsi lea addresses_A_ht+0x6593, %rdi nop dec %rax mov $8...
testdata/dos/smoke.asm
rcleveng/go86
1
48521
<gh_stars>1-10 bits 16 ;.model small ;.stack 100h segment code start: ; init data segment, stack segment, and set stack pointer ;mov ax, data ;mov ds,ax ;mov ax, stack ;mov ss,ax ;mov sp,stacktop mov al,[ThreeBytes] add al,ThreeBytes+1 add al,ThreeBytes+2 mov [TheSum...
asm/print_linux.asm
toastedcornflakes/JIT_brainfuck
18
48522
<filename>asm/print_linux.asm BITS 64 mov rax, 1 ; write is syscall number 1 mov rdi, 1 ; write to stdout mov rsi, rdx ; rdx is the address of the one character string [rdx] (doesn't need a NUL byte since we specify the length of the message) push rdx ; save rdx to stack mov rdx, 1 ; size of me...
oeis/291/A291782.asm
neoneye/loda-programs
11
48523
<reponame>neoneye/loda-programs ; A291782: Let f_k(n) be the result of applying phi (the Euler totient function A000010) k times to n; a(n) = n*Product_{k=1..oo} f_k(n). ; Submitted by <NAME>(s2) ; 1,2,6,8,40,12,84,64,108,80,880,96,1248,168,960,1024,17408,216,4104,1280,2016,1760,40480,1536,32000,2496,5832,2688,77952,19...
libsrc/msx/msxbasic.asm
RC2014Z80/z88dk
8
48524
<filename>libsrc/msx/msxbasic.asm ; ; MSX specific routines ; by <NAME>, December 2007 ; ; Internal function, call a ROM BASIC subroutine ; ; ; $Id: msxbasic.asm,v 1.4 2016-06-16 19:30:25 dom Exp $ ; SECTION code_clib PUBLIC msxbasic PUBLIC _msxbasic EXTERN msxrompage INCLUDE "msxbios.def" msxbasic: _msx...
Working Disassembly/General/Sprites/Unused/Map - Obj27 Unused 2.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
48525
Map_Obj27_2_: dc.w word_1EBCA-Map_Obj27_2_ dc.w word_1EBE4-Map_Obj27_2_ dc.w word_1EBFE-Map_Obj27_2_ word_1EBCA: dc.w 4 dc.b $E0, 5, 0, $34, $FF, $E0 dc.b $E0, 5, 0, $34, 0, $10 dc.b $10, 5, 0, $34, $FF, $E0 dc.b $10, 5, 0, $34, 0, $10 word_1EBE4: dc.w 4 dc.b $E0, 5, 0,...
oeis/114/A114767.asm
neoneye/loda-programs
11
48526
<filename>oeis/114/A114767.asm ; A114767: Floor[2^(1/3)*10^n]^3. ; Submitted by <NAME> ; 1,1728,1953125,1995616979,1999899757799,1999995000191488,1999999762390486961,1999999762390486961000,1999999952878604157540864,1999999995738432193638080649,1999999999548194715368954025992 bin $1,$0 mov $2,1 mov $3,$0 mul $3,4 lpb $...
oeis/007/A007484.asm
neoneye/loda-programs
11
48527
; A007484: a(n) = 3*a(n-1) + 2*a(n-2), with a(0)=2, a(1)=7. ; Submitted by <NAME>(s4) ; 2,7,25,89,317,1129,4021,14321,51005,181657,646981,2304257,8206733,29228713,104099605,370756241,1320467933,4702916281,16749684709,59654886689,212464029485,756701861833,2695033644469,9598504657073,34185581260157,121753753094617,433632...
0x00.asm
SpeedStepper/XchgRaxRax
0
48528
; This snippet, 0x00, sets all registers to 0 in different ways. ; Assemble with $ nasm -felf64 0x00.asm && ld 0x00.o && ./a.out global _start section .text _start: xor eax, eax ; Set rax to 0 by xor'ing it with itself. lea rbx, [0] ; Set rbx to 0 by loading the value 0 into it. mov ecx, loop_iteration loo...
cse341/factorial.asm
cosmicray001/academic
2
48529
<gh_stars>1-10 .MODEL SMALL org 100h .DATA ANS DB ? .CODE MAIN PROC MOV AX,@DATA MOV DS,AX MOV AL,5 MOV CL,4 MOV BL,AL SUB BL,1 L: MUL BL SUB BL,1 LOOP L MOV ANS,AL END MAIN ret
libsrc/_DEVELOPMENT/alloc/malloc/c/sdcc_iy/heap_init.asm
jpoikela/z88dk
640
48530
; void *heap_init(void *heap, size_t size) SECTION code_clib SECTION code_alloc_malloc PUBLIC _heap_init EXTERN asm_heap_init _heap_init: pop af pop hl pop bc push bc push hl push af jp asm_heap_init
transformy/tables/gen/0021.asm
mborik/regression
3
48531
<filename>transformy/tables/gen/0021.asm ld a, 24 ld (basescradr + #05d3), a ld a, 62 ld (basescradr + #06d3), a inc a ld (basescradr + #04f2), a ld (basescradr + #07d3), a ld (basescradr + #0c6d), a ld a, 1 ld (basescradr + #00f2), a ld (basescradr + #086d), a ld (basescradr + #08cf), a ld a,...
programs/oeis/152/A152135.asm
neoneye/loda
22
48532
<gh_stars>10-100 ; A152135: Maximal length of rook tour on an n X n+4 board. ; 12,36,74,134,216,328,470,650,868,1132,1442,1806,2224,2704,3246,3858,4540,5300,6138,7062,8072,9176,10374,11674,13076,14588,16210,17950,19808,21792,23902,26146,28524,31044,33706,36518,39480,42600,45878,49322,52932,56716,60674,64814,69136,73648...
libsrc/_DEVELOPMENT/adt/b_vector/c/sccz80/b_vector_init_callee.asm
meesokim/z88dk
0
48533
<gh_stars>0 ; void *b_vector_init(void *p, size_t capacity, size_t max_size) SECTION code_adt_b_vector PUBLIC b_vector_init_callee b_vector_init_callee: pop af pop hl pop bc pop de push af INCLUDE "adt/b_vector/z80/asm_b_vector_init.asm"
oeis/144/A144876.asm
neoneye/loda-programs
11
48534
<filename>oeis/144/A144876.asm ; A144876: Maximal number of distinct polyominoes into which an n X n square can be divided. ; Submitted by <NAME> ; 1,2,4,5,8,10,13,16,19,22,26,30,34,38 mov $2,$0 mul $0,2 mov $1,$0 lpb $1 pow $0,2 mul $1,2 mov $3,$1 mov $1,1 mul $3,2 lpe add $0,$3 mul $0,2 div $0,63 add $0,$2...
oeis/241/A241519.asm
neoneye/loda-programs
11
48535
<filename>oeis/241/A241519.asm ; A241519: Denominators of b(n) = b(n-1)/2 + 1/(2*n), b(0)=0. ; Submitted by <NAME> ; 1,2,2,12,3,15,60,840,105,630,630,13860,6930,180180,360360,144144,9009,306306,306306,11639628,14549535,14549535,58198140,2677114440,334639305,3346393050 mov $1,1 lpb $0 mul $3,$0 sub $0,1 add $2,1 ...
oeis/102/A102083.asm
neoneye/loda-programs
11
48536
<filename>oeis/102/A102083.asm ; A102083: a(n) = 8*n^2 + 4*n + 1. ; 1,13,41,85,145,221,313,421,545,685,841,1013,1201,1405,1625,1861,2113,2381,2665,2965,3281,3613,3961,4325,4705,5101,5513,5941,6385,6845,7321,7813,8321,8845,9385,9941,10513,11101,11705,12325,12961,13613,14281,14965,15665,16381,17113,17861,18625,19405,2020...
C vs Assembly/swap 2 numbers using addition and subtraction.asm
zakarialaoui10/HIGH-TO-LOW
18
48537
li $s0,3 li $s1,7 add $s0,$s0,$s1 sub $s1,$s0,$s1 sub $s0,$s0,$s1 li $v0,1 la $a0,($s0) syscall li $v0,1 la $a0,($s1) syscall
oeis/337/A337167.asm
neoneye/loda-programs
11
48538
; A337167: a(n) = 1 + 3 * Sum_{k=0..n-1} a(k) * a(n-k-1). ; Submitted by <NAME> ; 1,4,25,199,1795,17422,177463,1870960,20241403,223438852,2506596547,28494103183,327507800725,3799735202218,44440058006593,523388751658831,6201937444137619,73888034816382820,884517283667145259,10634234680321209373,128347834921058404249,1554...
arch/amd64/hw/ap_code.nasm
alnyan/ygg-kernel-amd64
15
48540
<gh_stars>10-100 ; vi: ft=asm : org 0x7000 bits 16 ; Application processor bootstrapping code ; -------------------------------------------- ; Parameters passed to us from BSP: ; 0x7FC0 Kernel PML4 physical address ; 0x7FC8 GDTR physical address ; 0x7FD0 ---- ; 0x7FD8 Kernel AP core ent...
Working Disassembly/Levels/HCZ/Misc Object Data/Map - Large Fan.asm
TeamASM-Blur/Sonic-3-Blue-Balls-Edition
5
48542
Map_22F418: dc.w Frame_22F422-Map_22F418 dc.w Frame_22F454-Map_22F418 dc.w Frame_22F486-Map_22F418 dc.w Frame_22F4B8-Map_22F418 dc.w Frame_22F4EA-Map_22F418 Frame_22F422: dc.w 8 dc.b $E7, 6, 0, 0,$FF,$E8 dc.b 0, 7, 0, 6,$FF,$E8 dc.b $E7, 6, 0, 0, 0, 8 dc.b 0, 7, 0, 6, 0, 8 dc.b $E0...