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
libsrc/math/mbf32/c/sccz80/l_f32_lt.asm
jpoikela/z88dk
640
201845
SECTION code_fp_mbf32 PUBLIC l_f32_lt EXTERN l_f32_yes EXTERN l_f32_no EXTERN ___mbf32_setup_comparison ; Stack < registers l_f32_lt: call ___mbf32_setup_comparison ; 0b00000000 = stack == register ; 0b00000001 = stack < register ; 0b11111111 = stack > register dec a jp z,l_f32_yes jp l_f32_no
Lab_7/Task_3.a51
DeeptimaanB/8051_Programs
0
201846
<gh_stars>0 ;Assuming that clock pulses are fed into pin T1 (P3.5). Write an 8051 assembly language program for counter 1 ;in mode 2 to count the pulses and display the state of the TL1 count on P1 which connects to 8 LEDs ORG 0000H REPEAT:MOV TMOD,#60H MOV TH1,#0 SETB P3.5 AGAIN:SETB TR1 BACK:MOV A,TL1 MOV P1...
_build/dispatcher/jmp_ippsPRNGenRDRAND_52e847c6.asm
zyktrcn/ippcp
1
201847
extern m7_ippsPRNGenRDRAND:function extern n8_ippsPRNGenRDRAND:function extern y8_ippsPRNGenRDRAND:function extern e9_ippsPRNGenRDRAND:function extern l9_ippsPRNGenRDRAND:function extern n0_ippsPRNGenRDRAND:function extern k0_ippsPRNGenRDRAND:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:function s...
Wizardry/QualityOfLife/HpBars/simple/_warning_and_hpbars.asm
sme23/Whack
1
201848
<gh_stars>1-10 .thumb .org 0 @jumpToHack at 276b4 @@ change 15690 from 12 to 20 @@202bd31 is Subtitle Help (bit 0x80), nop at 35718 to force subtitles. push {r4-r7} CheckOptions: ldr r0,OptionByte ldrb r0,[r0] mov r1,#0x80 and r0,r1 cmp r0,#0 @0 means ON bne NoBar DrawBar: mov r1, #0x10 ldsb r1,[r4,r1] @get x coord...
programs/oeis/060/A060681.asm
neoneye/loda
22
201849
<reponame>neoneye/loda ; A060681: Largest difference between consecutive divisors of n (ordered by size). ; 0,1,2,2,4,3,6,4,6,5,10,6,12,7,10,8,16,9,18,10,14,11,22,12,20,13,18,14,28,15,30,16,22,17,28,18,36,19,26,20,40,21,42,22,30,23,46,24,42,25,34,26,52,27,44,28,38,29,58,30,60,31,42,32,52,33,66,34,46,35,70,36,72,37,50,3...
libsrc/target/pc88/pc88_fm_addr.asm
jpoikela/z88dk
640
201850
; ; PC-8801 specific routines ; by <NAME>, 2018 ; ; int pc88_fm_addr(); ; ; Look for a soundchip responding to the YM standard commands, extra HW is ignored ; ; $Id: pc88_fm_addr.asm $ ; SECTION code_clib PUBLIC pc88_fm_addr PUBLIC _pc88_fm_addr pc88_fm_addr: _pc88_fm_addr: ld h,0 ld c,$44 call test...
programs/oeis/269/A269584.asm
jmorken/loda
1
201851
<reponame>jmorken/loda ; A269584: Number of length-4 0..n arrays with no repeated value differing from the previous repeated value by more than one. ; 16,79,250,613,1276,2371,4054,6505,9928,14551,20626,28429,38260,50443,65326,83281,104704,130015,159658,194101,233836,279379,331270,390073,456376,530791,613954,706525,8091...
Transynther/x86/_processed/NC/_st_zr_sm_/i7-7700_9_0xca_notsx.log_21829_1841.asm
ljhsiun2/medusa
9
201852
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1b329, %rsi lea addresses_WC_ht+0x184d9, %rdi nop nop nop nop inc %rbx mov $33, %rcx rep movsw nop nop nop nop nop add $58569, %rbp lea addresses_normal_ht+0x107d9, %rbp nop nop n...
programs/oeis/035/A035291.asm
karttu/loda
1
201854
; A035291: Number of ways to place a non-attacking white and black queen on n X n chessboard. ; 0,0,16,88,280,680,1400,2576,4368,6960,10560,15400,21736,29848,40040,52640,68000,86496,108528,134520,164920,200200,240856,287408,340400,400400,468000,543816,628488,722680,827080,942400,1069376,1208768,1361360,1527960,1709400,...
Gobang.asm
Chl-coder/Gobang-Assembly
0
201855
DATA SEGMENT CHESSBOARD DB 218,13 DUP(194),191,13 DUP(195,13 DUP(197),180),192,13 DUP(193),217 ;设置棋盘的缓冲区 X DB 0 ;落子坐标 x Y DB 0 ;落子坐标 y MY DB 1 ;我的坐标是1,对方的坐标是2 FLAG DB 0 ;判断是否可以落子的标记,1为可以,0为不可以 STATE DB 0 ;目前的状态,单机:0为游戏进行中,2为一方退出;3为一方获胜 ...
Library/Chart/PArea/pareaManager.asm
steakknife/pcgeos
504
201856
<filename>Library/Chart/PArea/pareaManager.asm COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GeoWorks 1991 -- All Rights Reserved PROJECT: PC GEOS MODULE: FILE: pareaManager.asm AUTHOR: <NAME>, Oct 8, 1991 REVISION HISTORY: Name Date Description --...
Transynther/x86/_processed/NONE/_xt_sm_/i9-9900K_12_0xa0.log_21829_956.asm
ljhsiun2/medusa
9
201857
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %rbp push %rbx push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x1667a, %rbp nop nop xor $7690, %rdx mov (%rbp), %edi nop inc %rcx lea addresses_WT_ht+0xc62, %rsi lea addresses_WT_ht+0x6a3a, %rdi nop nop nop cmp $49944, %r15 mov $11, %rcx...
kernel/console.asm
adamdjudge/osalpha
0
201859
; The OS Alpha Kernel ; Copyright (C) 2021 <NAME> ; ; File: console.asm ; Last modified: 25 May 2020 ; Description: Text display and graphical subroutines ; Print the character in AL to the screen ; Params: AL = character ; Return: None putc: mov ah, 0xE int 0x10 ret ; Print a null-terminat...
src/pngwh.asm
AfroDave/pngwh
0
201860
<filename>src/pngwh.asm %use altreg %macro spush 0 push r7 push r6 push r2 push r10 push r8 push r9 push r3 push r1 %endmacro %macro spop 0 pop r1 pop r3 pop r9 pop r8 pop r10 pop r2 pop r6 pop r7 %endmacro %define SYS_READ 0x00 %define SYS_WRITE 0...
src/joypad.asm
QuinnPainter/gbsdk
16
201861
<reponame>QuinnPainter/gbsdk include "sdk/hardware.inc" SECTION "gbsdk_joypad_ram", WRAM0 _joypad_state:: wJoypadState:: ds 1 _joypad_pressed:: wJoypadPressed:: ds 1 SECTION "gbsdk_joypad_functions", ROM0 _joypad_update:: ; Call this routine once per frame to update the joypad related variables. ; Routine al...
Assembler/wages.asm
autismuk/Binac
1
201862
; ; Salary program ; .wage word @5000 ; wage / net weekly income .overtime word @1504 ; overtime / net yearly income. .social word @65 ; social security / net monthly income .tax word @700 ; federal tax .bond word @200 ; bond ded...
Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xa0.log_21829_704.asm
ljhsiun2/medusa
9
201863
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/AVXALIGN/_st_sm_/i9-9900K_12_0xa0.log_21829_704.asm .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r15 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x11cd9, %rsi lea addresses_UC_ht+0x1ba59, %rdi nop nop nop nop sub...
Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_1_951.asm
ljhsiun2/medusa
9
201865
<filename>Transynther/x86/_processed/NONE/_xt_sm_/i3-7100_9_0xca_notsx.log_1_951.asm .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_normal_ht+0x316c, %rax nop add $65285, %rdx mov $0x6162636465666768, %r13 movq %r13, %xmm2 movups...
oeis/133/A133217.asm
neoneye/loda-programs
11
201866
<reponame>neoneye/loda-programs ; A133217: Indices of decagonal numbers (A001107) that are also triangular (A000217). ; Submitted by <NAME> ; 0,1,2,20,55,667,1856,22646,63037,769285,2141390,26133032,72744211,887753791,2471161772,30157495850,83946756025,1024467105097,2851718543066,34801724077436,96874483708207,118223415...
programs/oeis/266/A266438.asm
karttu/loda
1
201867
; A266438: Total number of ON (black) cells after n iterations of the "Rule 23" elementary cellular automaton starting with a single ON (black) cell. ; 1,4,4,11,11,22,22,37,37,56,56,79,79,106,106,137,137,172,172,211,211,254,254,301,301,352,352,407,407,466,466,529,529,596,596,667,667,742,742,821,821,904,904,991,991,1082...
Linux/x86/helloWorld/hello.asm
josephnglynn/Learn-Assembly
1
201868
; nasm -f elf hello.asm && ld -m elf_i386 -s -o hello hello.o section .data message: db "Hello World!", 10 lengthOfMessage: equ $-message section .text global _start _start: mov eax, 4 mov ebx, 1 mov ecx, message mov edx, lengthOfMessage int 80h ...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_113.asm
ljhsiun2/medusa
9
201869
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_113.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0xa4eb, %rax clflush (%rax) nop dec %rdi movb $0x61, (%rax) n...
src/stars/tests/tests/preprocess/invalidFile.asm
kevintmcdonnell/stars
9
201870
<gh_stars>1-10 .include "noFile" .text li $a0, 24 li $v0, 4 syscall li $v0, 10 syscall .data UvU: .asciiz "owo what's this?"
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca_notsx.log_21829_1659.asm
ljhsiun2/medusa
9
201871
.global s_prepare_buffers s_prepare_buffers: push %r9 push %rcx push %rdx lea addresses_D_ht+0x1bcc2, %rcx nop dec %rdx mov (%rcx), %r9 nop nop xor %rdx, %rdx pop %rdx pop %rcx pop %r9 ret .global s_faulty_load s_faulty_load: push %r13 push %r8 push %r9 push %rax push %rbx push %rcx push %rdx // Store lea address...
external/source/meterpreter/source/extensions/stdapi/server/sys/process/linux-stub.asm
ddouhine/metasploit-framework
264
201872
<filename>external/source/meterpreter/source/extensions/stdapi/server/sys/process/linux-stub.asm BITS 32 %define MREMAP_FIXED 2 %define MREMAP_MAYMOVE 1 _start: ; munmap NULL to start of payload mov eax, 91 mov ebx, 0 ; address mov ecx, 0x42424242 ; length int 0x80 ; munmap from end of space to 0x80000000 mo...
Driver/Video/VGAlike/Cyber16/cyber16Admin.asm
steakknife/pcgeos
504
201873
<reponame>steakknife/pcgeos COMMENT @%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Copyright (c) GlobalPC 1998 -- All Rights Reserved PROJECT: PC GEOS MODULE: Cyber16 Video Driver FILE: cyber16Admin.asm AUTHOR: <NAME> ROUTINES: Name Description ---- ----------- VidScr...
Source/M-OS/MOS_monitor.asm
mkeller0815/MOUSE
8
201874
; ; M-OS monitor programm ; ; Character set .alias AsciiCC $03 ; break (Control-C) ASCCI character .alias AsciiBS $08 ; backspace ASCII character .alias AsciiLF $0A ; line feed ASCII character .alias AsciiCR $0D ; carriage return ASCII character .alias AsciiSP $20 ; space ASCII character .alias AsciiDS $2D...
Transynther/x86/_processed/AVXALIGN/_zr_/i9-9900K_12_0xa0_notsx.log_12_470.asm
ljhsiun2/medusa
9
201875
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %r9 push %rcx push %rdi lea addresses_WC_ht+0xe699, %r11 and %r8, %r8 mov (%r11), %cx inc %r11 lea addresses_A_ht+0x1e091, %rdi nop nop add $9196, %r9 movups (%rdi), %xmm1 vpextrq $0, %xmm1, %r15 nop nop nop nop nop inc %rdi lea ad...
UP1/Algorithms/class9.asm
rubemfsv/Digital-Control-Systems
0
201876
#INCLUDE<P16F84A.INC> ORG 0X00 GOTO INICIO ORG 0X04 ;as interrupções sempre levam para a posição 4 GOTO INTER ;--- AO MUDAR ALGUM DOS 4 BITS MAIS SIGNIFICATIVOS DE B SOMA 1 EM A ---; INICIO CLRW CLRF PORTB CLRF PORTA BSF STATUS,RP0 MOVLW 0 ...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_403_1724.asm
ljhsiun2/medusa
9
201877
<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_403_1724.asm .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_WC_ht+0xd72e, %r9 nop nop nop inc %r13 movb (%r9), %r8b nop nop sub $49812, %r8 lea addresses_WT_h...
oeis/226/A226309.asm
neoneye/loda-programs
11
201879
; A226309: a(n) = a(n-1) + a(n-2) + a(n-3) + 2*a(n-4) with a(0)=2, a(1)=1, a(2)=5, a(3)=10. ; Submitted by <NAME>(s1.) ; 2,1,5,10,20,37,77,154,308,613,1229,2458,4916,9829,19661,39322,78644,157285,314573,629146,1258292,2516581,5033165,10066330,20132660,40265317,80530637,161061274,322122548,644245093,1288490189,257698037...
src/cpu/boot.asm
ayush7788/wolfx_kernel
6
201880
[BITS 32] ALIGN 4 mboot: MULTIBOOT_PAGE_ALIGN equ 1<<0 MULTIBOOT_MEMORY_INFO equ 1<<1 MULTIBOOT_VIDEO_INFO equ 1<<2 MULTIBOOT_AOUT_KLUDGE equ 1<<16 MULTIBOOT_HEADER_MAGIC equ 0x1BADB002 MULTIBOOT_HEADER_FLAGS equ MULTIBOOT_PAGE_ALIGN | MULTIBOOT_MEMORY_INFO | MULTIBOOT_AOUT_KLUDGE | MUL...
ln.asm
eudemkeon/EEE3535
0
201881
_ln: file format elf32-i386 Disassembly of section .text: 00000000 <main>: #include "stat.h" #include "user.h" 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 ...
cgi-bin/empty.asm
Konamiman/NestorWeb
4
201883
<reponame>Konamiman/NestorWeb ;Example of NestorWeb CGI script that doesn't write anything to STDOUT ;This will cause the client to receive "204 No Content" ret
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_f_getpos.asm
jpoikela/z88dk
640
201886
<gh_stars>100-1000 ; uint32_t esx_f_fgetpos(unsigned char handle) SECTION code_esxdos PUBLIC _esx_f_getpos EXTERN asm_esx_f_fgetpos _esx_f_getpos: pop af pop hl push hl push af jp asm_esx_f_fgetpos
oeis/225/A225435.asm
neoneye/loda-programs
11
201887
<reponame>neoneye/loda-programs ; A225435: Numerators of convergents to the general continued fraction 1/(1 + 2/(1 + 3/(1 + 4/(1+ ...)))). ; Submitted by <NAME> ; 1,1,2,4,7,19,68,44,416,758,6092,24284,10348,110864,997828,4545476,827252,5166356,255994804,1289266004,3332578444,8757252244,3766552348,27079574548,1434303566...
oeis/114/A114450.asm
neoneye/loda-programs
11
201888
; A114450: a(n)=(2n)!*(sum{k=1...2n}1/k)/(2n+1). ; Submitted by <NAME> ; 0,1,10,252,12176,966240,114341760,18897709824,4160840140800,1177736213606400,416807049369600000,180368555623280640000,93711488655948742656000,57572391079539343687680000 mov $2,1 lpb $0 add $1,$0 sub $0,1 mul $3,2 mul $3,$1 add $3,$2 m...
programs/oeis/340/A340082.asm
neoneye/loda
22
201889
<reponame>neoneye/loda<gh_stars>10-100 ; A340082: a(n) = A003958(n) / gcd(n-1, A003958(n)). ; 1,1,1,1,1,2,1,1,1,4,1,2,1,6,4,1,1,4,1,4,3,10,1,2,2,12,4,2,1,8,1,1,5,16,12,4,1,18,12,4,1,12,1,10,4,22,1,2,3,16,16,4,1,8,20,6,9,28,1,8,1,30,12,1,3,4,1,16,11,8,1,4,1,36,16,6,15,24,1,4,1,40,1,12,16,42,28,10,1,16,4,22,15,46,36,2,1,...
project3/driver.asm
netguy204/cmsc313_examples
1
201890
<gh_stars>1-10 %define STDOUT 1 %define WRITE 4 [SECTION .data] plusStr: db " plus " plusStrLen: EQU $-plusStr equStr: db " equals " equStrLen: EQU $-equStr newline: db `\n` [SECTION .bss] [SECTION .text] ;;; This is where our program lives. global _start ; make st...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_835.asm
ljhsiun2/medusa
9
201891
<filename>Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0x84_notsx.log_21829_835.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0xaf14, %rsi lea addresses_D_ht+0x7612, %rdi nop nop nop and $62322, %r15 mov $31, %rcx re...
oeis/083/A083580.asm
neoneye/loda-programs
11
201892
<filename>oeis/083/A083580.asm ; A083580: Binomial transform of A083579. ; Submitted by <NAME> ; 0,1,3,10,34,114,374,1202,3798,11842,36550,111954,340982,1034210,3127206,9434866,28419286,85503618,257035142,772219538,2319017910,6962034466,20896589158,62711787570,188181500054,564640969154 mov $1,-1 mov $3,4 lpb $0 sub ...
oeis/052/A052734.asm
neoneye/loda-programs
11
201893
<reponame>neoneye/loda-programs ; A052734: a(n) = 4^(n-1) * n! * Catalan(n-1) for n > 0, with a(0) = 0. ; Submitted by <NAME> ; 0,1,8,192,7680,430080,30965760,2724986880,283398635520,34007836262400,4625065731686400,703009991216332800,118105678524343910400,21731444848479279513600,4346288969695855902720000,93879841745430...
45/runtime/rt/grpmap.asm
minblock/msdos
0
201894
<filename>45/runtime/rt/grpmap.asm TITLE GRPMAP - Graphics Window-to-Viewport transormation code ;*** ; GRPMAP - Graphics PMAP and POINT functions ; ; Copyright <C> 1986, Microsoft Corporation ; ;Purpose: ; ; This module contains Window-to-Viewport transformation code. This code lives ; in a module of its own to allow...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_318.asm
ljhsiun2/medusa
9
201895
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r9 push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x1ad72, %rsi lea addresses_WT_ht+0x189de, %rdi nop cmp $54485, %r12 mov $87, %rcx rep movsl nop nop nop nop dec %rdx lea addresses_normal_ht+0x1a49f, %r9 nop nop nop nop nop and $1396, ...
programs/oeis/041/A041011.asm
neoneye/loda
22
201896
<reponame>neoneye/loda ; A041011: Denominators of continued fraction convergents to sqrt(8). ; 1,1,5,6,29,35,169,204,985,1189,5741,6930,33461,40391,195025,235416,1136689,1372105,6625109,7997214,38613965,46611179,225058681,271669860,1311738121,1583407981,7645370045,9228778026,44560482149,53789260175,259717522849,3135067...
Modules/Module2/7_PrintingIntegers/printinteger.asm
hackettccp/CSCI213
0
201897
<reponame>hackettccp/CSCI213<gh_stars>0 #Demonstrates printing an integer #Integer to print must be in register $a0 #1 must be in register $v0 li $t0, 45 #Loads the constant 45 (0x2d) to $t0 li $t1, 79 #Loads the constant 79 (0x4f) to $t1 move $a0, $t0 #Copies $t0 to $a0 li $v0, 1 #Sets the system call code f...
data/phone/text/gina_callee.asm
Dev727/ancientplatinum
28
201898
<reponame>Dev727/ancientplatinum<gh_stars>10-100 UnknownText_0x1b626a: text "Hello? This is" line "@" text_ram wStringBuffer3 text "…" para "Oh, <PLAY_G>!" line "Good morning!" done UnknownText_0x1b6296: text "Hello? This is" line "@" text_ram wStringBuffer3 text "…" para "Oh, <PLAY_G>!" line "Hi, how a...
programs/oeis/225/A225786.asm
neoneye/loda
22
201900
<filename>programs/oeis/225/A225786.asm ; A225786: Numbers k such that oblong(2*k) + oblong(k) is a square, where oblong(k) = A002378(k) = k*(k+1). ; 0,48,15552,5007792,1612493568,519217921200,167186558132928,53833552500881712,17334236718725778432,5581570389877199773488,1797248331303739601284800,57870838110941427441393...
dino/lcs/base/49D.asm
zengfr/arcade_game_romhacking_sourcecode_top_secret_data
6
201901
<filename>dino/lcs/base/49D.asm<gh_stars>1-10 copyright zengfr site:http://github.com/zengfr/romhack 006DA4 move.b ($3,A4), D0 006DA8 bne $6dcc [base+47D, base+48D, base+49D] 006E52 tst.b ($3,A4) 006E56 bne $6e68 [base+47D, base+48D, base+49D] 006EBC move.b ($3,A4), D0 006EC0 move.b ($1,A4), D1 [...
libsrc/games/c128/joystick.asm
jpoikela/z88dk
640
201903
<filename>libsrc/games/c128/joystick.asm ; Game device library for the Commodore 128 ; <NAME>, Feb. 2017 ; ; SECTION code_clib PUBLIC joystick PUBLIC _joystick EXTERN savecia EXTERN restorecia EXTERN getk .joystick ._joystick ; __FASTCALL__ : joystick no. in HL. ; 1 = Player 1's joysti...
libs/libc.asm
thecrazyboy/classickong
10
201904
.include "hdr.asm" .section ".libc_mem" superfree .accu 16 .index 16 .16bit __builtin_memcpy: memcpy: lda.b 4,s ; destination sta.b tcc__r0 tay lda.b 8,s ; source tax lda.b 10,s ; source bank xba ora.b 6,s ; dest bank sta.b move_insn + 1 lda.b 12,s ; length...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca.log_10248_60.asm
ljhsiun2/medusa
9
201905
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r8 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1e762, %rsi lea addresses_D_ht+0x11faa, %rdi xor %r12, %r12 mov $125, %rcx rep movsl nop nop nop nop nop xor %rbp, %rbp lea addresses_A_ht+0x14062, %rbp and %rax, %rax movb (%rbp),...
sse/dotprodSSE.asm
demonMOE-s/Toys
2
201907
<filename>sse/dotprodSSE.asm bits 32 global dotprod_SSE segment .data align=16 mask dd 0xffffffff ; x dd 0xffffffff ; y dd 0xffffffff ; z dd 0x00000000 ; w segment .text ; edi -> float[4] ; esi -> float[4] ; edx -> float[4] dotprod_SSE: push ebp mov ebp, esp push edi push esi push edx ...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_185.asm
ljhsiun2/medusa
9
201908
<filename>Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_185.asm .global s_prepare_buffers s_prepare_buffers: push %r11 push %r14 push %r9 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_D_ht+0x1d52a, %rdx nop nop nop nop nop and $2972, %rsi mov (%rdx), %r14 nop nop sub %r11, %r...
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2.log_21804_659.asm
ljhsiun2/medusa
9
201909
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r8 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_A_ht+0x2747, %r12 nop nop nop dec %r13 mov $0x6162636465666768, %rax movq %rax, %xmm6 movups %xmm6, (%r12) nop nop nop add $4427, %rcx lea addresses_UC_ht+0x171f0, %r9 clflu...
Mitch-Guthrie-Assembly-HW3.asm
mitchGuthrieDev/Assembly-code
0
201910
<gh_stars>0 #<NAME> 001215440 #Homework Assignment 3 .data A: .word 1,2,3,4,5,6,7,8,9,10 # 10 integers B: .word 1,1,1,1,5,5,5,8,8,8 # 10 integers C: .word -1,-1,-1,-1,-1,-1,-1,-1,-1,-1 # 10 integers count: .word 0 .text li $t1, 10 #size of the array la $s0, A #load A into $s1 la $s1, B #load B into $s2 la...
oeis/164/A164475.asm
neoneye/loda-programs
11
201911
<filename>oeis/164/A164475.asm ; A164475: Number of binary strings of length n with no substrings equal to 0001 0101 or 1110 ; Submitted by <NAME> ; 13,20,30,44,63,90,128,180,253,356,498,696,975,1362,1900,2656,3709,5172,7222,10084,14063,19626,27400,38220,53325,74436,103850,144880,202207,282146,393620,549304,766509,1069...
ledchase/ledchase.asm
igor-almeida-github/meus-projetos-com-microcontroladores
2
201912
<reponame>igor-almeida-github/meus-projetos-com-microcontroladores<gh_stars>1-10 _main: ;ledchase.c,2 :: void main() ;ledchase.c,4 :: unsigned char j=0b00000001; // aparentemente todas as variaveis devem ser declaradas no inicio da main ou do lado de fora, antes da main, MOVLW 1 MOVWF main_...
libpal/intel_64bit_systemv_nasm/rdtscp.asm
mars-research/pal
26
201913
<filename>libpal/intel_64bit_systemv_nasm/rdtscp.asm bits 64 default rel section .text global pal_execute_rdtscp pal_execute_rdtscp : push rbx rdtscp shl rdx, 32 or rax, rdx mov rdi, rax xor rax, rax xor rbx, rbx xor rcx, rcx xor rdx, rdx cpuid mov rax, rdi pop rbx...
oeis/202/A202796.asm
neoneye/loda-programs
11
201914
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A202796: Number of n X 2 binary arrays with every one adjacent to another one horizontally or vertically. ; Submitted by <NAME> ; 2,10,36,126,454,1632,5854,21010,75412,270662,971438,3486624,12513958,44914250,161203204,578579694,2076599286,7453190368,26750489166,96011055...
chapter_3/page_127/exercise_8/KiFastFailDispatch.asm
assaflevy/practical_reverse_engineering
0
201915
<gh_stars>0 0: kd> uf KiFastFailDispatch nt!KiFastFailDispatch: fffff802`753f0180 4881ecd8010000 sub rsp,1D8h fffff802`753f0187 488d842400010000 lea rax,[rsp+100h] fffff802`753f018f 0f29742430 movaps xmmword ptr [rsp+30h],xmm6 fffff802`753f0194 0f297c2440 movaps xmmword ptr [rsp+40h],xmm7 fffff802`...
oeis/080/A080958.asm
neoneye/loda-programs
11
201917
<reponame>neoneye/loda-programs ; A080958: a(n) = n!*(2/1 - 3/2 + 4/3 - ... + s*(n+1)/n), where s = (-1)^(n+1). ; Submitted by <NAME> ; 2,1,11,14,214,444,8868,25584,633456,2342880,69317280,312888960,10773578880,57424792320,2256224544000,13869128448000,612385401600000,4264876094976000,209080119919104000,1627055289796608...
oeis/284/A284624.asm
neoneye/loda-programs
11
201918
; A284624: Positions of 1 in A284749. ; Submitted by <NAME>(s3) ; 2,5,9,12,16,20,23,27,30,34,38,41,45,49,52,56,59,63,67,70,74,77,81,85,88,92,96,99,103,106,110,114,117,121,125,128,132,135,139,143,146,150,153,157,161,164,168,172,175,179,182,186,190,193,197,200,204,208,211,215,219,222,226,229,233,237,240,244,248,251,255,2...
vhdl/sim/dev_int.asm
mfkiwl/QNICE-FPGA-hyperRAM
53
201919
<filename>vhdl/sim/dev_int.asm ; Development testbed for the simulation environment "dev_int.vhd" ; ; This is a simple test program for QNICE interrupts. The idea is as follows: ; ; 1) The program starts writing 1, 2, 3, ... into the data area pointed to ; by DATA. ; 2) After some of these MOVEs, an interrup...
Transynther/x86/_processed/NC/_zr_/i9-9900K_12_0xca_notsx.log_21829_1056.asm
ljhsiun2/medusa
9
201920
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r14 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0xc22, %rax clflush (%rax) nop nop nop nop nop sub $64296, %rsi movb $0x61, (%rax) nop nop nop nop nop add %r9, %r9 lea addresses_A_ht+0x9fe6, %rax add %r9, %r9 movb $...
test/single-file-prog/cstart.asm
marcin-chwedczuk/mikrus-85
2
201923
; Run time start off for Small C. ; cseg .module CSTART .area CSTART (REL,CON) ;program area CRTSO is RELOCATABLE .list (err, loc, bin, eqt, cyc, lin, src, lst, md) .nlist (pag) .globl cstartend ;.globl cceq, ccgchar, cccmp lxi h,#0x3ffe ; Initialize stack ...
programs/oeis/173/A173073.asm
neoneye/loda
22
201924
<reponame>neoneye/loda ; A173073: (n-th nonnegative nonprime) minus (n-1). ; 0,0,2,3,4,4,4,5,6,6,6,7,8,8,8,9,9,9,9,9,10,11,11,11,11,11,12,12,12,13,14,14,14,15,15,15,15,15,16,16,16,16,16,17,18,18,18,18,18,19,19,19,20,21,21,21,21,21,22,22,22,23,23,23,23,23,24,24,24,24,24,24,24,25,25,25 trn $0,1 seq $0,73425 ; a(0)=0; fo...
oeis/140/A140780.asm
neoneye/loda-programs
11
201925
<reponame>neoneye/loda-programs ; A140780: a(n) = 10*a(n-1) - a(n-2). ; Submitted by <NAME> ; 1,3,29,287,2841,28123,278389,2755767,27279281,270037043,2673091149,26460874447,261935653321,2592895658763,25667020934309,254077313684327,2515106115908961,24896983845405283,246454732338143869,2439650339536033407,241500486630221...
get_SIB.asm
Arsenal591/X86Assembler
1
201926
<filename>get_SIB.asm<gh_stars>1-10 .386 .MODEL flat, stdcall include operand.inc include functions.inc .code ; get SIB ; return value is stored in AL get_SIB PROC USES edx, pOperand: DWORD LOCAL index_num: BYTE, base_num: BYTE, ss_num: BYTE, scale: BYTE mov edx, pOperand mov edx, (Operand ptr[edx]).address in...
test.asm
Tazmain/AsmStuff
0
201927
<filename>test.asm bits 16 org 0x100 ; This program accepts a number from the user as input ; and displays a message to say if the number if a multiple of 3 ; ;--------------------- Jump over data declarations jmp main ; ;prompt message: db 'Please enter the number you select $' ; Input_bu...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0xca_notsx.log_21829_1966.asm
ljhsiun2/medusa
9
201928
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r15 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_UC_ht+0xd0f9, %r8 nop nop nop nop sub %r12, %r12 mov $0x6162636465666768, %r15 movq %r15, %xmm7 movups %xmm7, (%r8) nop nop nop nop nop and %rcx, %...
src/firmware/Platform/Lcd/EnableSetNibbleModeState.asm
pete-restall/Cluck2Sesame-Prototype
1
201929
#include "Platform.inc" #include "FarCalls.inc" #include "Lcd.inc" #include "States.inc" radix decimal defineLcdState LCD_STATE_ENABLE_SETNIBBLEMODE movlw b'00000010' call writeRegisterNibble setLcdState LCD_STATE_ENABLE_SETDISPLAY returnFromLcdState end
test/fixtures/loop.asm
majacQ/retroputer
58
201931
<reponame>majacQ/retroputer # code.regs: A=0xFFFF C=0xFFFF # code.flags: Z- C+ N+ .segment code 0x02000 { ld a, 0x0000 {$10 $00 $00 $00} ld c, 0xFFFE {$14 $00 $FF $FE} _loop: inc a {$C0} loops _loop, c {$84 ...
programs/oeis/199/A199531.asm
karttu/loda
0
201932
<filename>programs/oeis/199/A199531.asm ; A199531: Number of -n..n arrays x(0..3) of 4 elements with zero sum and no two consecutive zero elements. ; 12,72,212,464,860,1432,2212,3232,4524,6120,8052,10352,13052,16184,19780,23872,28492,33672,39444,45840,52892,60632,69092,78304,88300,99112,110772,123312,136764,151160,1665...
tests/macros/bracket_arg_trimming.asm
fengjixuchui/sjasmplus
220
201934
<filename>tests/macros/bracket_arg_trimming.asm m1 MACRO arg1? DEFINE __check__ arg1? LUA x = sj.get_define("__check__") if x ~= "1,2" then sj.error("["..x.."] differs from expected [1,2]") end ENDLUA ...
base/mvdm/wow16/write/format.asm
npocmaka/Windows-Server-2003
17
201935
;* **************************************************************************** ;* ;* COPYRIGHT (C) 1985-1992 MICROSOFT ;* ;* **************************************************************************** ; TITLE Format.asm line formatting routines for windows Write ; Module: format.asm ; con...
libsrc/_DEVELOPMENT/arch/ts2068/display/z80/asm_tshc_py2saddr.asm
jpoikela/z88dk
640
201937
<reponame>jpoikela/z88dk ; =============================================================== ; May 2017 ; =============================================================== ; ; void *tshc_py2saddr(uchar y) ; ; Attribute address of byte containing pixel at coordinate x = 0, y. ; ; ============================================...
programs/oeis/196/A196199.asm
neoneye/loda
22
201938
<filename>programs/oeis/196/A196199.asm ; A196199: Count up from -n to n for n = 0, 1, 2, ... . ; 0,-1,0,1,-2,-1,0,1,2,-3,-2,-1,0,1,2,3,-4,-3,-2,-1,0,1,2,3,4,-5,-4,-3,-2,-1,0,1,2,3,4,5,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,-8,-7,-6,-5,-4,-3,-2,-1,0,1,2,3,4,5,6,7,8,-9,-8,-7,-6,-5,-4,-3,-2,...
programs/oeis/322/A322582.asm
neoneye/loda
22
201940
<filename>programs/oeis/322/A322582.asm<gh_stars>10-100 ; A322582: a(n) = n - A003958(n), where A003958 is fully multiplicative with a(p) = (p-1). ; 0,1,1,3,1,4,1,7,5,6,1,10,1,8,7,15,1,14,1,16,9,12,1,22,9,14,19,22,1,22,1,31,13,18,11,32,1,20,15,36,1,30,1,34,29,24,1,46,13,34,19,40,1,46,15,50,21,30,1,52,1,32,39,63,17,46,1...
oeis/021/A021682.asm
neoneye/loda-programs
11
201944
; A021682: Decimal expansion of 1/678. ; Submitted by Jon Maiga ; 0,0,1,4,7,4,9,2,6,2,5,3,6,8,7,3,1,5,6,3,4,2,1,8,2,8,9,0,8,5,5,4,5,7,2,2,7,1,3,8,6,4,3,0,6,7,8,4,6,6,0,7,6,6,9,6,1,6,5,1,9,1,7,4,0,4,1,2,9,7,9,3,5,1,0,3,2,4,4,8,3,7,7,5,8,1,1,2,0,9,4,3,9,5,2,8,0,2,3 seq $0,199685 ; a(n) = 5*10^n+1. div $0,339 mod $0,10
oeis/090/A090860.asm
neoneye/loda-programs
11
201945
; A090860: Number of ways of 4-coloring a map in which there is a central circle surrounded by an annulus divided into n-1 regions. There are n regions in all. ; 24,72,120,264,504,1032,2040,4104,8184,16392,32760,65544,131064,262152,524280,1048584,2097144,4194312,8388600,16777224,33554424,67108872,134217720,268435464,53...
sources/ippcp/asm_intel64_gas_converted/linux/nonpic/n0/singlecpu/pcpmd5m7as.asm
idesai/ipp-crypto
1
201946
<reponame>idesai/ipp-crypto ############################################################################### # Copyright 2018 Intel Corporation # All Rights Reserved. # # If this software was obtained under the Intel Simplified Software License, # the following terms apply: # # The source code, information and mat...
programs/oeis/319/A319452.asm
karttu/loda
1
201947
<reponame>karttu/loda ; A319452: Numbers that are congruent to {0, 3, 6, 10} mod 12. ; 0,3,6,10,12,15,18,22,24,27,30,34,36,39,42,46,48,51,54,58,60,63,66,70,72,75,78,82,84,87,90,94,96,99,102,106,108,111,114,118,120,123,126,130,132,135,138,142,144,147,150,154,156,159,162,166,168,171,174,178,180,183,186,190,192,195,198,20...
sk/sfx/C7.asm
Cancer52/flamedriver
9
201948
<reponame>Cancer52/flamedriver Sound_C7_Header: smpsHeaderStartSong 3 smpsHeaderVoice Sound_C7_Voices smpsHeaderTempoSFX $01 smpsHeaderChanSFX $01 smpsHeaderSFXChannel cFM3, Sound_C7_FM3, $07, $04 ; FM3 Data Sound_C7_FM3: smpsSetvoice $00 Sound_C7_Loop00: dc.b nEb3, $07, $07, $07 smpsContinuous...
MSP430F541xA_MSP430F543xA_Code_Examples/Assembly_CCS/msp430x54xA_uscia0_uart_02.asm
sususweet/MSP430F541x-MSP430F543x-Code-Examples
0
201949
; --COPYRIGHT--,BSD_EX ; Copyright (c) 2012, Texas Instruments Incorporated ; 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 co...
_build/dispatcher/jmp_ippsDLPGenerateDH_cbc22db9.asm
zyktrcn/ippcp
1
201950
extern m7_ippsDLPGenerateDH:function extern n8_ippsDLPGenerateDH:function extern y8_ippsDLPGenerateDH:function extern e9_ippsDLPGenerateDH:function extern l9_ippsDLPGenerateDH:function extern n0_ippsDLPGenerateDH:function extern k0_ippsDLPGenerateDH:function extern ippcpJumpIndexForMergedLibs extern ippcpSafeInit:funct...
src/network/http.asm
Pentium1080Ti/x86-assembly
0
201951
%include 'src/include/functions.asm' SECTION .data request db 'GET / HTTP/1.1', 0Dh, 0Ah, 'Host: 172.16.58.3:80', 0Dh, 0Ah, 0Dh, 0Ah, 0h SECTION .bss buffer resb 1 ; for response SECTION .text global _start _start: xor eax, eax xor ebx, ebx xor edi, edi _socket: push byte 6 push...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_6285_892.asm
ljhsiun2/medusa
9
201952
<reponame>ljhsiun2/medusa<filename>Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_6285_892.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r15 push %rcx push %rdi push %rsi lea addresses_A_ht+0x65a5, %rsi lea addresses_D_ht+0x12391, %rdi nop nop nop xo...
src/SlimShader.VirtualMachine.Tests/Shaders/CS/Simple.asm
tgjones/slimshader
125
201953
<filename>src/SlimShader.VirtualMachine.Tests/Shaders/CS/Simple.asm<gh_stars>100-1000 // // Generated by Microsoft (R) HLSL Shader Compiler 9.29.952.3111 // // // fxc /T cs_5_0 /Fo Simple.o /Fc Simple.asm Simple.hlsl /E main // // // Resource Bindings: // // Name Type Format D...
Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_935.asm
ljhsiun2/medusa
9
201955
<filename>Transynther/x86/_processed/NONE/_xt_sm_/i7-7700_9_0x48_notsx.log_21829_935.asm<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r10 push %r11 push %r8 push %rbp push %rbx push %rcx push %rdx lea addresses_normal_ht+0x18ced, %r8 nop nop nop nop nop xor %rdx, %rdx movb (%r8), %bl nop nop nop nop...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2.log_4068_1745.asm
ljhsiun2/medusa
9
201958
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r15 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0xd550, %r10 nop nop nop nop lfence mov (%r10), %r12 nop nop nop nop nop sub %rsi, %rsi lea addresses_WT_ht+0x1c196, %rax nop nop nop nop and %r15, %r15 mov (%rax), %...
programs/oeis/024/A024306.asm
neoneye/loda
22
201959
; A024306: a(n) = s(1)t(n) + s(2)t(n-1) + ... + s(k)t(n+1-k), where k=[ (n+1)/2) ], s = (natural numbers >= 2), t = (natural numbers >= 3). ; 6,8,22,27,52,61,100,114,170,190,266,293,392,427,552,596,750,804,990,1055,1276,1353,1612,1702,2002,2106,2450,2569,2960,3095,3536,3688,4182,4352,4902,5091,5700,5909,6580,6810,7546,...
oeis/164/A164656.asm
neoneye/loda-programs
11
201960
; A164656: Numerators of partial sums of Theta(5) = sum( 1/(2*j-1)^5, j=1..infinity ). ; Submitted by <NAME> ; 1,244,762743,12820180976,3115356499043,501734380891571068,186290962962179367466549,186291207179611798681792,264507060005034822095008296869,654945930087597102815813733559637156,654946089730308117005814730177159...
src/test/ref/code-after-return.asm
jbrandwood/kickc
2
201961
// Test code after return in main() // Commodore 64 PRG executable file .file [name="code-after-return.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef Data [startAfter="Code"] .segment Basic :BasicUpstar...
src/boot/boot.asm
WaterDev-25/Rubis-OS
4
201963
[org 0x7c00] [bits 16] KERNEL_LOCATION equ 0x8000 mov [BOOT_DISK], dl xor ax, ax mov es, ax mov ds, ax mov bp, 0x8000 mov sp, bp mov bx, KERNEL_LOCATION mov dh, 50 call disk_read after_disk_read: mov ah, 0x0 ; clear screen and set text mode mov al, 0x3 int 0x10 ;Set video mode ;mov ax, 4f...
hello.asm
bySabi/helloworld_nasm_c
0
201964
<reponame>bySabi/helloworld_nasm_c bits 32 extern printf global hello global maxofthree section .data message db "Hello world!!", 10, 0 section .text hello: pushad push dword message call printf add esp, 4 popad ret maxofthree: mov eax, [esp+4] mov ecx, [esp+8] mov edx, [esp+12] cmp eax, ecx cmovl...
libsrc/_DEVELOPMENT/temp/sp1/zx/c/sdcc_ix/sp1_DrawUpdateStructIfInv_fastcall.asm
jpoikela/z88dk
640
201965
<gh_stars>100-1000 ; sp1_DrawUpdateStructIfInv(struct sp1_update *u) SECTION code_clib SECTION code_temp_sp1 PUBLIC _sp1_DrawUpdateStructIfInv_fastcall EXTERN asm_sp1_DrawUpdateStructIfInv _sp1_DrawUpdateStructIfInv_fastcall: push ix call asm_sp1_DrawUpdateStructIfInv pop ix ret
Source/Nostromo/Pixel.asm
benryves/Nostromo
0
201966
<gh_stars>0 .module Pixel Code: ;-----> Get pixel information ; input: e=y coordinate ; a=x coordinate ; output: a holds data for pixel (e.g. %00100000) ; hl->byte where pixel is on the gbuf GetInformation: ld d,$00 ld h,d ld l,e add hl,de add hl,de add hl,hl add hl,hl ld de,plotSScreen add...
modules/librm/dispatch.nasm
r-tty/radios
0
201967
<reponame>r-tty/radios<gh_stars>0 ;------------------------------------------------------------------------------ ; dispatch.nasm - dispatching routines. ;------------------------------------------------------------------------------ module librm.dispatch importproc _ChannelCreate, _ChannelDestroy importproc _malloc,...
AOC/Meus Exercicios/Aula13/meuBinario.asm
joao-frohlich/BCC
10
201968
meuBinario: file format elf64-x86-64 Disassembly of section .init: 00000000000004b8 <_init>: 4b8: 48 83 ec 08 sub rsp,0x8 4bc: 48 8b 05 25 0b 20 00 mov rax,QWORD PTR [rip+0x200b25] # 200fe8 <__gmon_start__> 4c3: 48 85 c0 test rax,rax 4c6: 74 02 je 4...