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
base/ntos/ke/amd64/clockint.asm
npocmaka/Windows-Server-2003
17
53495
<reponame>npocmaka/Windows-Server-2003<gh_stars>10-100 title "Interval Clock Interrupt" ;++ ; ; Copyright (c) 2000 Microsoft Corporation ; ; Module Name: ; ; clockint.asm ; ; Abstract: ; ; This module implements the architecture dependent code necessary to ; process the interval clock interru...
dino/lcs/etc/C.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
53496
<filename>dino/lcs/etc/C.asm copyright zengfr site:http://github.com/zengfr/romhack 00042A move.l D1, (A0)+ 00042C dbra D0, $42a 0018C4 add.l D0, ($c,A6) 0018C8 moveq #$0, D0 [123p+ C, 123p+ E, base+748, enemy+ C, enemy+ E, etc+ C, etc+ E, item+ C, item+ E] 004950 move.l D0, (A4)+ 004952 move.l D0...
programs/oeis/048/A048588.asm
jmorken/loda
1
53499
; A048588: Pisot sequence L(7,8). ; 7,8,10,13,17,23,32,45,64,92,133,193,281,410,599,876,1282,1877,2749,4027,5900,8645,12668,18564,27205,39869,58429,85630,125495,183920,269546,395037,578953,848495,1243528,1822477,2670968,3914492,5736965,8407929,12322417,18059378,26467303,38789716,56849090,83316389,122106101,178955187,26...
html/current_projects/computer_security/code/linux_shellcode.asm
markkhusid/MKDynamics_website
0
53500
section .text ; start the code section of the asm global _start ; declare a global label _start: ; label to indicate start of code ; setreuid (0,0) ; get full priveledges xor eax, eax ; clear our the eax register mov al, 0x46 ; set the syscall # to hex 46, one byte xor ebx, ebx...
pgm/gas/04_data_movement/pgm.asm
vinaib/x86_asm
0
53501
# Demo for data types .data string: .ascii "Hello world" one_byte: .byte 10 int_32: .int 2 int_16: .short 3 Flt: .float 10.23 int_array: .int 10,20,30,40,50 .bss .comm lrg_buff, 10000 .text .globl _start _start: nop # mov immediate value into register; eax = 10 movl $10, %eax # mov immediate ...
play/bubblesort.asm
justinba1010/CSCE212
2
53502
<filename>play/bubblesort.asm<gh_stars>1-10 ### <NAME> ### 00426510 ### BubbleSort ### 25 November 2018 ### Dr. <NAME> .data baseadd: .word 34 5 11 11 0 .text main: la $s1, baseadd # a* => $s1 ############### # void bubbleSort(int arr[], int n) { # int i, j; # for (i = 0; i < n-1; i++) ...
programs/oeis/151/A151920.asm
karttu/loda
1
53503
<gh_stars>1-10 ; A151920: a(n) = (Sum_{i=1..n+1} 3^wt(i))/3, where wt() = A000120(). ; 1,2,5,6,9,12,21,22,25,28,37,40,49,58,85,86,89,92,101,104,113,122,149,152,161,170,197,206,233,260,341,342,345,348,357,360,369,378,405,408,417,426,453,462,489,516,597,600,609,618,645,654,681,708,789,798,825,852,933,960,1041,1122,1365,1...
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_54_1588.asm
ljhsiun2/medusa
9
53504
<filename>Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_54_1588.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r14 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x165d0, %rsi lea addresses_normal_ht+0x18c1b, %rdi and %rax, %rax mov $119, %rcx rep movsq...
oeis/139/A139748.asm
neoneye/loda-programs
11
53506
; A139748: a(n) = Sum_{ k >= 0} binomial(n,5*k+3). ; Submitted by <NAME>(s1.) ; 0,0,0,1,4,10,20,35,57,93,165,330,715,1574,3381,6995,13990,27370,53143,103702,204820,409640,826045,1669801,3368259,6765175,13530350,26985675,53774932,107232053,214146295,428292590,857417220,1717012749,3437550076,6878624730,13757249460,275052...
Modellazione_e_analisi_di_sistemi/eclipse_workspace_mas/esercizi/esercizio2.asm
katema-official/Universita_magistrale_anno_1.2
0
53507
asm esercizio2 import StandardLibrary signature: //DOMINI dynamic abstract domain Pos dynamic abstract domain Elem //FUNZIONI static k: Integer monitored insert_rear: Elem monitored delete_front: Boolean controlled size: Integer controlled next: Pos -> Pos controlled prec: Pos -> Pos controlled head: Pos...
oeis/164/A164931.asm
neoneye/loda-programs
11
53508
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A164931: n times the n-th noncomposite. ; 1,4,9,20,35,66,91,136,171,230,319,372,481,574,645,752,901,1062,1159,1340,1491,1606,1817,1992,2225,2522,2727,2884,3103,3270,3503,4064,4323,4658,4865,5364,5587,5966,6357,6680,7093,7518,7783,8404,8685,9062,9353,10128,10927,11350,11...
engine/events/diploma.asm
opiter09/ASM-Machina
1
53509
CIRCLE_TILE_ID EQU $70 DisplayDiploma:: call SaveScreenTilesToBuffer2 call GBPalWhiteOutWithDelay3 call ClearScreen xor a ld [wUpdateSpritesEnabled], a ld hl, wd730 set 6, [hl] call DisableLCD ld hl, CircleTile ld de, vChars2 tile CIRCLE_TILE_ID ld bc, $10 ld a, BANK(CircleTile) call FarCopyData2 hlcoord...
oeis/157/A157681.asm
neoneye/loda-programs
11
53510
; A157681: Fibonacci sequence beginning 29, 31. ; 29,31,60,91,151,242,393,635,1028,1663,2691,4354,7045,11399,18444,29843,48287,78130,126417,204547,330964,535511,866475,1401986,2268461,3670447,5938908,9609355,15548263,25157618,40705881,65863499,106569380,172432879,279002259,451435138,730437397,1181872535,1912309932,3094...
Transynther/x86/_processed/NC/_zr_/i7-8650U_0xd2_notsx.log_2898_1052.asm
ljhsiun2/medusa
9
53511
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r8 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1e38f, %rsi lea addresses_normal_ht+0x1c50b, %rdi nop nop sub $53264, %r8 mov $101, %rcx rep movsq nop dec %r10 pop %rsi pop %rdi pop %rcx pop %r8 pop %r10 ret .global s_faulty_load s_faulty_load: pu...
src/bootstub.asm
TheDarkBomber/apiofirm
4
53512
;;; ;;; APIOFIRM OPERATING SYSTEM: BOOT STUB FOR NON-BOOTABLE DISKS ;;; org 0x7C00 ; set origin to 0x7C00 bits 16 ; explicitly produce 16-bit binary files %define DOSN 0x0D, 0x0A ; BIOS TTY mode uses DOS newlines %define STRD DOSN, 0 ; Ends string with a DOS newline. ;;; ;;; FAT12 HE...
Experiments/AliAsM/example/aliases/euler.asm
RedSerge/fun
0
53514
<filename>Experiments/AliAsM/example/aliases/euler.asm alias Euler alias zerosd (reg) { pxor reg, reg } alias reset () { mov count, len mov psrc, src mov pdst, dst alias zerosd (temp1) } Euler: alias [linux] { alias src, rdi alias dst, rsi alias len, edx } alias [windows] { alias src, rcx alias ...
programs/oeis/203/A203994.asm
karttu/loda
0
53515
<reponame>karttu/loda ; A203994: Symmetric matrix based on f(i,j) = (i+j)*min{i,j}, by antidiagonals. ; 1,0,0,-1,1,-1,-2,0,0,-2,-3,-1,1,-1,-3,-4,-2,0,0,-2,-4,-5,-3,-1,1,-1,-3,-5,-6,-4,-2,0,0,-2,-4,-6,-7,-5,-3,-1,1,-1,-3,-5,-7,-8,-6,-4,-2,0,0,-2,-4,-6,-8,-9,-7,-5,-3,-1,1,-1,-3,-5,-7,-9,-10,-8,-6,-4,-2,0,0,-2,-4,-6,-8,-1...
programs/oeis/167/A167817.asm
karttu/loda
1
53517
<filename>programs/oeis/167/A167817.asm ; A167817: Period 4: repeat [1, 3, 3, 3]. ; 1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1,3,3,3,1 mov $1,$0 gcd $1,4 trn $1...
002_Prova Call/Test.asm
salvatorenitopi/assembly_8086
0
53518
.model small .stack 100h .data stringa1 db 'Ciao a tutti', '$' stringa2 db 'Stringa 2','$' stringa3 db 'Chiamata', '$' acapo byte 10d .code start: mov ax, @data mov ds, ax mov dx, offset stringa1 ;Stampa stringa mov ah, 9h int 21h mov dl, acapo ;acapo mov ah, 2h int 21h call ...
Transynther/x86/_processed/AVXALIGN/_st_4k_/i7-8650U_0xd2.log_291_1257.asm
ljhsiun2/medusa
9
53519
.global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r8 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x13929, %r8 nop nop nop nop nop and %r15, %r15 mov $0x6162636465666768, %r13 movq %r13, %xmm3 vmovups %ymm3, (%r8) nop nop xor $9627, %rcx lea addresses_UC_ht+0x4ce3, %rsi...
win32/VC10/Win32/libxml2_Debug/catalog.asm
txwizard/libxml2_x64_and_ARM
0
53520
<filename>win32/VC10/Win32/libxml2_Debug/catalog.asm ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27027.1 TITLE C:\Users\DAG\Documents\_Clients\CodeProject Authors Group\Windows on ARM\libxml2\libxml2-2.9.9\catalog.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRTD INCLUDE...
source/command/graphics/loadiff.asm
mega65dev/rom-assembler
0
53521
<filename>source/command/graphics/loadiff.asm ; ******************************************************************************************** ; ******************************************************************************************** ; ; Name : loadiff.asm ; Purpose : .. ; Created : 15th Nov 1991 ; Updated :...
resources/strings.asm
VincentFoulon80/vixx
1
53522
!ifndef is_main !eof SWP = PET_COLOR_SWAP file_save_len = 11 file_save_w !pet "@:vixx.sv,s,w" file_save_r !pet "vixx.sv,s,r" str_white_on_black !pet PET_COLOR_BLACK, PET_COLOR_SWAP, PET_COLOR_WHITE, PET_NULL str_color_score !pet PET_COLOR_DGRAY, PET_COLOR_SWAP, PET_COLOR_YELLOW, PET_NULL chr_live !pet "@" ...
boot/print32.asm
raibu/rabu-os
0
53523
[bits 32] ; using 32-bit protected mode ; this is how constants are defined VIDEO_MEMORY equ 0xb8000 WHITE_ON_BLACK equ 0x0f ; the color byte for each character print_string_pm: pusha mov edx, VIDEO_MEMORY add edx, [cur_pos] add edx, [cur_pos] print_string_pm_loop: mov al, [ebx] ; [ebx] is the ...
examples/e01-raster-irq.asm
c64lib/chipset
11
53524
/* * Copper demo 1. */ #import "common/lib/mem-global.asm" #import "../lib/cia.asm" #import "../lib/vic2-global.asm" #import "../lib/mos6510-global.asm" .label IRQ_1 = 150 .label IRQ_2 = 200 .pc = $0801 "Basic Upstart" :BasicUpstart(start) // Basic start routine // Main program .pc = $0810 "Program" start: sei...
LCM BER KORA.asm
L12161/assembly_habijabi
0
53525
;practical exercise 1 prob a DATA SEGMENT NUM1 DW 0Fh NUM2 DW 4Bh GCD DW ? LCM DW ? data ends code segment assume cs:code ds:code MOV AX,DATA MOV DS,AX MOV AX,NUM1 MOV BX,NUM2 COMPARE: CMP AX,BX JE ANS JB SWAP DIVISION: MOV DX,0000h DIV BX ...
sw/552tests/rand_simple/t_3_bltz.asm
JPShen-UWM/ThreadKraken
1
53526
// seed 3 lbi r0, 178 // icount 0 slbi r0, 83 // icount 1 lbi r1, 151 // icount 2 slbi r1, 206 // icount 3 lbi r2, 176 // icount 4 slbi r2, 151 // icount 5 lbi r3, 153 // icount 6 slbi r3, 7 // icount 7 lbi r4, 31 // icount 8 slbi r4, 31 // icount 9 lbi r5, 171 // icount 10 slbi r5, 86 // icount 11 lbi r6, 174 // icoun...
user/primes.asm
liyanxp/Xv6-labs
0
53527
<reponame>liyanxp/Xv6-labs<gh_stars>0 user/_primes: file format elf64-littleriscv Disassembly of section .text: 0000000000000000 <find_primes>: #include "kernel/types.h" #include "user.h" void find_primes(int p[]){ //埃拉托斯特尼筛法 0: 7139 addi sp,sp,-64 2: fc06 sd ra,56(sp...
src/coreclr/nativeaot/Runtime/i386/StubDispatch.asm
pyracanda/runtime
9,402
53528
;; Licensed to the .NET Foundation under one or more agreements. ;; The .NET Foundation licenses this file to you under the MIT license. .586 .model flat option casemap:none .code include AsmMacros.inc ifdef FEATURE_CACHED_INTERFACE_DISPATCH EXTERN RhpCidResolve : PROC EXTERN _Rh...
libsrc/strings/memops.asm
jpoikela/z88dk
640
53529
<filename>libsrc/strings/memops.asm<gh_stars>100-1000 ; operations for memopi() and memopd() ; 06.2007 aralbrec SECTION code_clib PUBLIC memops PUBLIC _memops .memops ._memops .opload nop ret .opor or (hl) ret .opxor xor (hl) ret .opand and (hl) ret .opadd add a,(hl) ret .o...
engine/globals.asm
richard42/dynosprite
10
53530
********************************************************************************* * DynoSprite - globals.asm * Copyright (c) 2013, <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: * * * Re...
asm/spim/csc-201/c3.asm
dindoliboon/archive
4
53531
# ========================================================================= # # NAME: Instructor # DATE: June 13, 2001 # ASSIGNMENT: Class Example #3, CSC-201-01 # OBJECTIVE: Leaf example # # ========================================================================= .data .align 2 # ======================...
05_arraylistvsarray/RandomListAccess.testGet1000000.asm
arnaudroger/blog_samples
0
53532
# JMH version: 1.19 # VM version: JDK 1.8.0_131, VM 25.131-b11 # VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java # VM options: <none> # Warmup: 10 iterations, 1 s each # Measurement: 10 iterations, 1 s each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Average ti...
Irvine/Examples/ch08/32 bit/swap.asm
alieonsido/ASM_TESTING
0
53533
<reponame>alieonsido/ASM_TESTING<gh_stars>0 ; Swap Procedure Example (Swap.asm) ; This program demonstrates a procedure that exchanges ; two integers using their pointers. Shows how to use ; PROTO, PROC, and INVOKE. INCLUDE Irvine32.inc Swap PROTO, ; procedure prototype pValX:PTR DWORD, pValY:PTR...
oeis/217/A217854.asm
neoneye/loda-programs
11
53534
; A217854: Product of all divisors of n, positive or negative. ; Submitted by <NAME> ; -1,4,9,-64,25,1296,49,4096,-729,10000,121,2985984,169,38416,50625,-1048576,289,34012224,361,64000000,194481,234256,529,110075314176,-15625,456976,531441,481890304,841,656100000000,961,1073741824,1185921 sub $1,$0 seq $0,5 ; d(n) (al...
programs/oeis/323/A323231.asm
neoneye/loda
22
53535
<gh_stars>10-100 ; A323231: A(n, k) = [x^k] (1/(1-x) + x/(1-x)^n), square array read by descending antidiagonals for n, k >= 0. ; 1,2,1,1,2,1,1,2,2,1,1,2,3,2,1,1,2,4,4,2,1,1,2,5,7,5,2,1,1,2,6,11,11,6,2,1,1,2,7,16,21,16,7,2,1,1,2,8,22,36,36,22,8,2,1,1,2,9,29,57,71,57,29,9,2,1,1,2,10,37,85,127,127,85,37,10,2,1 mov $5,2 ...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_540_313.asm
ljhsiun2/medusa
9
53536
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r15 push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1628c, %r11 nop mfence movw $0x6162, (%r11) nop nop xor %r14, %r14 lea addresses_WT_ht+0x1738c, %rbx nop sub %r14, %r14 movb $0x61, (%rbx) xor $22917, %r14 lea addresses...
libsrc/_DEVELOPMENT/arch/zx/misc/c/sccz80/zx_scroll_up_callee.asm
teknoplop/z88dk
0
53537
<filename>libsrc/_DEVELOPMENT/arch/zx/misc/c/sccz80/zx_scroll_up_callee.asm ; void zx_scroll_up_callee(uchar rows, uchar attr) SECTION code_clib SECTION code_arch PUBLIC zx_scroll_up_callee EXTERN asm_zx_scroll_up zx_scroll_up_callee: pop af pop hl pop de push af jp asm_zx_scroll_up
runtime/muldiv.asm
paulscottrobson/amoral
3
53538
<filename>runtime/muldiv.asm ; ******************************************************************************************* ; ******************************************************************************************* ; ; File: muldiv.asm ; Date: 14th November 2020 ; Purpose: ...
programs/oeis/055/A055961.asm
neoneye/loda
22
53541
; A055961: a(n) = n - (reversal of base-11 digits of n) (written in base 10). ; 0,0,0,0,0,0,0,0,0,0,0,10,0,-10,-20,-30,-40,-50,-60,-70,-80,-90,20,10,0,-10,-20,-30,-40,-50,-60,-70,-80,30,20,10,0,-10,-20,-30,-40,-50,-60,-70,40,30,20,10,0,-10,-20,-30,-40,-50,-60,50,40,30,20,10,0,-10,-20,-30,-40,-50,60,50,40,30,20,10,0,-10...
source/MicroBenchX.Ipc/IpcTests/add_avx256_int.asm
clayne/MicroBenchX
15
53542
<gh_stars>10-100 [BITS 64] %include "parameters.inc" extern exit global add_avx256_int section .text add_avx256_int: push rbp mov rax, ITERATIONS_add_avx256i lea rbx, [rel avx_iv] vmovdqa ymm0, [rbx] vmovdqa ymm1, [rbx] vmovdqa ymm2, [rbx] vmovdqa ymm3, [rbx] vmovdqa ymm4, [rbx] vmovdqa ymm5, [rbx] ...
arm-assembly/hello/hello.asm
krogk/assembly-practice
0
53543
<reponame>krogk/assembly-practice<gh_stars>0 # ARM Assembly Educational Projects - Hello world # System calls are APIs for the interface between the user space and the kernel space. # The sys calls allow for a broad range of usefull features, in the case of this program # The sys calls are used to write to the standar...
IServer/client-examples/hello2/hello2.asm
devzendo/transputer-emulator
5
53544
<filename>IServer/client-examples/hello2/hello2.asm TITLE Transputer Hello World PAGE 60,132 ; Second version without macros. .TRANSPUTER MemStart EQU 0x80000070 TptrLoc0 EQU 0x80000024 TptrLoc1 EQU 0x80000028 start_time EQU 0 ORG MemStart - 1 DB STOP - START ORG MemStart...
source/impl/x86_64/boot/header.asm
Imoali/GalacticOS
1
53545
section .multiboot_header header_start: ; magic number dd 0xE85250D6 ; architecture dd 0 ; protected mode i386 ; header_length dd header_end - header_start ; checksum dd 0x100000000 - (header_end - header_start + 0xE85250D6) ; end tag dd 0 dd 0 dd 8 header_end:
codegen-tests/bitfield-class/vs2013u5/02-sub-eq.asm
Deaod/bitfields
0
53546
<reponame>Deaod/bitfields<gh_stars>0 push ebp mov ebp,esp push ecx call dword ptr ds:[0CDD1BCh] mov edx,dword ptr [dev] mov ecx,edx shl eax,0Ch sub ecx,eax xor ecx,edx and ecx,3F000h xor ecx,edx...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_549.asm
ljhsiun2/medusa
9
53547
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0xd185, %r9 nop nop and %r8, %r8 movups (%r9), %xmm7 vpextrq $1, %xmm7, %r12 nop dec %rax lea addresses_A_ht+0x11fd, %r13 mfence and $0xffffffffffff...
base/ntos/ke/amd64/intsup.asm
yang235/wrk-v1.2
209
53550
TITLE "Interrupt Object Support Routines" ;++ ; ; Copyright (c) Microsoft Corporation. All rights reserved. ; ; You may only use this code if you agree to the terms of the Windows Research Kernel Source Code License agreement (see License.txt). ; If you do not agree to the terms, do not use the code. ; ; ; Mo...
programs/oeis/061/A061486.asm
neoneye/loda
22
53551
<filename>programs/oeis/061/A061486.asm ; A061486: Let the number of digits in n be k; a(n) = sum of the products of the digits of n taken r at a time where r ranges from 1 to k. ; 0,1,2,3,4,5,6,7,8,9,1,3,5,7,9,11,13,15,17,19,2,5,8,11,14,17,20,23,26,29,3,7,11,15,19,23,27,31,35,39,4,9,14,19,24,29,34,39,44,49,5,11,17,23,...
programs/oeis/264/A264440.asm
jmorken/loda
1
53552
; A264440: Row lengths of the irregular triangle A137510 (number of divisors d of n with 1 < d < n, or 0 if no such d exists). ; 1,1,1,1,1,2,1,2,1,2,1,4,1,2,2,3,1,4,1,4,2,2,1,6,1,2,2,4,1,6,1,4,2,2,2,7,1,2,2,6,1,6,1,4,4,2,1,8,1,4,2,4,1,6,2,6,2,2,1,10,1,2,4,5,2,6,1,4,2,6,1,10,1,2,4,4,2,6,1,8,3,2,1,10,2,2,2,6,1,10,2,4,2,2...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_1_116.asm
ljhsiun2/medusa
9
53553
<filename>Transynther/x86/_processed/AVXALIGN/_zr_/i7-8650U_0xd2.log_1_116.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %r15 push %r8 push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x7670, %rbx nop nop nop inc %r13 mov $0x6162636465666768, %r15 movq %r15, %xmm7 movups %xmm7, (%r...
ver0/3_osInPro/2_elfForm/loader.asm
RongbinZhuang/simpleOS
0
53554
org 0100h jmp LABEL_START BaseOfStack equ 0100h BaseOfKernelFile equ 08000h OffsetOfKernelFile equ 0h %include "fat12hdr.inc" wRootDirSizeForLoop dw RootDirSectors ; Root Directory 占用的扇区数 wSectorNo dw 0 ; 要读取的扇区号 bOdd db 0 ; 奇数还是偶数 dwKernelSize dd 0 ; KERNEL.BIN 文件大小 KernelFileName db "KERNEL BIN", 0...
programs/oeis/115/A115331.asm
karttu/loda
0
53555
<filename>programs/oeis/115/A115331.asm ; A115331: E.g.f.: exp(x+5/2*x^2). ; 1,1,6,16,106,426,3076,15856,123516,757756,6315976,44203776,391582456,3043809016,28496668656,241563299776,2378813448976,21703877431056,223903020594016,2177251989389056,23448038945820576 mov $1,8 mov $3,8 lpb $0,1 mul $1,5 mov $2,$0 sub $...
lab3_test_harness/Lab1test/and.asm
Zaydax/PipelineProcessor
2
53556
<filename>lab3_test_harness/Lab1test/and.asm .ORIG x3000 AND R1, R1, #0 ADD R2, R1, #1 ADD R2, R2, R2 ADD R2, R1, #1 ADD R2, R2, R2 ADD R2, R1, #1 ADD R2, R2, R2 ADD R2, R1, #1 ADD R2, R2, R2 ADD R2, R1, #1 ADD R2, R2, R2 ADD R2, R1, #1 ADD R2, R2, R2 ADD R2, R1, #1 ADD R2, R2, R2 ADD R2, R1, #1 ADD R...
src/fs/Read.asm
beckadamtheinventor/BOSos
1
53557
;@DOES read data from a file into a buffer ;@INPUT A = file handle ;@INPUT DE = data buffer ;@INPUT HL = bytes to read ;@OUTPUT HL = number of bytes read ;@OUTPUT Z flag set if success, else failed ;@DESTROYS All fs_Read: push de push hl call fs_GetFileHandlePtr jr nc,.failed bit fs_read_bit,(ix) jr z,.failed ld...
python_src/other/export/screen_3_2.asm
fjpena/sword-of-ianna-msx2
43
53558
org $0000 ; Object types OBJECT_NONE EQU 0 OBJECT_SWITCH EQU 1 OBJECT_DOOR EQU 2 OBJECT_DOOR_DESTROY EQU 3 OBJECT_FLOOR_DESTROY EQU 4 OBJECT_WALL_DESTROY EQU 5 OBJECT_BOX_LEFT EQU 6 OBJECT_BOX_RIGHT EQU 7 OBJECT_JAR EQU 8 OBJECT_TELEPORTER EQU 9 ; Pickable object types OBJECT_KEY_GREEN EQU 11 OBJECT_KEY_BLUE EQU...
oeis/022/A022111.asm
neoneye/loda-programs
11
53559
<filename>oeis/022/A022111.asm<gh_stars>10-100 ; A022111: Expansion of 1/((1-x)(1-5x)(1-6x)(1-8x)). ; Submitted by <NAME> ; 1,20,263,2878,28449,264048,2350651,20332466,172311557,1438844836,11885079999,97387603014,793247778025,6432389826584,51985193621507,419076145997722,3371967484999053,27092843456412492,21745013748140...
oeis/214/A214946.asm
neoneye/loda-programs
11
53560
<reponame>neoneye/loda-programs ; A214946: Number of squarefree words of length 7 in an (n+1)-ary alphabet. ; Submitted by <NAME> ; 0,60,1848,15960,80040,292740,868560,2218608,5062320,10575180,20577480,37769160,66015768,110690580,179077920,280842720,428571360,638388828,930657240,1330760760,1869981960,2586474660,3526338...
attt.asm
kurogetsusai/ancient-tictactoe
1
53561
<filename>attt.asm ; <NAME> ; TASM @ DOS ; <NAME> ; 2015-01-01 assume cs: program, ss: dstack program segment .386 dstack segment stack db 4 dup ('STACK') dstack ends board00 db 32 board01 db 32 board02 db 32 board10 db 32 board11 db 32 board12 db 32 board20 db 32 board21 db 32 board22 db 32 drawCount dw 1 drawChar ...
sdk-6.5.16/tools/led/example/lancelot.asm
copslock/broadcom_cpri
0
53562
; ; ; ; This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. ; ; Copyright 2007-2019 Broadcom Inc. All rights reserved. ; ; ; This is the default program for the Lancelot (SDK95690R48S). ; ; To start it, use the following commands from BC...
date.asm
Tookerton21/Xv6_OS
0
53563
_date: file format elf32-i386 Disassembly of section .text: 00000000 <dayofweek>: "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}; static char *days[] = {"Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"}; int dayofweek(int y, int m, int d) { 0: 55 push %ebp 1: 89 e5 ...
src/third_party/nasm/test/dtbcd.asm
Mr-Sheep/naiveproxy
2,219
53564
; ; This is a macro to generate packed BCD constants. ; It is obsoleted by "dt" with a packed BCD value with a "p" ; suffix, but it is included here as a rest of nested %rep. ; %macro dtbcd 1-*.nolist %push dtbcd %rep %0 %defstr %$abc %1 %substr %$sign %$abc 1 %if %$sign == '-' %substr %$abc %$abc...
a51test/(B6)CJNE_@Ri_i_o.a51
Aimini/51cpu
0
53566
MOV 0xD0,#0x00 MOV R0,#0x37 MOV R1,#0x6F MOV 0xD0,#0x08 MOV R0,#0x2A MOV R1,#0x50 MOV 0xD0,#0x10 MOV R0,#0x2F MOV R1,#0x2C MOV 0xD0,#0x18 MOV R0,#0x4D MOV R1,#0x39 MOV 0xD0,#0x00 START_RS0_0: INC @R0 CJNE @R0,#0x20,START_RS0_0 START_RS0_1: INC @R1 CJNE @R1,#0x21,START_RS0_1 MOV ...
acat.data.asm
BernardTatin/asm_required
0
53567
<gh_stars>0 ; ---------------------------------------------------------------------- ; acat.data.asm ; ; A simple cat which write on STDOUT all what it reads on STDIN ; To assemble and run: ; ; nasm -felf64 acat.asm acat.data.asm \ ; && ld acat.o acat.data.o && ./a.out ; -------------------------------------------...
src/presets/hundo_data.asm
rioscrodrigo/sm_practice_hack
0
53568
preset_hundo_bombs_ceres_elevator: dw #$0000 dl $7E078B : db $02 : dw $0000 ; Elevator Index dl $7E078D : db $02 : dw $AB58 ; DDB dl $7E078F : db $02 : dw $0000 ; DoorOut Index dl $7E079B : db $02 : dw $DF45 ; MDB dl $7E079F : db $02 : dw $0006 ; Region dl $7E07C3 : db $02 : dw $E22...
source/kernel/arch/i386/isr.asm
joshbeitler/mirus-archive
0
53569
<gh_stars>0 ; Copyright 2013 Mirus Project ; Licensed under the Apache License, Version 2.0 (the "License"); ; you may not use this file except in compliance with the License. ; You may obtain a copy of the License at ; http://www.apache.org/licenses/LICENSE-2.0 ; Unless required by applicable law or agreed to in wr...
programs/oeis/181/A181138.asm
neoneye/loda
22
53570
<filename>programs/oeis/181/A181138.asm ; A181138: Least positive integer k such that n^2 + k is a cube. ; 1,7,4,18,11,2,28,15,61,44,25,4,72,47,20,118,87,54,19,151,112,71,28,200,153,104,53,271,216,159,100,39,307,242,175,106,35,359,284,207,128,47,433,348,261,172,81,535,440,343,244,143,40,566,459,350,239,126,11,615,496,3...
oeis/130/A130556.asm
neoneye/loda-programs
11
53571
<filename>oeis/130/A130556.asm ; A130556: A model of the atomic nucleus (Shell model of nucleus). A triangle. ; Submitted by <NAME>(s2) ; 1,11,1,111,1,11,1111,11,1,111,11111,111,1,11,1111,111111,1111,11,1,111,11111,1111111,11111,111,1,11,1111,111111,11111111,111111,1111,11,1,111,11111,1111111 mul $0,2 seq $0,4737 ; Co...
Scrollable HDMA Gradients/Base.asm
MarioFanGamer/HDMA-Libraries
0
53572
<reponame>MarioFanGamer/HDMA-Libraries !ScrollLayer = 1 ; The layer in which the HDMA is rooted. !ScrollOffset = $0000 ; How much is the table shifted !ScrollFactor = 0 ; The division is exponential, using 2 as its base. init: %ScrollHdmaInit(Gradient) main: %ScrollHdmaMain(!ScrollLayer, !ScrollOffset, !ScrollFac...
Assembly/HW3/_OLD/array_length.asm
DulceWRLD/College
2
53574
<gh_stars>1-10 # Runs through an array and stores each character into another array # VARIABLES .data prompt_input: .asciiz "Enter a line of input: " prompt_output: .asciiz "You entered: " input: .space 80 # This will be what the user inputs. output: .space 80 # This is where the output codes ar...
libsrc/_DEVELOPMENT/arch/zx/ulaplus/c/sccz80/ulap_write_color.asm
jpoikela/z88dk
640
53575
<filename>libsrc/_DEVELOPMENT/arch/zx/ulaplus/c/sccz80/ulap_write_color.asm<gh_stars>100-1000 ; void ulap_write_color(unsigned char pent,unsigned char color) SECTION code_clib SECTION code_arch PUBLIC ulap_write_color EXTERN asm_ulap_write_color ulap_write_color: pop af pop de pop hl push hl pus...
win64_helloworld_console.asm
rgimad/fasm_programs
8
53576
<reponame>rgimad/fasm_programs<filename>win64_helloworld_console.asm format PE64 Console 5.0 entry Start include 'C:\Program Files (x86)\fasmw17322\INCLUDE\win64a.inc' section '.text' code readable executable Start: invoke SetConsoleTitleA, conTitle test eax, eax ; compare eax with 0 jz Exit ; if eax == 0 ...
src/SlimShader.Tests/Shaders/Sdk/Direct3D11/ContactHardeningShadows11/ContactHardeningShadows11_VSSM.asm
tgjones/slimshader
125
53577
<reponame>tgjones/slimshader // // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.20714 // // /// // Buffer Definitions: // // cbuffer cbConstants // { // // float4x4 g_f4x4WorldViewProjection;// Offset: 0 Size: 64 [unused] // float4x4 g_f4x4WorldViewProjLight; // Offset: 64 Size: 64 // flo...
PRG/levels/Hills/Empty2.asm
narfman0/smb3_pp1
0
53578
; Original address was $A9CD ; Empty/unused 2 .word $0000 ; Alternate level layout .word $0000 ; Alternate object layout .byte LEVEL1_SIZE_16 | LEVEL1_YSTART_040 .byte LEVEL2_BGPAL_05 | LEVEL2_OBJPAL_08 | LEVEL2_XSTART_18 .byte LEVEL3_TILESET_03 | LEVEL3_VSCROLL_FREE .byte LEVEL4_BGBANK_INDEX(3) | LEVEL4_INITACT_...
oeis/283/A283716.asm
neoneye/loda-programs
11
53579
<reponame>neoneye/loda-programs<filename>oeis/283/A283716.asm ; A283716: Row n=3 of A283674. ; Submitted by <NAME>(s2.) ; 3,32,746,19748,531698,14349932,387424586,10460369588,282429602018,7625597747132,205891133143226,5559060570749828,150094635313776338,4052555153086085132,109418989131780794666,2954312706551907440468,7...
helloworld.asm
amypellegrini/assembly
0
53580
; nasm -f macho64 helloworld.asm && ld -L /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib -macosx_version_min 11.6.0 -no_pie -lSystem -o helloworld helloworld.o && ./helloworld global _main section .text _main: mov rax, 0x2000004 ; system call for write mov rdi, 1 ...
WS4_ASM/Task_5_v2.asm
OlegMalchenko/ACOS_WS_3
0
53581
# # Task 5 implementation, using branching instructions: # .data pleaser_x: .string "Please, input an integer x: " pleaser_y: .string "Please, input an integer y: " caller_min: .string " is the smallest integer among x and y" caller_max: .string " is the largest integer among x and y" .text main: li a7, 4 ...
programs/oeis/107/A107075.asm
neoneye/loda
0
53582
<filename>programs/oeis/107/A107075.asm ; A107075: Centered square numbers that are also centered pentagonal numbers. ; 1,181,58141,18721081,6028129801,1941039074701,625008553923781,201250813324382641,64802136881897286481,20866086825157601864101,6718815155563865902953901,2163437614004739663149291881,6966201928943706076...
programs/oeis/322/A322465.asm
neoneye/loda
22
53583
; A322465: Numbers on the 0-9-10-line in a spiral on an equilateral triangular lattice. ; 0,9,10,31,32,65,66,111,112,169,170,239,240,321,322,415,416,521,522,639,640,769,770,911,912,1065,1066,1231,1232,1409,1410,1599,1600,1801,1802,2015,2016,2241,2242,2479,2480,2729,2730,2991,2992,3265,3266,3551,3552,3849,3850,4159,4160...
programs/oeis/249/A249354.asm
karttu/loda
1
53585
<filename>programs/oeis/249/A249354.asm ; A249354: a(n) = n*(3*n^2 + 3*n + 1). ; 0,7,38,111,244,455,762,1183,1736,2439,3310,4367,5628,7111,8834,10815,13072,15623,18486,21679,25220,29127,33418,38111,43224,48775,54782,61263,68236,75719,83730,92287,101408,111111,121414,132335,143892,156103,168986 mul $0,3 add $0,1 pow $0...
programs/oeis/140/A140252.asm
neoneye/loda
22
53586
; A140252: Inverse binomial transform of A140420. ; 0,1,1,7,7,31,31,127,127,511,511,2047,2047,8191,8191,32767,32767,131071,131071,524287,524287,2097151,2097151,8388607,8388607,33554431,33554431,134217727,134217727,536870911,536870911,2147483647,2147483647,8589934591,8589934591,34359738367,34359738367,137438953471,13743...
base/mvdm/dos/v86/doskrnl/dos/srvcall.asm
npocmaka/Windows-Server-2003
17
53588
TITLE SRVCALL - Server DOS call NAME SRVCALL ; ; Microsoft Confidential ; Copyright (C) Microsoft Corporation 1991 ; All Rights Reserved. ; ;** SRVCALL.ASM - Server DOS call functions ; ; ; $ServerCall ; ; Modification history: ; ; Created: ARR 08 August 1983 ; SudeepB 07-Aug-1992 Ported F...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21227_899.asm
ljhsiun2/medusa
9
53590
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r15 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_WT_ht+0x6d97, %r10 nop nop xor %r13, %r13 mov $0x6162636465666768, %rbp movq %rbp, %xmm2 movups %xmm2, (%r10) nop nop nop and $55834, %r10 lea addresses_A_ht+0x19...
source/variable/variable/find.asm
paulscottrobson/6502-basic
3
53591
; ************************************************************************************************ ; ************************************************************************************************ ; ; Name: find.asm ; Purpose: Locate a variable ; Created: 1st March 2021 ; Reviewed: 9th March 2021 ; Author: <NA...
programs/oeis/260/A260006.asm
neoneye/loda
22
53593
; A260006: a(n) = f(1,n,n), where f is the Sudan function defined in A260002. ; 0,3,12,35,90,217,504,1143,2550,5621,12276,26611,57330,122865,262128,557039,1179630,2490349,5242860,11010027,23068650,48234473,100663272,209715175,436207590,905969637,1879048164,3892314083,8053063650,16642998241,34359738336,70866960351,14602...
MdePkg/Library/BaseLib/AArch64/GetInterruptsState.asm
mapaig/mu_basecore
100
53595
;------------------------------------------------------------------------------ ; ; GetInterruptState() function for AArch64 ; ; Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR> ; Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR> ; Portions copyright (c) 2011 - 2013, AR...
test.asm
dnaef/cs153
0
53596
<reponame>dnaef/cs153 _test: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" int main(int argc, char **argv) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6:...
oeis/097/A097043.asm
neoneye/loda-programs
11
53597
<reponame>neoneye/loda-programs ; A097043: a(n) = n - a(floor(sqrt(n))) for n > 1; a(1) = 1. ; Submitted by <NAME> ; 1,1,2,3,4,5,6,7,7,8,9,10,11,12,13,13,14,15,16,17,18,19,20,21,21,22,23,24,25,26,27,28,29,30,31,31,32,33,34,35,36,37,38,39,40,41,42,43,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,57,58,59,60,61,62,63,64,6...
programs/oeis/002/A002055.asm
jmorken/loda
1
53598
<gh_stars>1-10 ; A002055: Number of diagonal dissections of a convex n-gon into n-4 regions. ; 1,9,56,300,1485,7007,32032,143208,629850,2735810,11767536,50220040,212952285,898198875,3771484800,15775723920,65770848990,273420862110,1133802618000,4691140763400,19371432850770,79850555673174,328627887379776,1350540667070000...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_450.asm
ljhsiun2/medusa
9
53599
<reponame>ljhsiun2/medusa<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r13 push %r14 push %rax push %rbp push %rdi push %rdx push %rsi lea addresses_UC_ht+0xc642, %rdi nop nop nop inc %r13 mov (%rdi), %r14w nop nop nop nop nop cmp %rbp, %rbp lea addresses_UC_ht+0x7a9a, %rax nop nop cmp %rdx, %rdx mo...
libsrc/psg/tiki100/set_psg_callee.asm
teknoplop/z88dk
0
53600
; ; TIKI-100 specific routines ; by <NAME>, Fall 2015 ; ; int set_psg(int reg, int val); ; ; Play a sound by PSG ; ; ; $Id: set_psg_callee.asm,v 1.1 2015/09/25 14:56:02 stefano Exp $ ; PUBLIC set_psg_callee PUBLIC ASMDISP_SET_PSG_CALLEE set_psg_callee: pop hl pop de ex (sp),hl .asmentry ld bc,$...
Kernel/IDT/sysCallUtils/rtcAsm.asm
imanfredi/TP2-SO
0
53602
<filename>Kernel/IDT/sysCallUtils/rtcAsm.asm GLOBAL getTime section .text getTime: push rbp mov rbp,rsp mov rax, rdi out 70h,al in al,71h mov rsp,rbp pop rbp ret
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1825.asm
ljhsiun2/medusa
9
53603
<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1825.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1481d, %rsi lea addresses_WT_ht+0xbbac, %rdi nop nop inc %r15 mov ...
002-assembly/common-loop.asm
dingjingmaster/learn-kernel
0
53604
.text .global _main _main: xor %rax, %rax mov $5, %rcx myLoop: inc %rax loop myLoop mov $60, %rax xor %rdi, %rdi syscall .end
Transynther/x86/_processed/AVXALIGN/_ht_st_zr_/i3-7100_9_0x84_notsx.log_18901_2026.asm
ljhsiun2/medusa
9
53605
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1319b, %rbp and %rbx, %rbx movb $0x61, (%rbp) nop nop and %r12, %r12 lea addresses_WT_ht+0x14a9b, %r10 nop xor $40717, %r9 movl $0x61626364, (%r1...
cards/bn6/ModCards/137-B019 Skarab.asm
RockmanEXEZone/MMBN-Mod-Card-Kit
10
53606
<gh_stars>1-10 .include "defaults_mod.asm" table_file_jp equ "exe6-utf8.tbl" table_file_en equ "bn6-utf8.tbl" game_code_len equ 3 game_code equ 0x4252354A // BR5J game_code_2 equ 0x42523545 // BR5E game_code_3 equ 0x42523550 // BR5P card_type equ 1 card_id equ 72 card_no equ "072" card_sub equ "Mod Card 0...
savefile/maps/0734_Crossroads.asm
stranck/fools2018-1
35
53607
<reponame>stranck/fools2018-1 SECTION "Map_0734", ROM0[$B800] Map_0734_Header: hdr_tileset 0 hdr_dimensions 7, 7 hdr_pointers_a Map_0734_Blocks, Map_0734_TextPointers hdr_pointers_b Map_0734_Script, Map_0734_Objects hdr_pointers_c Map_0734_InitScript, Map_0734_RAMScript ...
libsrc/_DEVELOPMENT/arch/sms/misc/z80/asm_sms_tiles_put_area.asm
jpoikela/z88dk
640
53608
; void sms_tiles_put_area(struct r_Rect8 *r, void *src) ; ; Copy tile contents stored in memory to a rectangular area in vram SECTION code_clib SECTION code_arch PUBLIC asm_sms_tiles_put_area EXTERN asm_sms_cxy2saddr, asm_sms_memcpy_mem_to_vram asm_sms_tiles_put_area: ; enter : de = void *src ; ix = ...
mips-programing/hexmain.asm
evansaboo/micro-processor-programming
1
53609
# hexmain.asm # Written 2015-09-04 by <NAME> # Copyright abandonded - this file is in the public domain. .text main: li $a0,19 # change this to test different values jal hexasc # call hexasc nop # delay slot filler (just in case) move $a0,$v0 # copy return value to argument register li $v0,11 # ...
libsrc/spectrum/diagnostic/zx_floatingbus.asm
meesokim/z88dk
0
53610
; ; ZX Spectrum specific routines ; by <NAME>, 12/02/2008 ; ; int zx_floatingbus(); ; ; The result is: ; - 1 (true) if Spectrum has floating bus ; - 0 (false) otherwise ; ; $Id: zx_floatingbus.asm,v 1.2 2015/01/19 01:33:08 pauloscustodio Exp $ ; PUBLIC zx_floatingbus zx_floatingbus: ld hl,1 ld e,h ld bc,32767 lo...
player_int.asm
ktuukkan/spectrum
1
53611
<gh_stars>1-10 include loader.asm init call PTxPlay ret interrupt call PTxPlay+5 ei ret ; Loop until space is pressed main halt ld a,$7f in a,($fe) rra jr c,main ret clean call PTxPlay+8 ret org $c000 PTxPlay incbin PTxPlay incbin cycler.pt3 end loader