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
Memory_Exploits/Assembly/get_shell.asm
hacky1997/My-Gray-Hacker-Resources
14
208853
;Universal Shellcode for Unix/Linux section .text ; Text section global _start ; Define _start function _start: ; _start function xor eax, eax ; Zero out eax REGister xor ebx, ebx ; Zero out ebx REGister xor ecx, ecx ; Zero out ecx REGister cdq ...
test.asm
bsiefers/hexdecimal_to_cortex_M0_assembly
0
208854
<reponame>bsiefers/hexdecimal_to_cortex_M0_assembly<filename>test.asm .text .syntax unified .thumb ands r0,r1 eors r0,r2 lsls r0,r3 lsrs r0,r4 adds r0,r1,r2 ands r5, r0 eors r5, r0 lsls r5, r0 lsrs r5, r0 asrs r5, r0 adcs r5, r0 sbcs r5, r0 rors r5, r0 tst r5, r0 ...
gfx/pokemon/ampharos/anim.asm
Dev727/ancientplatinum
28
208855
frame 1, 10 frame 2, 08 setrepeat 7 frame 2, 02 frame 3, 02 dorepeat 3 frame 1, 06 frame 4, 06 endanim
Aurora/Aurora/x64/Debug/proc.asm
manaskamal/aurora-xeneva
8
208857
<reponame>manaskamal/aurora-xeneva<filename>Aurora/Aurora/x64/Debug/proc.asm ; Listing generated by Microsoft (R) Optimizing Compiler Version 17.00.50727.1 include listing.inc INCLUDELIB LIBCMT INCLUDELIB OLDNAMES PUBLIC ?process_head@@3PEAU_process_@@EA ; process_head PUBLIC ?process_last@@3PEAU_process_@@EA ; p...
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0x84_notsx.log_88_1497.asm
ljhsiun2/medusa
9
208859
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r14 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_WT_ht+0x19c1c, %rsi lea addresses_D_ht+0x1059c, %rdi nop nop nop nop xor %rax, %rax mov $59, %rcx rep movsl nop nop nop nop nop sub $4002, %rsi lea addresses_WC_ht+0xe39c, %r8 cl...
tests/beep.asm
davidknoll/80c188-bios
2
208860
; Beep, call/return, UART bus test program for David's new 80C188 ; Assemble with: ; nasm -o beep.hex -f ith -l beep.lst beep.asm [list -] %include "include/ioports.inc" %include "include/sndmacro.inc" [list +] ; section .text start=10000h, vstart=0f0000h section .text start=0100h begin: ou...
tests/testsuite-2.15/ascii-src/mmu.asm
meesokim/chips-test
330
208861
<filename>tests/testsuite-2.15/ascii-src/mmu.asm *= $0801 .byte $4c,$14,$08,$00,$97 turboass = 780 .text "780" .byte $2c,$30,$3a,$9e,$32,$30 .byte $37,$33,$00,$00,$00 lda #1 sta turboass jmp main pconfig = 172;173 data ...
programs/oeis/224/A224710.asm
karttu/loda
0
208862
; A224710: The number of unordered partitions {a,b} of 2n-1 such that a and b are composite. ; 0,0,0,0,0,0,1,1,1,2,2,2,3,3,4,5,5,5,6,7,7,8,8,8,9,9,10,11,11,12,13,13,13,14,15,15,16,16,16,17,18,18,19,19,20,21,21,22,23,24,24,25,25,25,26,26,26,27,27,28,29,30,31,32,33,33,34,34,35,36,36,36,37,38,39,40,40,40,41,42,42,43,44,44...
Transynther/x86/_processed/AVXALIGN/_zr_/i7-7700_9_0x48.log_21829_1429.asm
ljhsiun2/medusa
9
208863
.global s_prepare_buffers s_prepare_buffers: push %r8 push %rax push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x15b39, %rsi lea addresses_D_ht+0xd489, %rdi clflush (%rdi) add %r8, %r8 mov $54, %rcx rep movsb nop dec %rbx lea addresses_UC_ht+0x12e39, %r8 nop nop nop nop nop xor %rax, %rax vmovups (%r8), %ym...
v0.2/Source/shell.asm
sjmeunier/cros
0
208864
<reponame>sjmeunier/cros ;----------------------------------------------------- ;CrOs v0.02 ;<NAME> ; ;CrOS shell routines ;----------------------------------------------------- ; ;----------------------------------------------------- ;Start up the shell and go into infinite loop ;I: none ;O: none ;--------------...
src/native/third_party/isa-l_crypto/sha512_mb/sha512_mb_x2_sse.asm
guptsanj/noobaa-core
0
208865
<gh_stars>0 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Copyright(c) 2011-2016 Intel Corporation All rights reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions ; are met: ; * Redistrib...
oeis/050/A050915.asm
neoneye/loda-programs
11
208866
<gh_stars>10-100 ; A050915: a(n) = n*4^n + 1. ; 1,5,33,193,1025,5121,24577,114689,524289,2359297,10485761,46137345,201326593,872415233,3758096385,16106127361,68719476737,292057776129,1236950581249,5222680231937,21990232555521,92358976733185,387028092977153,1618481116086273,6755399441055745,28147497671065601,11709359031...
Source/HDIAG/util.asm
b1ackmai1er/RomWBW
1
208867
; ;======================================================================= ; HDIAG Utility Functions ;======================================================================= ; ; Print string at HL on console, null terminated. ; HL and AF are trashed. ; prtstr: ld a,(hl) ; get next character or a ; set f...
exercises/exercise4/test5-3.asm
Dark15/assembly
1
208868
mov ax, 0xb800 mov es, ax mov bx, 1 mov cx, 100 and ax, 0 calc: mov dx, bx add ax, dx inc bx loop calc mov bx, 10 mov cx, 4 mov di, 8 print: and dx, 0 div bx sub di, 2 add dl, 0x30 mov es:[di], dl mov byte es:[di + 1], 0x04 loop print jmp short $ times 510 - ($ - $$) db 0 dw 0xAA55
oeis/299/A299916.asm
neoneye/loda-programs
11
208869
; A299916: a(n) = A299914(2n+1). ; Submitted by <NAME> ; 1,6,42,306,2250,16578,122202,900882,6641514,48963042,360969210,2661166386,19618866954,144635805954,1066295850138,7861032979794,57953746616490,427251323790882,3149816954720058,23221336706989938,171194226906268746,1262092001672539458,9304497292177630170,68595371609...
data/pokemon/dex_entries/huntail.asm
AtmaBuster/pokeplat-gen2
6
208870
db "DEEP SEA@" ; species name db "It lives deep in" next "the pitch-dark" next "sea. It attracts" page "prey by moving its" next "tail in mimicry of" next "a small #MON.@"
oeis/004/A004207.asm
neoneye/loda-programs
11
208871
<reponame>neoneye/loda-programs ; A004207: a(0) = 1, a(n) = sum of digits of all previous terms. ; Submitted by <NAME> ; 1,1,2,4,8,16,23,28,38,49,62,70,77,91,101,103,107,115,122,127,137,148,161,169,185,199,218,229,242,250,257,271,281,292,305,313,320,325,335,346,359,376,392,406,416,427,440,448,464,478,497,517,530,538,55...
newTypes/Color.asm
jaredwhitney/os3
5
208872
<reponame>jaredwhitney/os3<filename>newTypes/Color.asm Color_type equ 0x00 Color_data equ 0x04 Color.TYPE_DWORD_RGB equ 1 Color.TYPE_WORD_RGB equ 2 Color.TYPE_BYTE_RGB equ 3 Color.TYPE_BYTE_GRAYSCALE equ 4 Color.TYPE_DWORD_HSV equ 5
oeis/196/A196738.asm
neoneye/loda-programs
11
208873
<reponame>neoneye/loda-programs ; A196738: n! - n^8 ; 1,0,-254,-6555,-65512,-390505,-1678896,-5759761,-16736896,-42683841,-96371200,-174442081,49019904,5411290079,85702502144,1305111477375,20918494920704,355680452338559,6402362685767424,121645083425268959,2432901982576640000,51090942133886580639,1124000727722731806464,...
programs/oeis/137/A137208.asm
karttu/loda
0
208874
<reponame>karttu/loda ; A137208: a(n) = a(n-1) + 4*a(n-2) - 4*a(n-3) for n > 2; a(0)=2, a(1)=3, a(2)=6. ; 2,3,6,10,22,38,86,150,342,598,1366,2390,5462,9558,21846,38230,87382,152918,349526,611670,1398102,2446678,5592406,9786710,22369622,39146838,89478486,156587350,357913942,626349398,1431655766,2505397590,5726623062,100...
src/unison/test/fast/ARM/size/gobmk.patterns.autohelperpat301.asm
Patstrom/disUnison
88
208875
<reponame>Patstrom/disUnison<filename>src/unison/test/fast/ARM/size/gobmk.patterns.autohelperpat301.asm .text .syntax unified .eabi_attribute 67, "2.09" @ Tag_conformance .cpu arm1156t2f-s .eabi_attribute 6, 8 @ Tag_CPU_arch .eabi_attribute 8, 1 @ Tag_ARM_ISA_use .eabi_attribute 9, 2 @ Tag_THUMB_ISA_use .fpu vf...
source/basic/basic.asm
skwirl42/robco-processor
0
208876
<reponame>skwirl42/robco-processor<filename>source/basic/basic.asm ; Main entry point for RobCo BASIC .include "syscall.asm" .data PROMPT "OK\n" .reserve INPUT_BUFFER 256 .defbyte cr 0x0D .defword INPUT_BUFFER_SIZE 256 start: syscall CLEAR pu...
libsrc/stdio/fputs.asm
Toysoft/z88dk
0
208877
; CALLER linkage for function pointers MODULE fputs SECTION code_clib PUBLIC fputs EXTERN asm_fputs_callee .fputs pop bc ;ret pop hl ;fp pop de ;s push de push hl push bc push ix ; callers ix push hl pop ix call asm_fputs_callee pop ix ret
stage23/protos/stivale2_rt.asm
ArsenArsen/limine
658
208878
<reponame>ArsenArsen/limine<gh_stars>100-1000 section .bss user_stack: resq 1 user_cs: resq 1 user_ds: resq 1 user_es: resq 1 user_ss: resq 1 section .text extern term_write extern stivale2_rt_stack extern stivale2_term_callback_ptr global stivale2_term_callback stivale2_term_callback: bits 32 push ebp ...
Library/Kernel/DBase/dbaseItemBlock.asm
steakknife/pcgeos
504
208879
<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1989 -- All Rights Reserved PROJECT: PC GEOS MODULE: Database manager. FILE: Utils.asm AUTHOR: <NAME>, July 19, 1989 ROUTINES: Name Description ---- ----------- DBItemBloc...
fasmcpp.win32.asm
LHLaurini/fasmcpp
4
208881
format MS COFF a=1 public a as "@feat.00" section '.text' code readable executable public assemble as "__assemble@16" public run as "__run@4" public input_filename as "__input_filename" public output_filename as "__output_filename" extrn '_fasmError@8' as fasmError:DWORD extrn '_fasmOpen@8' as fasmOpen:DWOR...
Tools/swat/Stub32/com.asm
steakknife/pcgeos
504
208882
<reponame>steakknife/pcgeos<gh_stars>100-1000 COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PROJECT: PC GEOS MODULE: Swat -- Debugging stub: handle a com port FILE: com.asm AUTHOR: <NAME>, November 17, 1988 ROUTINES: Name Description ---- ----------- Com_Init Initializes the ...
oeis/120/A120615.asm
neoneye/loda-programs
11
208883
<reponame>neoneye/loda-programs ; A120615: a(n) = Sum_{k=0..n} floor(phi*floor(n/phi)) where phi = (1+sqrt(5))/2. ; Submitted by <NAME> ; 0,1,2,5,9,13,19,25,33,42,51,62,74,86,100,114,130,147,164,183,202,223,245,267,291,316,341,368,395,424,454,484,516,549,582,617,652,689,727,765,805,845,887,930,973,1018,1064,1110,1158,1...
Materials/Console_IO/Console_Output_NASM_32.asm
chen150182055/Assembly
272
208884
; Console Output ; Materials - NASM (32-bit) ; Copyright (c) 2017 Hall & Slonka ; Uses system call information from Chapter 10 SECTION .data s1: DB "Hello Universe", 10, 0 lenS1: EQU ($ - s1) SECTION .text global _main _main: print: mov eax, 4 ; syswrite mov ebx, 1 ; stdout mov ecx, s1 ; starting addr...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_1590.asm
ljhsiun2/medusa
9
208885
<gh_stars>1-10 .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_D_ht+0x8798, %rsi lea addresses_WT_ht+0x18d31, %rdi clflush (%rsi) nop nop nop and $41874, %r13 mov $7, %rcx rep movsw nop nop xor $23961, %r8 lea addresses_A_ht+0x97c...
P6/data_P6/testpoint/testpoint59.asm
alxzzhou/BUAA_CO_2020
1
208886
<reponame>alxzzhou/BUAA_CO_2020<filename>P6/data_P6/testpoint/testpoint59.asm ori $1, $0, 8 ori $2, $0, 14 ori $3, $0, 11 ori $4, $0, 10 sw $2, 0($0) sw $1, 4($0) sw $1, 8($0) sw $3, 12($0) sw $3, 16($0) sw $3, 20($0) sw $3, 24($0) sw $2, 28($0) sw $2, 32($0) sw $3, 36($0) sw $3, 40($0) sw $2, 44($0) sw...
oeis/175/A175430.asm
neoneye/loda-programs
11
208887
; A175430: a(n) = (n-1)! * (n+1)!. ; Submitted by <NAME>(s1.) ; 2,6,48,720,17280,604800,29030400,1828915200,146313216000,14485008384000,1738201006080000,248562743869440000,41758540970065920000,8142915489162854400000,1824013069572479385600000,465123332740982243328000000,133955519829402886078464000000,4326763290489713220...
int_sum.asm
siraben/awk-vm
8
208888
# from The AWK Programming Language book # print sum of input numbers (terminated by zero) ld zero # initialize sum to zero st sum loop get # read a number jz done # no more input if number is zero add sum # add in accumulated sum st sum # store new value back...
programs/oeis/147/A147596.asm
karttu/loda
0
208889
<gh_stars>0 ; A147596: a(n) is the number whose binary representation is A138145(n). ; 1,3,7,15,31,63,119,231,455,903,1799,3591,7175,14343,28679,57351,114695,229383,458759,917511,1835015,3670023,7340039,14680071,29360135,58720263,117440519,234881031,469762055,939524103,1879048199,3758096391 mov $1,2 pow $1,$0 mov $3,3...
hw5/ConnerWulf_HW5/Q1.asm
sawyermade/architecture
16
208890
<filename>hw5/ConnerWulf_HW5/Q1.asm .data input_integerx: .asciiz "\nEnter input x: " input_integery: .asciiz "\nEnter input y: " repeat: .asciiz "\nEnter 0 to repeat:" .text main: #Start li $v0, 4 # Loads integer 4 la $a0, input_integerx # load address for integer x syscall # calls system li $v0, 5 # loads ...
oeis/122/A122789.asm
neoneye/loda-programs
11
208891
<reponame>neoneye/loda-programs<filename>oeis/122/A122789.asm ; A122789: The (1,4)-entry in the matrix M^n, where M is the 4 X 4 matrix {{0, -1, -1, 1}, {1, -1, 0, 0}, {0, 1, 1, 0}, {0, 0, 1, 1 }}. ; Submitted by <NAME> ; 0,1,1,0,0,1,2,2,2,3,5,7,9,12,17,24,33,45,62,86,119,164,226,312,431,595,821,1133,1564,2159,2980,411...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_1726.asm
ljhsiun2/medusa
9
208892
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r15 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0xaf65, %rsi lea addresses_D_ht+0x138dd, %rdi nop nop nop xor $20016, %r10 mov $28, %rcx rep movsq nop nop nop dec %rbp lea addresses_normal_ht+0x1b15d, %r15 clflush (%r15...
c2000/C2000Ware_1_00_06_00/device_support/f2806x/examples/c28/cla_adc_fir_flash/CLA_FIR.asm
ramok/Themis_ForHPSDR
0
208893
<reponame>ramok/Themis_ForHPSDR<gh_stars>0 ;// Include variables and constants that will be shared in the ;// C28x C-code and CLA assembly code. This is accomplished by ;// using .cdecls to include a C-code header file that contains ;// these variables and constants .cdecls C,LIST,"CLAShared.h" ;// To inclu...
online/online.asm
a2geek/basic-system-cmd
3
208894
; ; online.asm ; ; Copyright (c) 2015 <NAME> ; .PC02 ; Enable 65C02 instructions .include "../include/basic-system.inc" .include "../include/monitor.inc" .include "../include/asciih.inc" .include "../include/prodos.inc" ; Setup the installer code ... .define CMDNAME "ONLINE" .define HOOKADDR nextcmd .i...
kernel/gui/gdi.asm
leonardoruilova/xos
1
208895
;; xOS32 ;; Copyright (C) 2016-2017 by <NAME>. use32 ; xOS GDI -- An internal graphics library used by the xOS Kernel ; Should be easy to port to other systems is_redraw_enabled db 1 align 4 text_background dd 0x000000 text_foreground dd 0xFFFFFF system_font dd font current_buffer db 0 ; 0 if the system i...
src/kernel.asm
FranchuFranchu/fran-os
1
208896
<filename>src/kernel.asm ; Memory map for FranOS ; - 0x00000000 to 0xC0000000 : ; - userspace processes ; - 0xC0000000 to 0xFFFFFFFF : ; - kernel section .text BITS 32 %define da dd %define resa resd %define MULTIBOOT_SIZE 16 %define BASE_OF_SECTION 0;0x100000 + MULTIBOOT_SIZE %define KERNEL_BASE 0xC000000...
SMW Credits Warp Helper.asm
CodyWalker/CreditsWarpHelper
5
208897
<filename>SMW Credits Warp Helper.asm<gh_stars>1-10 header lorom ;Prevent the leading zero routine from doing anything ORG $008EE5 NOP #2 ;Set up a NOP sled so I don't have to do math ORG $008EC6 NOP #37 NOP #4 ORG $008EC6 JSR $9012 ;Jump to our code and get the first two X's LDX #$06 ...
oeis/231/A231482.asm
neoneye/loda-programs
11
208898
<filename>oeis/231/A231482.asm ; A231482: The number of nonlinear normal modes for a fully resonant Hamiltonian system with n degrees of freedom. ; Submitted by <NAME> ; 1,6,39,284,2205,17730,145635,1213560,10218105,86717630,740526303,6355522068,54771976597,473667151482,4108390253595,35725327438320,311346430241265,2718...
oeis/070/A070302.asm
neoneye/loda-programs
11
208899
; A070302: Number of 3 X 3 X 3 magic cubes with sum 3n. ; 1,19,121,439,1171,2581,4999,8821,14509,22591,33661,48379,67471,91729,122011,159241,204409,258571,322849,398431,486571,588589,705871,839869,992101,1164151,1357669,1574371,1816039,2084521,2381731,2709649,3070321,3465859,3898441,4370311,4883779,5441221,6045079,6697...
src/public/src/FM7/util/6809lib/rs232c_send.asm
rothberg-cmu/rothberg-run
1
208900
<reponame>rothberg-cmu/rothberg-run EXPORT RS232C_SEND_BUFFER_BEGIN EXPORT RS232C_SEND_BUFFER_SIZE EXPORT RS232C_SEND_ASCIIDUMP_BYTEPERLINE EXPORT RS232C_SEND_ASCII EXPORT RS232C_SEND_BINARY EXPORT RS232C_SEND_CRLF EXPORT RS232C_SEND_WORD_ASCII_DATA EXPORT RS232C_SEND_WORD_ASCII...
Homework4/Listing42Assembly/main.asm
ccannon94/ncat-ecen421-repository
0
208903
.text .align 2 .global main main: ;Arithmetic operation instructions MOV R0, #09h; R0 = 0x09 MOV R1, #11d; R1 = 0x0B MOV R2, #00001010b; R1 = 0x0A ADD R3, R0, R1; R3 = R0 + R1 = 0x14 SUB R4, R2, #0002h; R4 = R2 - 0x02 = 0x08 MOV R5, R2; R5 = R2 MUL R5, R0; R5 = R5 * R0 = 0x5A SDIV R6, R5, R1; R6 - R5 / R...
game/data/menu_config/anims.asm
sgadrat/super-tilt-bro
91
208904
MENU_CONFIG_ANIMS_BANK_NUMBER = CURRENT_BANK_NUMBER menu_config_anim_cursor: ; Frame 1 ANIM_FRAME_BEGIN(8) ANIM_SPRITE($fe, TILE_MENU_CONFIG_SPRITES_CORNER, $00, $fd) ANIM_SPRITE($fe, TILE_MENU_CONFIG_SPRITES_CORNER, $40, $42) ANIM_SPRITE($0a, TILE_MENU_CONFIG_SPRITES_CORNER, $80, $fd) ANIM_SPRITE($0a, TILE_MENU_CONFI...
code/9/3.asm
GeekHades1/AssemblyCode
1
208905
; 检测点 9.1 1 assume cs:code data segment dw 0 data ends code segment start: mov ax, data mov ds, ax mov bx, 0 jmp word ptr [bx+1] mov ax, 4c00H int 21H code ends end start
src/mods/multi_engineer_ignore_neutral.asm
mvdhout1992/ts-patches
33
208906
<filename>src/mods/multi_engineer_ignore_neutral.asm<gh_stars>10-100 %include "macros/patch.inc" %include "macros/datatypes.inc" %include "TiberianSun.inc" ; Hack for capturing Neutral house structures as normal even with Multi Engineer enabled ; Also makes Multi Engineer work in singleplayer missions, as it's origina...
week_04/mult/Mult.asm
DaviNakamuraCardoso/nand2tetris
0
208907
// This file is part of www.nand2tetris.org // and the book "The Elements of Computing Systems" // by <NAME> Schocken, MIT Press. // File name: projects/04/Mult.asm // Multiplies R0 and R1 and stores the result in R2. // (R0, R1, R2 refer to RAM[0], RAM[1], and RAM[2], respectively.) // // This program only ne...
uuu/src/apps/med/med.asm
ekscrypto/Unununium
7
208908
<reponame>ekscrypto/Unununium ; ; mony editor (med) for Unununium OE ; ; by <NAME> (jmony) - <EMAIL>, 2002 ; ; Revision 0.1.0 - Restarted ; Todo: Add the code for the key handling, load/save and clipboard. In fact, do ; the editor. :P ; ; Was restarted... better architecture ;) ; ...
unittests/ASM/X87/D9_F7.asm
cobalt2727/FEX
628
208909
%ifdef CONFIG { "RegData": { "MM0": ["0x8000000000000000", "0x4007"], "MM1": ["0x8000000000000000", "0x4006"], "MM2": ["0x8000000000000000", "0x4005"], "MM3": ["0x8000000000000000", "0x4004"], "MM4": ["0x8000000000000000", "0x4003"], "MM5": ["0x8000000000000000", "0x4002"], "MM6": [...
processor/soft_sim/test/programs/bigger_test/bigger.asm
PICOVERAVR/Fives
0
208910
.name bigger.asm RESET: BN org INT_0: BN int .org 0x100 org: // has to be aligned to 2-byte boundary LD 0xfff0, BP MOV BP, SP LD 100, R1 LD 2, R2 .loop 0x110 loop: MOV PC, R4 // s0 s1 ld hd MULU R1, R2, R3, R5 SUBU 1, R1, R1 BNE R1, R0, R4 .isr 0x140 // not implemented isr: IO R1, 0xbeef RET
ASS5/taylor_e^x (q8).asm
rahulkumawat1/NASM
0
208911
section .data msg1 : db 'Enter the value of x: ',10 l1 : equ $-msg1 msg2 : db 'e^x value by calc: ',10 l2 : equ $-msg2 formate1 : db "%lf",0 formate2 : db "%lf",10 section .bss x : resq 1 temp : resq 1 ans : resq 1 i : resd 1 n : resd 1 section .text global main extern scanf extern printf main: ...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_21829_1087.asm
ljhsiun2/medusa
9
208912
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r12 push %r8 push %rcx push %rdi push %rsi lea addresses_D_ht+0x452a, %rsi lea addresses_WT_ht+0x1dc6a, %rdi nop nop nop nop nop cmp $6808, %r10 mov $7, %rcx rep movsb nop nop nop dec %r12 lea addresses_WT_ht+0x1a3ea, %rsi nop cmp %rcx, %rcx mov $0x...
Lab 1/prtlow.asm
AndrewDichabeng/Computer-Systems-Foundations
0
208913
<reponame>AndrewDichabeng/Computer-Systems-Foundations ; SYSC2001 Lab1 ; Note that the assembler ignores anything that follows a semicolon ; This is how we add comment lines and comments to lines of code ; It is very good practice to document your programs well. Place ; comments at the beginning to explain the p...
programs/oeis/227/A227776.asm
karttu/loda
1
208914
<reponame>karttu/loda<filename>programs/oeis/227/A227776.asm ; A227776: a(n) = 6*n^2 + 1. ; 7,25,55,97,151,217,295,385,487,601,727,865,1015,1177,1351,1537,1735,1945,2167,2401,2647,2905,3175,3457,3751,4057,4375,4705,5047,5401,5767,6145,6535,6937,7351,7777,8215,8665,9127,9601,10087,10585,11095,11617,12151,12697,13255,138...
oeis/213/A213547.asm
neoneye/loda-programs
11
208916
<reponame>neoneye/loda-programs ; A213547: Antidiagonal sums of the convolution array A213505. ; 1,12,68,260,777,1960,4368,8856,16665,29524,49764,80444,125489,189840,279616,402288,566865,784092,1066660,1429428,1889657,2467256,3185040,4069000,5148585,6456996,8031492,9913708,12149985,14791712,17895680,21524448,25746721,3...
oeis/185/A185647.asm
neoneye/loda-programs
11
208917
<filename>oeis/185/A185647.asm ; A185647: Expansion of (1+2x)*(1+2*x^2)/((1-x)*(1+x)*(1-2*x^2)). ; Submitted by <NAME> ; 1,2,5,10,13,26,29,58,61,122,125,250,253,506,509,1018,1021,2042,2045,4090,4093,8186,8189,16378,16381,32762,32765,65530,65533,131066,131069,262138,262141,524282,524285,1048570,1048573,2097146,2097149,4...
Appl/Art/Decks/GeoDeck/LCClub3.asm
steakknife/pcgeos
504
208918
LCClub3 label byte word C_BLACK Bitmap <71,100,BMC_PACKBITS,BMF_MONO> db 0xf8, 0x00 db 0xf8, 0x00 db 0xf8, 0x00 db 0xf8, 0x00 db 0x01, 0x0f, 0xf8, 0xfa, 0x00 db 0x01, 0x0f, 0xf8, 0xfa, 0x00 db 0x01, 0x0c, 0x38, 0xfa, 0x00 db 0x01, 0x0c, 0x70, 0xfa, 0x00 db 0x01, 0x00, 0xe0, 0xfa, 0x00 db 0x01, 0...
tools/famibox/famiboxHeader-example.asm
freem/nes_corelib
16
208919
; FamicomBox ROM Header ; Source: http://problemkaputt.de/everynes.htm#famicomboxromheaderatffe0h ; starts at $FFE0 ; Game Title (ASCII, right-justified) [16 chars] .db " GAME NAME HERE" ; PRG-ROM Checksum (ALL bytes or only last 16KBytes) [2 bytes] .ifdef _WITHOUT_HEADER ; PRG-only build (put dummy values here) ...
books_and_notes/professional_courses/Assembly_language_and_programming/sources/汇编语言程序设计教程第四版/codes/5_1.asm
gxw1/review_the_national_post-graduate_entrance_examination
640
208920
DATA SEGMENT X1 DW 28H X2 DW 38H X3 DW 48H Y DW ? DATA ENDS CODE SEGMENT ASSUME CS:CODE,DS:DATA START: MOV AX,DATA MOV DS,AX MOV AX,X1 ADD AX,X2 ADD AX,X3 MOV Y,AX MOV AH,4CH INT 21H CODE ...
programs/oeis/204/A204423.asm
karttu/loda
0
208921
<gh_stars>0 ; A204423: Infinite matrix: f(i,j)=(2i+j mod 3), by antidiagonals. ; 0,1,2,2,0,1,0,1,2,0,1,2,0,1,2,2,0,1,2,0,1,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,2,0,1,2,0,1,2,0,1,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,2,0,1,2,0,1,2,0,1,2,0,1,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2,0,1,2 cal $0,204259 ; Matrix given by f(i,j) =...
GIOVANNI/gambatte/test/hwtests/scx_during_m3/scx_m3_extend_ds_2_cgb04c_out0.asm
ReallyEvilFish/1234
9
208922
.size 8000 .text@49 jp lstatint .text@100 jp lbegin .data@143 c0 .text@150 lbegin: ld a, 00 ldff(ff), a ld a, 30 ldff(00), a ld a, 01 ldff(4d), a stop, 00 ld b, 90 call lwaitly_b ld a, 11 ldff(40), a ld hl, 8000 ld b, 08 lbegin_settile0data: ld a, 00 ld(hl++), a ld a, 7e ld(hl++), a dec b jrnz...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_848.asm
ljhsiun2/medusa
9
208923
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1c1ce, %rsi lea addresses_WT_ht+0x844e, %rdi nop nop nop nop add %r9, %r9 mov $94, %rcx rep movsq nop nop nop nop cmp $15751, %rbp lea addresses_normal_ht+0x7...
apps/breakfast/pde_fw/toast/examples/Assembly (CCE)/msp430x24x_ta_03.asm
tp-freeforall/breakfast
1
208924
<reponame>tp-freeforall/breakfast ;****************************************************************************** ; MSP430x24x Demo - Timer_A, Toggle F249, Overflow ISR, DCO SMCLK ; ; Description: This program toggles F249 using software and the Timer_A ; overflow ISR. In this example an ISR triggers when TA ...
src/bootloader/stage1.asm
DreamPearl/FuzzyOS
10
208925
<reponame>DreamPearl/FuzzyOS ; Fuzzy Bootloader Stage 1 ; Assumptions: ; - Stage 2 starts from Sector 1 to Sector 1 ; - Stage 2 has ORG 0x8000 %include "constants.asm" %include "io.asm" %include "disk.asm" [ORG 0x7C00] [BITS 16] [SECTION .text] CLI MOV ax, 0x0000 MOV es, ax ...
src/firmware/Platform/Lcd/PutScreenFromFlash.asm
pete-restall/Cluck2Sesame-Prototype
1
208926
<reponame>pete-restall/Cluck2Sesame-Prototype<gh_stars>1-10 #include "Platform.inc" #include "FarCalls.inc" #include "Flash.inc" #include "Lcd.inc" #include "States.inc" radix decimal LCD_LINE_SIZE equ 16 LCD_SCREEN_SIZE equ 2 * LCD_LINE_SIZE extern isLcdIdle Lcd code global putScreenFromFlash putScreenFro...
asg/asm/rdmap.asm
asgkafka/librdkafka
0
208927
*PROCESS DUPALIAS * * Compiled by DCC Version 2.25.07 Mar 6 2021 08:51:07 * on Fri Apr 30 15:36:19 2021 * WXTRN @@ZARCH# * * * * Code Section * @CODE ALIAS C'@RDMAP' @CODE CSECT @CODE AMODE ANY @CODE RMODE ANY @DATA ALIAS C'@rdmap' fprintf ALIAS C'fprintf' EXTRN fprintf...
oeis/052/A052571.asm
neoneye/loda-programs
11
208928
; A052571: E.g.f. x^3/(1-x)^2. ; 0,0,0,6,48,360,2880,25200,241920,2540160,29030400,359251200,4790016000,68497228800,1046139494400,16999766784000,292919058432000,5335311421440000,102437979291648000,2067966706950144000,43792236147179520000,970727901262479360000,22480014555552153600000,542892351516584509440000,13649864838...
oeis/277/A277228.asm
neoneye/loda-programs
11
208929
<filename>oeis/277/A277228.asm ; A277228: Convolution of the even-indexed triangular numbers (A014105) and the squares (A000290). ; 0,0,3,22,88,258,623,1316,2520,4476,7491,11946,18304,27118,39039,54824,75344,101592,134691,175902,226632,288442,363055,452364,558440,683540,830115,1000818,1198512,1426278,1687423,1985488,23...
libsrc/msx/gen_setwrt.asm
Toysoft/z88dk
0
208930
; ; z88dk library: Generic VDP support code ; ; $Id: gen_setwrt.asm,v 1.3 2016-06-16 19:30:25 dom Exp $ ; SECTION code_clib PUBLIC SETWRT PUBLIC _SETWRT EXTERN l_push_di EXTERN l_pop_ei INCLUDE "msx/vdp.inc" ;============================================================== ; VRAM to HL ;=================...
oeis/010/A010846.asm
neoneye/loda-programs
11
208931
<gh_stars>10-100 ; A010846: Number of numbers <= n whose set of prime factors is a subset of the set of prime factors of n. ; Submitted by <NAME> ; 1,2,2,3,2,5,2,4,3,6,2,8,2,6,5,5,2,10,2,8,5,7,2,11,3,7,4,8,2,18,2,6,6,8,5,14,2,8,6,11,2,19,2,9,8,8,2,15,3,12,6,9,2,16,5,11,6,8,2,26,2,8,8,7,5,22,2,10,6,20,2,18,2,9,9,10,5,23...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_604.asm
ljhsiun2/medusa
9
208932
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r15 push %r8 push %rax push %rbp push %rcx push %rsi // Faulty Load lea addresses_D+0x1d3a2, %r8 clflush (%r8) nop nop nop nop dec %rbp mov (%r8), %r15d lea oracles, %rbp and $0xff, %r15 shlq $12, %r15 mov (...
solutions/28-three sort/unrolled mergesort - bad.asm
Ernesto-Alvarez/HRM-Puzzles
0
208933
-- HUMAN RESOURCE MACHINE PROGRAM -- a: b: c: COMMENT 0 INBOX COPYTO 0 COPYTO 1 COMMENT 1 INBOX SUB 0 JUMPN d ADD 0 COPYTO 1 JUMP e d: ADD 0 COPYTO 0 e: COMMENT 2 INBOX COPYTO 6 COMMENT 3 SUB 0 ...
main64/boot/disk.asm
KlausAschenbrenner/KAOS
1
208934
<reponame>KlausAschenbrenner/KAOS ;************************************************; ; Convert LBA to CHS ; AX: LBA Address to convert ; ; absolute sector = (logical sector / sectors per track) + 1 ; absolute head = (logical sector / sectors per track) MOD number of heads ; absolute track = logical sector / (sectors...
programs/oeis/194/A194597.asm
neoneye/loda
22
208935
<filename>programs/oeis/194/A194597.asm ; A194597: Digital roots of the nonzero hexagonal numbers. ; 1,6,6,1,9,3,1,3,9,1,6,6,1,9,3,1,3,9,1,6,6,1,9,3,1,3,9,1,6,6,1,9,3,1,3,9,1,6,6,1,9,3,1,3,9,1,6,6,1,9,3,1,3,9,1,6,6,1,9,3,1,3,9,1,6,6,1,9,3,1,3,9,1,6,6,1,9,3,1,3,9,1,6,6,1,9,3 mov $1,$0 mul $0,2 add $0,12 mul $1,$0 lpb $...
oeis/001/A001867.asm
neoneye/loda-programs
11
208936
; A001867: Number of n-bead necklaces with 3 colors. ; Submitted by <NAME> ; 1,3,6,11,24,51,130,315,834,2195,5934,16107,44368,122643,341802,956635,2690844,7596483,21524542,61171659,174342216,498112275,1426419858,4093181691,11767920118,33891544419,97764131646,282429537947,817028472960,2366564736723,6863038218842,1992494...
programs/oeis/208/A208537.asm
karttu/loda
0
208937
<filename>programs/oeis/208/A208537.asm ; A208537: Number of 7-bead necklaces of n colors not allowing reversal, with no adjacent beads having the same color. ; 0,0,18,312,2340,11160,39990,117648,299592,683280,1428570,2783880,5118828,8964072,15059070,24408480,38347920,58619808,87460002,127695960,182857140,257298360,356...
programs/oeis/070/A070280.asm
karttu/loda
1
208938
; A070280: a(1) = 1; a(n) = a(n-1) + product of the digits of n-1. ; 1,2,4,7,11,16,22,29,37,46,46,47,49,52,56,61,67,74,82,91,91,93,97,103,111,121,133,147,163,181,181,184,190,199,211,226,244,265,289,316,316,320,328,340,356,376,400,428,460,496,496,501,511,526,546,571,601,636,676,721,721,727,739,757,781,811,847,889,937,99...
programs/oeis/279/A279211.asm
neoneye/loda
22
208939
<filename>programs/oeis/279/A279211.asm<gh_stars>10-100 ; A279211: Fill an array by antidiagonals upwards; in the n-th cell, enter the number of earlier cells that can be seen from that cell. ; 0,1,2,2,4,4,3,5,6,6,4,6,8,8,8,5,7,9,10,10,10,6,8,10,12,12,12,12,7,9,11,13,14,14,14,14,8,10,12,14,16,16,16,16,16,9,11,13,15,17,...
oeis/141/A141851.asm
neoneye/loda-programs
11
208941
; A141851: Primes congruent to 4 mod 11. ; Submitted by <NAME> ; 37,59,103,191,257,367,389,433,499,521,587,631,653,719,829,983,1049,1093,1181,1291,1423,1489,1511,1621,1709,1753,1907,1951,1973,2017,2039,2083,2237,2281,2347,2633,2677,2699,2897,2963,3271,3359,3469,3491,3557,3623,3733,3821,3931,4019,4129,4217,4261,4283,432...
Library/Spool/Process/processThread.asm
steakknife/pcgeos
504
208942
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1990 -- All Rights Reserved PROJECT: PC GEOS MODULE: System Spooler FILE: processThread.asm AUTHOR: <NAME>, 9 March 1990 REVISION HISTORY: Name Date Description ---- ---- ----------- Jim 3/13/90...
tutorial4.asm
EduardaSRBastos/Assembly-2020
0
208944
<gh_stars>0 ORG 100h MOV AL, 10 MOV AH, 10h MOV BX, 0ffffh LEA BX, msg2 MOV CX, [BX-2] MOV DX, word ptr[msg3] MOV AH, 9 LEA DX, msg1 INT 21h MOV AH, 4Ch INT 21h ret msg1 DB 'UTAD ' msg2 DB 'Vila Real $' msg3 DB 100, 200 END
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0xca_notsx.log_21829_104.asm
ljhsiun2/medusa
9
208946
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r13 push %r15 push %r9 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_A_ht+0x912b, %rsi lea addresses_A_ht+0x76ab, %rdi nop cmp %r13, %r13 mov $125, %rcx rep movsb add %r9, %r9 lea addresses_normal_ht+0x1a1bf, %rsi lea address...
Library/Text/TextSelect/tslUtils.asm
steakknife/pcgeos
504
208948
COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: tslUtils.asm AUTHOR: <NAME>, Dec 9, 1991 ROUTINES: Name Description ---- ----------- IsClassGroupEdge ClassGroupUnderPoint Is...
src/sys/oszdos.asm
neri/osz
7
208949
<gh_stars>1-10 ;; ;; MEG-OS Zero - Kernel ;; ;; Copyright (c) 2014-2017 MEG-OS project ;; 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 ab...
programs/oeis/103/A103192.asm
neoneye/loda
22
208950
<reponame>neoneye/loda<gh_stars>10-100 ; A103192: Trajectory of 1 under repeated application of the function n -> A102370(n). ; 1,3,5,15,17,19,21,31,33,35,37,47,49,51,53,63,65,67,69,79,81,83,85,95,97,99,101,111,113,115,117,127,129,131,133,143,145,147,149,159,161,163,165,175,177,179,181,191,193,195,197,207,209,211,213,2...
unordnung_auch_assembler/asm/attiny13/versuche/blink-withTimerPWM-andToggleOC0A.asm
no-go/Blink_atmega328p
0
208951
<reponame>no-go/Blink_atmega328p<filename>unordnung_auch_assembler/asm/attiny13/versuche/blink-withTimerPWM-andToggleOC0A.asm .include "myTiny13.h" Main: sbi DDRB, 0 ; PortB0 is output = OC0A ldi A, 0b01000011 ; Fast PWM Mode 7 with a toggle on Compare for OC0A out TCCR0A, A ldi A, 0b00001101 ; timer: count ...
programs/oeis/213/A213388.asm
neoneye/loda
22
208953
; A213388: Number of (w,x,y) with all terms in {0,...,n} and 2|w-x| >= max(w,x,y)-min(w,x,y). ; 1,6,21,48,93,158,249,368,521,710,941,1216,1541,1918,2353,2848,3409,4038,4741,5520,6381,7326,8361,9488,10713,12038,13469,15008,16661,18430,20321,22336,24481,26758,29173,31728,34429,37278,40281,43440,46761,50246,53901,57728,61...
oeis/069/A069264.asm
neoneye/loda-programs
11
208954
; A069264: Inverse Moebius transform of bigomega(n). ; Submitted by <NAME> ; 0,1,1,3,1,4,1,6,3,4,1,9,1,4,4,10,1,9,1,9,4,4,1,16,3,4,6,9,1,12,1,15,4,4,4,18,1,4,4,16,1,12,1,9,9,4,1,25,3,9,4,9,1,16,4,16,4,4,1,24,1,4,9,21,4,12,1,9,4,12,1,30,1,4,9,9,4,12,1,25,10,4,1,24,4,4,4,16,1,24,4,9,4,4,4,36,1,9,9,18 mov $1,$0 seq $0,12...
oeis/128/A128153.asm
neoneye/loda-programs
11
208955
<reponame>neoneye/loda-programs ; A128153: The number of regular pentagons found by constructing n equally-spaced points on each side of the pentagon and drawing lines parallel to the pentagon sides, as well as lines connecting vertices. ; 1,9,20,37,58,85,116,153,194,241,292,349,410 mov $3,$0 add $0,1 mul $3,5 mov $4,...
programs/oeis/261/A261671.asm
neoneye/loda
22
208956
; A261671: If n even, a(n) = 6n+3, otherwise a(n) = n. ; 3,1,15,3,27,5,39,7,51,9,63,11,75,13,87,15,99,17,111,19,123,21,135,23,147,25,159,27,171,29,183,31,195,33,207,35,219,37,231,39,243,41,255,43,267,45,279,47,291,49,303,51,315,53,327,55,339,57,351,59,363,61,375,63,387,65,399,67,411,69,423,71,435,73,447,75,459,77,471,7...
NASM 64-bit/meaning.asm
CosasDePuma/Aesthetic-Programming
2
208957
<reponame>CosasDePuma/Aesthetic-Programming<gh_stars>1-10 ; _________________ ; // \\ ; || HOW TO COMPILE IT || ; \\_________________// ; ; ------ x86_64 ------ ; nasm -f elf64 meaning.asm ; ld -s -o meaning meaning.o ; ; _________________ ; // \\ ; || DESCRIPTION || ; ...
programs/oeis/264/A264852.asm
neoneye/loda
22
208958
<gh_stars>10-100 ; A264852: a(n) = n*(n + 1)*(n + 2)*(9*n - 7)/12. ; 0,1,22,100,290,665,1316,2352,3900,6105,9130,13156,18382,25025,33320,43520,55896,70737,88350,109060,133210,161161,193292,230000,271700,318825,371826,431172,497350,570865,652240,742016,840752,949025,1067430,1196580,1337106 lpb $0 mov $2,$0 sub $0,2...
serialid.asm
mattbrepo/SerialID
0
208960
.MODEL small NUM_ARGS equ 80h ; 80h = # of Command Line Arguments ARGS equ 81h .STACK 100h .DATA SERIAL_ID_STR_LEN EQU 8h SERIAL_ID_STR DB "12345678",'$' SERIAL_ID_LEN EQU 6h SERIAL_ID DB 10,11,4,3,2,1,'$' ;HD serial is 6 bytes string (the last 2 bytes represent the serial id) S...
oeis/220/A220452.asm
neoneye/loda-programs
11
208963
; A220452: Number of unordered full binary trees with labels from a set of n labels. ; 1,3,9,37,225,1881,19873,251889,3712257,62286625,1171487361,24402416193,557542291969,13861636770177,372514645389825,10759590258589441,332386419622387713,10935312198369141249,381705328034883127297,14089260601787531469825,54830221095010...
programs/oeis/184/A184653.asm
jmorken/loda
1
208964
; A184653: floor(n*s+h-h*s), where s=(3+sqrt(3))/2, h=-1/2; complement of A184638. ; 3,5,7,10,12,14,17,19,21,24,26,29,31,33,36,38,40,43,45,48,50,52,55,57,59,62,64,66,69,71,74,76,78,81,83,85,88,90,92,95,97,100,102,104,107,109,111,114,116,118,121,123,126,128,130,133,135,137,140,142,145,147,149,152,154,156,159,161,163,166...
programs/oeis/291/A291066.asm
neoneye/loda
22
208967
<filename>programs/oeis/291/A291066.asm ; A291066: Number of edges in the n-Menger sponge graph. ; 24,672,14976,311808,6334464,127475712,2555805696,51166445568,1023731564544,20477852516352,409582820130816,8191862561046528,163838900488372224,3276791203906977792,65535929631255822336,1310719437050046578688,262143954964003...
libsrc/cpc/cpc_TestKeyboard.asm
jpoikela/z88dk
640
208968
; ; Amstrad CPC library ; ****************************************************** ; ** Librería de rutinas para Amstrad CPC ** ; ** <NAME>, Artaburu 2009 ** ; ****************************************************** ; ; $Id: cpc_TestKeyboard.asm $ ; SECTION code_clib ...