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
src/asm/patch.asm
GeekJoystick/mmagedit
9
41402
INCLUDE "pre.asm" INCLUDE "defs.asm" ; addresses ifdef MAPPERMAGES INCLUDE "mappermages.asm" endif ; ------------------------------------------------------------------------------ BANK 0 BASE $8000 FROM $8BE5 ; calculates screen y position of object X. calc_screen_y: FROM $8B4D create_actor_at_actor: FROM $8...
lab01/xv6-master/usertests.asm
ahchu1993/opsys
0
41403
_usertests: file format elf32-i386 Disassembly of section .text: 00000000 <opentest>: // simple file system tests void opentest(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 ec 28 sub $0x28,%esp int fd; printf(stdout, "op...
rdoff/test/rdtlib.asm
bitwiseworks/nasm-os2
3
41406
<filename>rdoff/test/rdtlib.asm ;; library functions for rdtmain - test of rdx linking and execution ;; library function = _strcmp, defined as in C [SECTION .text] [BITS 32] [GLOBAL _strcmp] _strcmp: push ebp mov ebp,esp ;; ebp+8 = first paramater, ebp+12 = second mov esi,[ebp+8] mov edi,[ebp...
programs/oeis/011/A011195.asm
karttu/loda
0
41407
; A011195: a(n) = n*(n+1)*(2*n+1)*(3*n+1)/6. ; 0,4,35,140,390,880,1729,3080,5100,7980,11935,17204,24050,32760,43645,57040,73304,92820,115995,143260,175070,211904,254265,302680,357700,419900,489879,568260,655690,752840,860405,979104,1109680,1252900,1409555,1580460,1766454,1968400,2187185,2423720,2678940,2953804,3249295,...
programs/oeis/177/A177444.asm
neoneye/loda
22
41408
<filename>programs/oeis/177/A177444.asm ; A177444: Triangle by columns, (1, 1, 0, 1, 0, 0, 0,...); shifted down twice for columns >0. ; 1,1,0,0,1,0,1,1,0,0,0,0,1,0,0,0,1,1,0,0,0,0,0,0,1,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0 seq $0,114327 ; Table T(n,m) = n - m read by upward...
Examples/2048.asm
Pyxxil/rust-lc3-as
3
41409
;-------------------------------------------------------------------------- ; ; Program: 2048.asm ; Final Project ; Name: <NAME> ; Class: CS2810 ; Date: 5 Dec 2014 ; Version: 1.0 ; ; Ethics: I declare that the following source code was written ; solely by me. I understand that copying any source ; code, in whole or in ...
oeis/133/A133444.asm
neoneye/loda-programs
11
41410
; A133444: a(n)=sum{k=0..n, C(n,floor(k/2))*(-1)^k*4^(n-k)}. ; Submitted by <NAME> ; 1,3,14,57,246,1038,4424,18777,79846,339258,1442004,6128202,26045436,110691948,470442924,1999378137,8497365126,36113785698,153483619604,652305322542,2772297736276,11782265148228,50074627320864,212817165231882,904472953925596,38440100508...
demos/minidemo/demo03.asm
42Bastian/new_bll
4
41411
<reponame>42Bastian/new_bll<filename>demos/minidemo/demo03.asm<gh_stars>1-10 DOUBLEBUFFER set 1 ; 1 = double-buffering DEBUG set 1 ; if defined BLL loader is included ;>BRKuser set 1 ; define if you want to use debugger Baudrate set 62500 include <includes/hardware.inc> ...
Transynther/x86/_processed/US/_zr_/i7-7700_9_0x48_notsx.log_21829_706.asm
ljhsiun2/medusa
9
41412
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %rbx push %rcx push %rsi // Faulty Load lea addresses_US+0xea52, %rsi clflush (%rsi) nop and $20796, %r10 mov (%rsi), %ebx lea oracles, %r10 and $0xff, %rbx shlq $12, %rbx mov (%r10,%rbx,1), %rbx pop %rs...
src/play/players.asm
1888games/golf
1
41415
; Top-hole Golf ; Copyright 2020-2021 <NAME> players_c_BEGIN = * ; ***************** ; *** CONSTANTS *** ; ***************** players_c_MAX_N = 4 players_c_MALE = 0 players_c_FEMALE = 1 players_c_JOY2 = 0 players_c_JOY1 = 1 ; Even holes 4 players, even holes 2 players, odd holes 4 players, ; odd h...
y2s2/csa/practicals/prac-3/extra/p3-extra5.asm
ouldevloper/university
8
41417
<reponame>ouldevloper/university ; Given the thing in .DATA, display in uppercase .MODEL SMALL .STACK 100 .DATA CHAR DB "m" .CODE MAIN PROC MOV AX,@DATA MOV DS,AX ; Put the rest of your code here MOV AH, 02H MOV DL, CHAR SUB DL, "a" ADD DL, "A" INT 21H MOV AX,4C0...
src/test/ref/union-0.asm
jbrandwood/kickc
2
41418
// Minimal union with C-Standard behavior // Commodore 64 PRG executable file .file [name="union-0.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 :BasicUpstart(ma...
Transynther/x86/_processed/AVXALIGN/_zr_/i3-7100_9_0xca_notsx.log_21829_497.asm
ljhsiun2/medusa
9
41420
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r13 push %r9 push %rax push %rcx push %rdi push %rsi lea addresses_normal_ht+0x1e54, %r10 add %r13, %r13 mov (%r10), %r9 nop nop nop xor $24654, %r13 lea addresses_normal_ht+0x7614, %rsi lea addresses_A_ht+0xfdf4, %rdi nop inc %rax mov $35, %rcx rep...
oeis/263/A263806.asm
neoneye/loda-programs
11
41422
; A263806: Decimal representation of the n-th iteration of the "Rule 157" elementary cellular automaton starting with a single ON (black) cell. ; Submitted by <NAME>(s2) ; 1,3,7,47,95,703,1407,11007,22015,175103,350207,2797567,5595135,44744703,89489407,715849727,1431699455,11453333503,22906667007,183252287487,366504574...
Transynther/x86/_processed/AVXALIGN/_ht_zr_/i7-7700_9_0x48_notsx.log_5_1765.asm
ljhsiun2/medusa
9
41423
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r9 push %rax push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0xefc3, %rax nop nop nop nop nop inc %rbp movl $0x61626364, (%rax) add $58532, %r14 lea addresses_WC_ht+0x8697, %r12 nop nop nop nop nop xor %rax, %rax movb $0x61, (%r...
asm/test_misc.asm
yoshiki9636/stackmachine
0
41424
<filename>asm/test_misc.asm<gh_stars>0 ; Others tests ; by yoshiki9636 NOP PUSH I 00 OUT 00 :loop1 PUSH I 03 PUSH I 04 POP POP ADD AB POP CMP I 07 JMP Z loop2 JMP IM loop1 :loop2 PUSH I 01 OUT 00 PUSH I 09 PUSH I 07 POP POP SUB AB PUSH I 02 POP POP CMP AB JMP Z loop3 JMP IM loop2 :loop3 PUSH I 02 OUT 00 PUSH I f0 PUS...
libsrc/_DEVELOPMENT/math/float/math32/c/sdcc/cm32_sdcc___fseq_callee.asm
ahjelm/z88dk
640
41425
SECTION code_fp_math32 PUBLIC cm32_sdcc___fseq_callee EXTERN cm32_sdcc_fsreadr_callee EXTERN m32_compare_callee ; Entry: stack: float right, float left, ret cm32_sdcc___fseq_callee: call cm32_sdcc_fsreadr_callee ;Exit dehl = right call m32_compare_callee scf ret z ccf dec ...
I3A/eclipse-workspace-java/ASM (Esercitazione)/src/AsmetaS/coffeeVendingMachine.asm
samuelexferri/unibg-workspace
0
41426
<filename>I3A/eclipse-workspace-java/ASM (Esercitazione)/src/AsmetaS/coffeeVendingMachine.asm asm coffeeVendingMachine //Una macchinetta automatica dispensa caffe', te' e latte. La macchinetta accetta solo //monete da 50 centesimi e da 1 euro. Se viene inserita una moneta da 50 centesimi, la //macchinetta dispensa lat...
oeis/171/A171089.asm
neoneye/loda-programs
11
41427
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A171089: a(n) = 2*(Lucas(n)^2 - (-1)^n)). ; Submitted by <NAME>(s3) ; 6,4,16,34,96,244,646,1684,4416,11554,30256,79204,207366,542884,1421296,3720994,9741696,25504084,66770566,174807604,457652256,1198149154,3136795216,8212236484,21499914246,56287506244,147362604496,38580...
Transynther/x86/_processed/NONE/_zr_/i7-8650U_0xd2.log_21829_1660.asm
ljhsiun2/medusa
9
41429
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r13 push %rax push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x1904d, %r10 nop dec %rbp movb (%r10), %dl nop nop cmp %rdx, %rdx lea addresses_normal_ht+0x42cd, %rax nop nop nop xor $37253, %rdi mov (%rax), %cx ...
Palmtree.Math.Core.Implements/vs_build/x86_Release/pmc_divrem.asm
rougemeilland/Palmtree.Math.Core.Implements
0
41430
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1 TITLE Z:\Sources\Lunor\Repos\rougemeilland\Palmtree.Math.Core.Implements\Palmtree.Math.Core.Implements\pmc_divrem.c .686P .XMM include listing.inc .model flat INCLUDELIB MSVCRT INCLUDELIB OLDNAMES PUBLIC _DivRem_X_1W PUBLIC _DivRem_...
player/DrawText.asm
gyuque/snes-qspc
24
41431
<reponame>gyuque/snes-qspc .setcpu "65816" .autoimport on .include "GlobalVarsAndConsts.inc" .include "utility-macros.inc" .import StrScoreDisp:far .export textClearBG .export textDirectWriteAChar .export textDirectWriteDec2 .export textDirectWriteSZ .export textDirectWriteWordSZ .export textSplitDecimal2C ; .define ...
src/shared/unix/amd64/aes-ni/aes.asm
TomCrypto/Ordo
1
41432
;/===-- aes.asm --------------------*- shared/unix/amd64/aes-ni -*- ASM -*-===*/ ; AES-NI implementation ;/===----------------------------------------------------------------------===*/ BITS 64 global aes_forward_ASM:function hidden global aes_inverse_ASM:function hidden section .text aes_forward_ASM: MOVDQU ...
sources/bfasm.asm
timo-cmd/bfasm
1
41433
<reponame>timo-cmd/bfasm ;; bfasm.asm: Copyright (C) 2019-2021 <NAME> <<EMAIL>> ;; Licensed under the terms of the Creative Commons License version 1. ;; ;; To build: ;; nasm -f bin -o bfasm bfasm.asm ;; To use: ;; bfasm < foo.bf > foo.out ;; BITS 32 ;; Definition of the Size which should be applied to ;; the data a...
programs/oeis/295/A295906.asm
neoneye/loda
22
41434
<reponame>neoneye/loda<gh_stars>10-100 ; A295906: Number of (not necessarily maximum) cliques in the n X n king graph. ; 2,16,50,104,178,272,386,520,674,848,1042,1256,1490,1744,2018,2312,2626,2960,3314,3688,4082,4496,4930,5384,5858,6352,6866,7400,7954,8528,9122,9736,10370,11024,11698,12392,13106,13840,14594,15368,16162...
src/test/ref/struct-ptr-9.asm
jbrandwood/kickc
2
41435
<gh_stars>1-10 // Minimal struct - array access with struct value copying (and initializing) // Commodore 64 PRG executable file .file [name="struct-ptr-9.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .segmentdef...
oeis/345/A345069.asm
neoneye/loda-programs
11
41436
<gh_stars>10-100 ; A345069: Sums of two consecutive even-indexed primes. ; Submitted by <NAME>(s2) ; 10,20,32,48,66,80,96,114,132,150,168,190,208,220,244,270,290,314,336,354,374,392,422,452,468,490,514,534,552,574,604,628,654,686,708,732,756,780,806,830,854,876,900,920,942,970,994,1024,1062,1098,1126,1146,1170,1194,121...
constants/map_data_constants.asm
opiter09/ASM-Machina
1
41440
; width of east/west connections ; height of north/south connections MAP_BORDER EQU 3 ; connection directions const_def shift_const EAST ; 1 shift_const WEST ; 2 shift_const SOUTH ; 4 shift_const NORTH ; 8 ; flower and water tile animations const_def const TILEANIM_NONE ; 0 const TILEANIM_WATER...
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/exp10_fastcall.asm
jpoikela/z88dk
0
41441
<reponame>jpoikela/z88dk SECTION code_fp_math32 PUBLIC exp10_fastcall EXTERN _m32_exp10f defc exp10_fastcall = _m32_exp10f ; SDCC bridge for Classic IF __CLASSIC PUBLIC _exp10_fastcall defc _exp10_fastcall = exp10_fastcall ENDIF
programs/oeis/169/A169810.asm
neoneye/loda
22
41442
; A169810: a(n) = n XOR n^2. ; Coded manually 2021-03-30 by <NAME>, https://github.com/neoneye ; 0,0,6,10,20,28,34,54,72,88,110,114,156,164,202,238,272,304,342,378,388,428,498,518,600,616,702,706,780,852,922,990,1056,1120,1190,1258,1332,1404,1410,1494,1640,1720,1742,1810,1980,1988,2154,2190,2352,2384,2550,2586 mov $5,...
programs/oeis/076/A076110.asm
neoneye/loda
22
41443
<filename>programs/oeis/076/A076110.asm ; A076110: Triangle (read by rows) in which the n-th row contains first n terms of an arithmetic progression with first term 1 and common difference (n-1). ; 1,1,2,1,3,5,1,4,7,10,1,5,9,13,17,1,6,11,16,21,26,1,7,13,19,25,31,37,1,8,15,22,29,36,43,50,1,9,17,25,33,41,49,57,65,1,10,19...
_external/codex/src/shared/native/base/compiler_dependent/memlib/X64/CxMemSet.asm
fengjixuchui/napoca
170
41444
<gh_stars>100-1000 ;------------------------------------------------------------------------------ ; ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR> ; This program and the accompanying materials ; are licensed and made available under the terms and conditions of the BSD License ; which accompanies thi...
programs/oeis/135/A135560.asm
jmorken/loda
1
41445
; A135560: a(n) = A007814(n) + A036987(n-1) + 1. ; 2,3,1,4,1,2,1,5,1,2,1,3,1,2,1,6,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,7,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,8,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,6,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,5,1,2,1,3,1,2,1,4,1,2,1,3,1,2,1,9,1,2,1,3,1,2,1...
src/exit.asm
PrivacyDragon/cesium
0
41446
; Copyright 2015-2020 Matt "MateoConLechuga" Waltz ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are met: ; ; 1. Redistributions of source code must retain the above copyright notice, ; this list of conditions and the fol...
DiskChange.asm
piru/pfs3aio
35
41447
; $Id: DiskChange.asm 10.2 1998/05/27 20:16:13 Michiel Exp Michiel $ ; $Log: DiskChange.asm $ ;; Revision 10.2 1998/05/27 20:16:13 Michiel ;; Overdue update ;; ;; Revision 10.1 1994/10/24 11:28:41 Michiel ;; First RCS revision ;; * diskhandler.asm include "include:exec/types.i" include "include:exec/funcdef.i...
levels/processed/lvl5_tiles.asm
cppchriscpp/ld38
4
41448
.export _lvl5 _lvl5: .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 .byte 1, 1, 1, 1, 1, 1, 1, 1, 1,...
Transynther/x86/_processed/AVXALIGN/_st_sm_/i7-7700_9_0x48.log_21829_50.asm
ljhsiun2/medusa
9
41449
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r15 push %r8 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_WC_ht+0x151c3, %rsi lea addresses_WC_ht+0x4073, %rdi nop xor $24387, %r15 mov $78, %rcx rep movsb nop nop nop inc %r11 lea addresses_A_ht+0x1bd3f, %rsi lea addresses_normal_ht+0x1ca7...
testing/kernel.asm
the-grue/Pure64
1
41450
; ============================================================================= ; Pure64 -- a 64-bit OS/software loader written in Assembly for x86-64 systems ; Copyright (C) 2018 Return Infinity -- see LICENSE.TXT ; ; Test Kernel ; ============================================================================= ; This i...
programs/oeis/107/A107418.asm
neoneye/loda
22
41451
; A107418: a(n) = C(n+3,3)*C(n+6,6). ; 1,28,280,1680,7350,25872,77616,205920,495495,1101100,2290288,4504864,8446620,15193920,26356800,44279424,72299997,115079580,179012680,272734000,407737330,599124240,866502000,1235052000,1736791875,2412056556,3311225568,4496726080,6045343480,8050873600,10627153152,13911507456,1806865...
working/m12-battle-commands.asm
Imavoyc/Mother2Gba-chs
0
41453
<gh_stars>0 .org 0x8C04460 :: .incbin "m12-battle-commands.bin" .definelabel m12_battle_commands_str0,0x8C04460 .org 0x80DBFB0 :: dw 0x08C04460 .org 0x80DC2A0 :: dw 0x08C04460 .org 0x80DC310 :: dw 0x08C04460 .org 0x80DC6C0 :: dw 0x08C04460 .org 0x80DC780 :: dw 0x08C04460 .org 0x80DC828 :: dw 0x08C04460 .org 0x80DC8F0 ...
Bootloader/Stage2/A20.asm
Archlisk/fos2
0
41454
<gh_stars>0 [BITS 16] SECTION .text a20_kb_enable: push ax cli call .wait mov al, 0xad out 0x64, al call .wait mov al, 0xd0 out 0x64, al call .wait2 in al, 0x60 push eax call .wait mov al, 0xd1 out 0x64, al call .wait pop eax or al, 2 out 0x60, al call .wait mov al, 0xae out 0x64, al call ...
oeis/316/A316256.asm
neoneye/loda-programs
11
41455
; A316256: Decimal expansion of the middle x such that 1/x + 1/(x+2) + 1/(x+4) = 3. ; Submitted by <NAME> ; 1,6,8,3,7,6,1,8,3,6,6,7,8,0,3,4,3,1,2,9,0,6,6,5,2,5,9,4,2,5,1,7,0,2,6,1,6,4,7,6,3,3,7,0,8,9,7,9,4,2,7,6,1,5,3,6,1,4,9,2,7,3,0,0,2,9,0,8,2,1,5,3,6,3,3,6,9,2,6,8,6,1,0,2,3,9 mov $1,1 mov $3,$0 mul $3,4 lpb $3 mo...
programs/oeis/001/A001779.asm
neoneye/loda
22
41456
<gh_stars>10-100 ; A001779: Expansion of 1/((1+x)(1-x)^8). ; 1,7,29,91,239,553,1163,2269,4166,7274,12174,19650,30738,46782,69498,101046,144111,201993,278707,379093,508937,675103,885677,1150123,1479452,1886404,2385644,2993972,3730548,4617132,5678340,6941916,8439021,10204539,12277401,14700927,17523187,20797381,24582239,2...
libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sccz80/tshc_cls_wc_callee.asm
Frodevan/z88dk
640
41457
<reponame>Frodevan/z88dk<filename>libsrc/_DEVELOPMENT/arch/ts2068/misc/c/sccz80/tshc_cls_wc_callee.asm ; void tshc_cls_wc(struct r_Rect8 *r, uchar attr) SECTION code_clib SECTION code_arch PUBLIC tshc_cls_wc_callee EXTERN asm_tshc_cls_wc tshc_cls_wc_callee: pop af pop hl pop ix push af jp asm_tshc_cls_wc...
mbr/stack.asm
icecoobe/oslab
52
41458
;; About func calling and so-called stack frame. ;; ;; <High address> ;; ____________ ;; | | ;; |____________| ;; | | <--- sp after return ;; |____________|___________________________________ ;; | p1 | | ;; |____________| | ;; | p2 | | ;; |____________| O ;; | p3 | ...
Windows/FastFind16.asm
clayne/FastExtrema
6
41459
; /******************************************************************* ; * ; * Author: <NAME> ; * <EMAIL> ; * https://github.com/komrad36 ; * ; * Last updated Mar 12, 2021 ; *******************************************************************/ _TEXT$FastFind16 SEGMENT ALIGN(64) FastFind16 PROC vmovd ...
printArray.asm
BCDeshiG/MIPS-print-array
0
41460
.text la $s0, MY_INT_ARRAY_LEN lw $s0, 0($s0) # s0: MY_INT_ARRAY_LEN addi $t0, $zero, 0 # t0: to hold the "index" of the next array entry la $t1, MY_INT_ARRAY # t1: to hold the "address" of the next array entry initialised # to the address of the first byte of the array NEXT_ARRAY_PRINT: beq $t0, $...
oeis/082/A082344.asm
neoneye/loda-programs
11
41461
<reponame>neoneye/loda-programs<filename>oeis/082/A082344.asm ; A082344: Denominator of sopfr(n)/n, where sopfr=A001414 is the sum of prime factors (with repetition). ; Submitted by <NAME> ; 1,1,1,1,1,6,1,4,3,10,1,12,1,14,15,2,1,9,1,20,21,22,1,8,5,26,3,28,1,3,1,16,33,34,35,18,1,38,39,40,1,7,1,44,45,46,1,48,7,25,51,52,1...
STM8S105C6T6/Assembler/Project_2/General.asm
edosedgar/stm8s
2
41463
<reponame>edosedgar/stm8s STM8/ #include "STM8S105C6.asm" #include "RAMVars.asm" #include "MatrixKeyboard.asm" #include "LCDNokia.asm" #include "AnalogClock.asm" ;====================================================================== SEGMENT 'INTERRUPT' JPF InitMemory ; $8000 RESET Reset J...
oeis/128/A128040.asm
neoneye/loda-programs
11
41464
; A128040: a(n) = product of the primes which are <= the n-th squarefree positive integer. a(n) also is the LCM of the first n squarefree positive integers. ; Submitted by <NAME> ; 1,2,6,30,30,210,210,2310,30030,30030,30030,510510,9699690,9699690,9699690,223092870,223092870,6469693230,6469693230,200560490130,2005604901...
tests/misc/nested_includes/i36b.asm
cizo2000/sjasmplus
220
41465
INC_DEPTH=0 INCLUDE "i36b_II.i.asm" db "0123456789ABCDEF", 0xFF END Test to check listing file format, focused on line numbering and include-nesting counter. This is similar to "i36" tests, but the include file is using many more colons to pack multiple instructions/expressions on single line, to mak...
Part 5 - Setting up VMCS & Running Guest Code/MyHypervisorDriver/MyHypervisorDriver/Main.asm
avboy1337/Hypervisor-From-Scratch
808
41466
PUBLIC Enable_VMX_Operation PUBLIC Breakpoint PUBLIC STI_Instruction PUBLIC CLI_Instruction PUBLIC INVEPT_Instruction PUBLIC GetCs PUBLIC GetDs PUBLIC GetEs PUBLIC GetSs PUBLIC GetFs PUBLIC GetGs PUBLIC GetLdtr PUBLIC GetTr PUBLIC Get_GDT_Base PUBLIC Get_IDT_Base PUBLIC Get_GDT_Limit PUBLIC Get_IDT_Limi...
programs/oeis/181/A181653.asm
neoneye/loda
22
41468
; A181653: Generalized (conditional) Riordan array with k-th column generated by x^k*(1+x) if k mod 2 = 0, x^k*(1+x+x^2) otherwise. ; 1,1,1,0,1,1,0,1,1,1,0,0,0,1,1,0,0,0,1,1,1,0,0,0,0,0,1,1,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,1,1 mov $1,1 lpb $0 add $1,$0 sub $0,1 sub $1,$0 ...
oeis/142/A142361.asm
neoneye/loda-programs
11
41469
; A142361: Primes congruent to 10 mod 47. ; Submitted by <NAME>(w3) ; 151,433,809,997,1091,1279,1373,2689,2971,3253,3347,3911,4099,4663,5039,5227,5791,6073,6449,6637,7013,7577,8329,8423,8893,9551,9739,9833,10303,10867,11149,11243,11807,12277,12653,12841,13217,13499,13687,13781,14251,14533,14627,15473,15661,16319,16883,...
subtract_two_8_bit_number.asm
amandewatnitrr/microprocessor
0
41470
ORG 000H MOV R1, #40H ;Move Hexadecimal value 40 to R1 Register MOV R2, #30H ;Move Hexadecimal value 40 to R1 Register MOV A, R1 ;Move Subtractend to Accumulator SUBB A, R2 ;Subtract Subtractor from the Subtractend END /*Another method*/ ORG 000H MOV R0,#20H;set 20H to R0 MOV R1,#30H;set destination address 30H to R...
libsrc/_DEVELOPMENT/arch/sms/SMSlib/c/sdcc/UNSAFE_SMS_VRAMmemcpy32_callee.asm
jpoikela/z88dk
640
41471
; void UNSAFE_SMS_VRAMmemcpy32(unsigned int dst,void *src) SECTION code_clib SECTION code_SMSlib PUBLIC _UNSAFE_SMS_VRAMmemcpy32_callee EXTERN asm_SMSlib_UNSAFE_VRAMmemcpy32 _UNSAFE_SMS_VRAMmemcpy32_callee: pop af pop hl pop de push af jp asm_SMSlib_UNSAFE_VRAMmemcpy32
oeis/142/A142797.asm
neoneye/loda-programs
11
41472
; A142797: Primes congruent to 49 mod 60. ; Submitted by <NAME> ; 109,229,349,409,709,769,829,1009,1069,1129,1249,1429,1489,1549,1609,1669,1789,2029,2089,2269,2389,2689,2749,3049,3109,3169,3229,3469,3529,3709,3769,3889,4129,4549,4729,4789,4909,4969,5209,5449,5569,5689,5749,5869,6229,6469,6529,6709,6829,6949,7069,7129,7...
Transynther/x86/_processed/NONE/_zr_xt_/i7-7700_9_0xca_notsx.log_21829_1942.asm
ljhsiun2/medusa
9
41473
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r12 push %r14 push %r8 push %r9 push %rcx push %rdi push %rsi lea addresses_D_ht+0x2e15, %r12 nop nop sub $53484, %rsi vmovups (%r12), %ymm6 vextracti128 $0, %ymm6, %xmm6 vpextrq $1, %xmm6, %r8 nop nop nop and %r10, %r10 lea addresse...
Kernel/asm/semaphoreCheck.asm
juangod1/SO-TP2
1
41474
<gh_stars>1-10 section .txt BITS 64 GLOBAL semaphoreCheck semaphoreCheck: push rbp mov rbp, rsp mov eax, 1 mov ecx, 0 lock cmpxchg [rdi], ecx je FAIL mov eax, 0 jmp END FAIL: mov eax, 1 END: mov rsp, rbp pop rbp ret
oeis/339/A339609.asm
neoneye/loda-programs
11
41475
; A339609: Consider a triangle drawn on the perimeter of a triangular lattice with side length n. a(n) is the number of regions inside the triangle after drawing unit circles centered at each lattice point inside the triangle. ; Submitted by <NAME>(s1) ; 0,0,4,10,22,39,61,88,120,157,199,246,298,355,417,484,556,633,715,...
programs/oeis/312/A312943.asm
karttu/loda
0
41476
<reponame>karttu/loda ; A312943: Coordination sequence Gal.4.41.2 where G.u.t.v denotes the coordination sequence for a vertex of type v in tiling number t in the Galebach list of u-uniform tilings. ; 1,4,9,13,18,23,27,32,36,40,45,49,54,59,63,68,72,76,81,85,90,95,99,104,108,112,117,121,126,131,135,140,144,148,153,157,1...
risc-v/lab/multi-timers.asm
tangfeixiong/learningclang
1
41478
<filename>risc-v/lab/multi-timers.asm .equ CSR_USTATUS, 0 # CSR ustatus .equ CSR_UIE, 4 # CSR uie .equ CSR_UTVEC, 5 # CSR utvec .equ CSR_UCAUSE, 66 # CSR ucause .equ USER_IE, 0x00000001 # User level interrupts enabled...
malban/Release/VRelease/VTK_GameOverMusikAKS.asm
mikepea/vectrex-playground
5
41479
; this file is part of Release, written by Malban in 2017 ; ; This file was build using VIDE - Vectrex Integrated Development Environment ; Original bin file was: projects/VRelease/VTK_GameOverMusik.bin ; ; offset for AKS file assumed: $0000 guessed by accessing byte data[13] * 256) ; not used by vectrex player and t...
oeis/064/A064847.asm
neoneye/loda-programs
11
41480
<reponame>neoneye/loda-programs ; A064847: Sequence a(n) such that there is a sequence b(n) with a(1) = b(1) = 1, a(n+1) = a(n) * b(n) and b(n+1) = a(n) + b(n) for n >= 1. ; Submitted by <NAME> ; 1,1,2,6,30,330,13530,5019630,69777876630,351229105131280530,24509789089304573335878465330,860855299915727855099862654963044...
src/00/signals.asm
Willem3141/kernel
251
41483
<reponame>Willem3141/kernel ; KnightOS Signal Management ; For handling communication between threads ; Inputs: A: Target thread ID ; B: Message type ; HL: Message payload ; Adds a signal to the signal queue ;; createSignal [Threading] ;; Signals another thread with a simple message. ;; Inputs...
oeis/066/A066804.asm
neoneye/loda-programs
11
41484
<reponame>neoneye/loda-programs ; A066804: Sum of diagonal elements and those below it for a square matrix of integers, starting with 1. ; Submitted by <NAME>(s1) ; 1,8,34,100,235,476,868,1464,2325,3520,5126,7228,9919,13300,17480,22576,28713,36024,44650,54740,66451,79948,95404,113000,132925,155376,180558,208684,239975,...
Mid-Term/Solution/Lab_Mid/ASM/MidQ5.asm
MohammadSakiL/CSE331L-Section-1-Fall20-NSU
0
41485
.MODEL SMALL .STACK 100H .DATA A DB 1,1,2,2,3,3 B DB 6 DUP(0) .CODE MAIN PROC MOV AX, @DATA MOV DS, AX MOV AL , A[5] MOV B[0], AL MOV AL , A[4] MOV B[1], AL MOV AL , A[3] MOV B[2], AL MOV AL , A[2] MOV B[3], AL MOV AL , A[1] MOV B[4], AL MOV AL ,...
titlescr.asm
AleffCorrea/BrickBreaker
4
41486
<gh_stars>1-10 ;Titlescreen.asm ;Title screen game loop and related functions. INTRO_MAXBULLETS = 8 INTRO_MAXCHARS = 2 INTRO_SPAWNTIME = 25 ;1/2s NTSC Text_00: .db 1 .db "00" .db 1, 0 Intro_StateMachine: .db OPC_ScreenOff .db OPC_DrawRLEBurst .dw $2000, bg_Title_Screen .db OPC_ScreenOn .db OPC_Delay,...
libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/sqrt_fastcall.asm
Frodevan/z88dk
640
41487
<filename>libsrc/_DEVELOPMENT/math/float/math32/lm32/c/sccz80/sqrt_fastcall.asm SECTION code_fp_math32 PUBLIC sqrt_fastcall EXTERN m32_fssqrt_fastcall defc sqrt_fastcall = m32_fssqrt_fastcall ; SDCC bridge for Classic IF __CLASSIC PUBLIC _sqrt_fastcall defc _sqrt_fastcall = m32_fssqrt_fastcall ENDIF...
oeis/142/A142671.asm
neoneye/loda-programs
11
41488
; A142671: Primes congruent to 10 mod 57. ; Submitted by <NAME> ; 67,181,409,523,751,1093,1321,1549,1663,1777,2347,2689,2803,2917,3259,3373,3943,4057,4513,4969,5197,5653,5881,6337,6451,6679,6793,6907,7477,7591,7933,8161,8389,8731,9187,9643,9871,10099,11239,11353,11467,11923,12037,12379,12721,13063,13177,13291,13633,144...
res/08.sort.asm
francesquini/minips
4
41489
<filename>res/08.sort.asm .data x_len: .word 10 x: .word 2, 1, 5, 9, 7, 8, 4, 0, 3, 6 prompt1: .asciiz "Vetor antes: " prompt2: .asciiz "Vetor depois: " .text j main nop separa: addiu $sp,$sp,-32 sw $fp,28($sp) move $fp,$sp sw $4,32($fp) sw $5,36($fp) ...
iod/con2/ptr/rptr.asm
olifink/smsqe
0
41490
* Find pointer position V1.07  1985 <NAME> QJUMP * section driver * xdef pt_rptr * xref pt_pick * include dev8_keys_con include dev8_keys_k include dev8_keys_err include dev8_keys_sys include dev8_keys_chn include dev8_keys_jcbq include dev8_keys_qlv include dev8_keys_qdos_pt include 'dev8_mac_assert'...
Gonduls/05/problem2.asm
Tommimon/advent-of-code-2020
3
41491
<gh_stars>1-10 .data .eqv FILE_MAX_SIZE 9382 # used to set buffer size for reading .eqv LETTERS_AMOUNT 10 .eqv LETTERS_AMOUNT_BYTE 12 # add 2: "\n" and misterious char .eqv LINES 782 .eqv L_F 70 .eqv L_B 66 .eqv L_L 75 .eqv L_R 82 .eqv L_O 79 .eqv L_V 86 BUFFER: .space FILE_MAX_SIZE BUFFER_LINE: .asciiz "0000000000...
oeis/337/A337140.asm
neoneye/loda-programs
11
41492
<reponame>neoneye/loda-programs<gh_stars>10-100 ; A337140: Numbers n = a + b with a and b positive integers such that their product a*b = k^2 is a square. ; Submitted by <NAME> ; 2,4,5,6,8,10,12,13,14,15,16,17,18,20,22,24,25,26,28,29,30,32,34,35,36,37,38,39,40,41,42,44,45,46,48,50,51,52,53,54,55,56,58,60,61,62,64,65,66...
Transynther/x86/_processed/NONE/_xt_/i7-8650U_0xd2_notsx.log_10895_432.asm
ljhsiun2/medusa
9
41494
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r13 push %r8 push %rbx push %rsi // Faulty Load lea addresses_WC+0xb40e, %r8 nop nop and $62088, %rbx movups (%r8), %xmm4 vpextrq $0, %xmm4, %rsi lea oracles, %r13 and $0xff, %rsi shlq $12, %rsi mov (%r13,%rsi,1)...
zombie.asm
dylsugar/cs461_hw5
0
41495
_zombie: file format elf64-x86-64 Disassembly of section .text: 0000000000001000 <main>: #include "stat.h" #include "user.h" int main(void) { 1000: f3 0f 1e fa endbr64 1004: 55 push %rbp 1005: 48 89 e5 mov %rsp,%rbp if(fork() > 0) 1008: 48 b8 6b...
kernel/misc.asm
flex1988/bingos
6
41497
<reponame>flex1988/bingos [GLOBAL copy_page_physical] copy_page_physical: push ebx pushf cli mov ebx,[esp+12] mov ecx,[esp+16] mov edx,cr0 and edx,0x7fffffff mov cr0,edx mov edx,1024 .loop mov eax,[ebx] mov [ecx],eax add ebx,4 add ecx,4 dec edx jnz .loop mov edx,cr0 or edx,0x80000000 mov cr0...
smsq/q68/int.asm
olifink/smsqe
0
41498
; Q68 Interrupt server V1.02 (c) <NAME> 2016 ; ; based on ; SMSQmulator Interrupt server V1.00 (c) <NAME> 2012 ; ; 2018-11-22 1.02 correct nbr of ticks (49, not 50) for clock counter (wl) section qd xdef q68_int2 xdef q68_int2h xref spp_rxser include 'dev8_keys_sys' include 'dev8_keys_psf' include 'dev8_k...
source/boot/trampoline.asm
Rudster816/wnos
1
41499
bits 16 org 0x1000 ap_trampoline: cli xor eax, eax mov ds, ax mov WORD [GDT_Limit], 23 mov ax, GDT_Long mov DWORD [GDT_Base], eax mov eax, 10100000b mov cr4, eax mov edx, 0x50000 mov cr3, edx mov ecx, 0xC0000080 rdmsr or eax, 0x00000100 wrmsr mov ebx, cr0 or ebx, 0x80000001 ...
src/bootloader/stage1/stage1.asm
StrBrkrs-NullException/NoolOS
5
41500
<gh_stars>1-10 bits 16 org 0x7C00 jmp short Main nop times 3-($-$$) dd 0 %include 'bootloader/stage1/bpb.asm' Main: ;clear screen mov ax, 2 int 10h ;print message 1 mov si, msg call Print ;reset floppy xor ax, ax mov dl, BYTE [BootDriveNum] int 13h ;prepare buffer mov ax, 0x07E0 mo...
pwnlib/shellcraft/templates/aarch64/infloop.asm
mtdcr/pwntools
7
41501
<% from pwnlib.shellcraft import common %> <%docstring> An infinite loop. Example: >>> io = run_assembly(shellcraft.infloop()) >>> io.recvall(timeout=1) '' >>> io.close() </%docstring> <% infloop = common.label("infloop") %> ${infloop}: b ${infloop}
Transynther/x86/_processed/NC/_st_zr_un_sm_/i9-9900K_12_0xca_notsx.log_11965_1890.asm
ljhsiun2/medusa
9
41502
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rcx push %rdi push %rsi lea addresses_WT_ht+0x1904, %rsi lea addresses_normal_ht+0x12174, %rdi nop nop inc %r12 mov $65, %rcx rep movsl nop nop nop nop nop xor %r15, %r15 lea addresses_WT_ht+0x177a4, %r11 xor %r8, %...
45/qb/ir/rsalpha.asm
minblock/msdos
0
41503
<filename>45/qb/ir/rsalpha.asm<gh_stars>0 TITLE RsAlpha.asm - Alphabetical Register Set Functions ;========================================================================== ; ;Module: RsAlpha.asm - Alphabetical Register Set Functions ;System: Quick BASIC Interpreter ;SubSystem: Register Set Manager ; ;===========...
init.asm
jieun-cloud/xv6-file
1
41504
_init: file format elf32-i386 Disassembly of section .text: 00000000 <main>: char *argv[] = { "sh", 0 }; int main(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 53 push %ebx 7: 83 ec...
src/tocompress/story-image3.asm
santiontanon/talesofpopolon-ext
4
41506
org #0000 db 0,3,31,7,127,0,63,0 db 31,0,0,240,0,223,223,143 db 231,231,195,195,129,129,36,0 db 248,0,7,0,224,251,251,241 db 0,192,248,254,31,0,0,252 db 15,31,0,7,31,1,7,15 db 240,0,0,0,0,0,95,154 db 143,7,175,143,143,7,3,0 db 195,195,195,195,129,129,0,0 db 241,224,245,241,241,224,192,0 db 0,0,0...
decreasoner.macosx/software/relsat-dist/gmp-3.1/mpn/powerpc64/addsub_n.asm
problem-frames/openpf
1
41508
<filename>decreasoner.macosx/software/relsat-dist/gmp-3.1/mpn/powerpc64/addsub_n.asm # PowerPC-64 mpn_addsub_n -- Simultaneous add and sub. # Copyright (C) 1999, 2000 Free Software Foundation, Inc. # This file is part of the GNU MP Library. # The GNU MP Library is free software; you can redistribute it and/or modify...
programs/oeis/123/A123296.asm
karttu/loda
0
41509
; A123296: Number of permutations of n distinct letters (ABCD...) each of which appears 5 times and having n-2 fixed points. ; 0,25,75,150,250,375,525,700,900,1125,1375,1650,1950,2275,2625,3000,3400,3825,4275,4750,5250,5775,6325,6900,7500,8125,8775,9450,10150,10875,11625,12400,13200,14025,14875,15750,16650,17575,18525,...
kernel/file.asm
pixie-grasper/operating-system
1
41510
<reponame>pixie-grasper/operating-system %ifndef FILE_ASM_ %define FILE_ASM_ ; structure ; file = {octet-buffer, info | nil} ; info = {status, [address of the loader]:64} file: .new: call .new.raw id_from_addr a ret .new.raw: pushs d call octet_buffer.new movid d, a call objects.new.raw mov byte ...
oeis/011/A011550.asm
neoneye/loda-programs
11
41512
; A011550: Decimal expansion of sqrt(3) rounded to n places. ; Submitted by <NAME> ; 2,17,173,1732,17321,173205,1732051,17320508,173205081,1732050808,17320508076,173205080757,1732050807569,17320508075689,173205080756888,1732050807568877,17320508075688773,173205080756887729,1732050807568877294,17320508075688772935,17320...
Z80/baslload/string.asm
BleuLlama/LlamaVampireDrive
4
41513
<filename>Z80/baslload/string.asm ; Strings ; Various string utility functions ; ; 2017 <NAME> ; ; This code is free for any use. MIT License, etc. .module Strings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; U_Streq - string equality compare ; compares the string in hl with the string in de ; if e...
programs/oeis/266/A266977.asm
neoneye/loda
22
41515
; A266977: Number of ON (black) cells in the n-th iteration of the "Rule 78" elementary cellular automaton starting with a single ON (black) cell. ; 1,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,14,14,15,15,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,30,30,31,31,32,32,3...
programs/oeis/023/A023781.asm
karttu/loda
0
41516
; A023781: Metadromes: digits in base 13 are in strict ascending order. ; 0,1,2,3,4,5,6,7,8,9,10,11,12,15,16,17,18,19,20,21,22,23,24,25,29,30,31,32,33,34,35,36,37,38,43,44,45,46,47,48,49,50,51,57,58,59,60,61,62,63,64,71,72,73,74,75,76,77,85,86,87,88,89,90,99,100,101,102,103 mov $2,$0 lpb $0,1 add $0,$3 sub $0,8 ...
sprite/main.asm
dusterherz/gb-hello-world
4
41517
<filename>sprite/main.asm INCLUDE "hardware.inc" INCLUDE "sprite.inc" SECTION "Header", rom0[$100] EntryPoint: di jp Start REPT $150 - $104 db 0 ENDR SECTION "Game Code", rom0 Start: .init ld a, [rLY] cp a, 144 jr c, .init .initTiles xor a ; ld a, 0 ld [rLCDC], a ; disable screen...
ppu/stripes.asm
jsmolka/gba-suite
31
41518
<reponame>jsmolka/gba-suite format binary as 'gba' include '../lib/constants.inc' include '../lib/macros.inc' header: include '../lib/header.asm' main: ; Setup DISPCNT mov r0, 1 shl 8 mov r1, MEM_IO str r0, [r1, REG_DISPCNT] ; Setup BG0CNT mov ...
programs/oeis/115/A115567.asm
karttu/loda
0
41519
; A115567: a(n) = C(n,6) + C(n,5) + C(n,4) + C(n,3) + C(n,2) + C(n,1). ; 0,1,3,7,15,31,63,126,246,465,847,1485,2509,4095,6475,9948,14892,21777,31179,43795,60459,82159,110055,145498,190050,245505,313911,397593,499177,621615,768211,942648,1149016,1391841,1676115,2007327,2391495,2835199,3345615,3930550,4598478,5358577,622...
programs/oeis/106/A106825.asm
karttu/loda
1
41520
<reponame>karttu/loda ; A106825: Trajectory of 1 under the morphism 1->1222, 2->2111. ; 1,2,2,2,2,1,1,1,2,1,1,1,2,1,1,1,2,1,1,1,1,2,2,2,1,2,2,2,1,2,2,2,2,1,1,1,1,2,2,2,1,2,2,2,1,2,2,2,2,1,1,1,1,2,2,2,1,2,2,2,1,2,2,2,2,1,1,1,1,2,2,2,1,2,2,2,1,2,2,2,1,2,2,2,2,1,1,1,2,1,1,1,2,1,1,1,1,2,2,2,2,1,1,1,2 cal $0,160385 ; Numbe...
test/asm/call.asm
nigelperks/BasicAssembler
0
41522
<filename>test/asm/call.asm IDEAL SEGMENT image ORG 0100h ASSUME CS:image, DS:image, SS:image, ES:image start: call start call near 0 call near 0ffffh call ahead jmp near 0 call [word bx] call [word di] call [word bp+si-40h] call ...
ASM-Homework/Frame/frame.asm
SokolovVadim/ComputerScience
0
41523
; str 169 .model tiny .code org 100h ;Msg db 'Meow$' ;Msglen equ $ - Msg VIDEOSEG equ 0b800h WFRAME equ 35 ; èšàš­  à ¬ªš HFRAME equ 6 ; ¢ëá®â  à ¬ªš COUNTSPACE...
libsrc/_DEVELOPMENT/alloc/obstack/c/sccz80/obstack_room.asm
meesokim/z88dk
0
41524
; =============================================================== ; Dec 2013 ; =============================================================== ; ; size_t obstack_room(struct obstack *ob) ; ; Number of free bytes available in the obstack. ; ; =============================================================== SECTION cod...
Transynther/x86/_processed/NONE/_zr_/i3-7100_9_0x84_notsx.log_167_2741.asm
ljhsiun2/medusa
9
41526
.global s_prepare_buffers s_prepare_buffers: ret .global s_faulty_load s_faulty_load: push %r10 push %r12 push %r15 push %rbx push %rcx push %rdi push %rdx push %rsi // Store lea addresses_WT+0x1f671, %rbx nop nop and $62480, %r15 movb $0x51, (%rbx) nop xor $26068, %rdi // REPMOV lea addresses_A+0x383, %rsi lea ...