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
scripts/celadonmansion1_2.asm
longlostsoul/EvoYellow
16
209211
Func_f1e70: ld a, $1 ld [wDoNotWaitForButtonPressAfterDisplayingText], a ld hl, CeladonMansion1Text_f1e96 call PrintText callab IsStarterPikachuInOurParty ret nc callab GetFirstMoninWhich call GetPartyMonName2 ;then use TX_RAM wcd6d, gives species name but close enough ld hl, CeladonMansionText_f1e9c call Pri...
libsrc/video/hd44780/lcd_putchar.asm
ahjelm/z88dk
640
209212
SECTION code_driver PUBLIC lcd_putchar PUBLIC _lcd_putchar PUBLIC asm_lcd_putchar EXTERN __console_x EXTERN asm_lcd_get_ddram_addr EXTERN asm_lcd_get_vram_addr EXTERN asm_lcd_write_control EXTERN asm_lcd_write_data INCLUDE "hd44780.def" lcd_putchar: _lcd_putchar: pop bc pop hl push hl push bc ld bc,(__conso...
src/si.asm
DigiDwrf/neon64v2-easybuild
36
209214
<filename>src/si.asm // TODO Controller detection scope SI { Init: jr ra ls_gp(sw r0, si_completion_vector) Interrupt: ls_gp(lw k0, si_completion_vector) beqz k0,+ ls_gp(sw r0, si_completion_vector) // Schedule to run in the interrupt task ls_gp(sw k0, si_callback) lli k0, 1 sw k0, int_cb_needed (r0)...
programs/oeis/123/A123640.asm
neoneye/loda
22
209215
<reponame>neoneye/loda ; A123640: Consider the 2^n compositions of n per row and mark only those ending in an odd part. ; 0,1,0,1,1,0,1,1,0,1,0,0,1,1,1,1,1,0,1,1,0,0,0,0,1,1,1,1,1,1,1,1,0,1,0,0,1,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0 lpb $0 add $1,$0 dif ...
data/mapObjects/BikeShop.asm
AmateurPanda92/pokemon-rby-dx
9
209217
BikeShop_Object: db $e ; border block db 2 ; warps warp 2, 7, 4, -1 warp 3, 7, 4, -1 db 0 ; signs db 3 ; objects object SPRITE_BIKE_SHOP_GUY, 6, 2, STAY, NONE, 1 ; person object SPRITE_MOM_GEISHA, 5, 6, WALK, 1, 2 ; person object SPRITE_BUG_CATCHER, 1, 3, STAY, UP, 3 ; person ; warp-to warp_to 2, 7, BIKE...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48_notsx.log_21829_657.asm
ljhsiun2/medusa
9
209218
.global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %r15 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_D_ht+0x17c29, %rbp nop nop nop nop sub $13059, %r14 mov $0x6162636465666768, %r15 movq %r15, %xmm0 movups %xmm0, (%rbp) nop nop nop nop nop cmp $26677, %rcx lea addresses_UC_ht+0x119...
oeis/312/A312151.asm
neoneye/loda-programs
11
209219
; A312151: Coordination sequence Gal.6.133.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. ; Submitted by <NAME> ; 1,4,8,13,18,23,29,34,39,44,48,52,56,60,65,70,75,81,86,91,96,100,104,108,112,117,122,127,133,138,143,148,152,156,160,16...
asm/tournament.asm
RockmanEXEZone/MMBN45-English-Translation
6
209220
<filename>asm/tournament.asm<gh_stars>1-10 // Use wider tournament labels .org 0x0804794C // Official Tournament label .db 0x02,0x00,0x1A,0x03 // Use wider tilemap for Chip Roulette .org 0x8047DA2 // Load wider tilemap mov r4,0x14 .org 0x804823E // x-position to snap to after slide in mov r6,0xD8 .org 0x8048254...
win32/asm64fpu/extend.asm
c-jullien/lelisp
13
209221
<reponame>c-jullien/lelisp .386p .387 include extend.dat assume cs:FLAT,ds:FLAT,es:FLAT,fs:FLAT,gs:FLAT,ss:FLAT _TEXT segment para use32 public 'CODE' include extend.equ ini_ext proc near ret ini_ext endp _TEXT ends end
asm/mem.asm
Artentus/a32emu
1
209222
DMA_SRC = 0x000 DMA_DST = 0x001 DMA_LEN = 0x002 DMA_DIR = 0x003 ; mem_copy(src: i32*, dst: i32*, len: u32) mem_copy: test a2 br.z .return ; zero length cmp a0, a1 br.eq .return ; src and dst are the same ld t1, 0 cmp a0, a1 br.u.g .copy ; we have to copy backwards shl t0, a2, 2...
hash-table/find_word.asm
ianjohnson/jupiterace
5
209223
<reponame>ianjohnson/jupiterace<filename>hash-table/find_word.asm FIND-WORD: rst $18 ; Pop off Forth stack the address of ; the search string into DE xor a ld b,a ld a,(de) ld c,a ; C is the length of the string inc de ; DE points to string ld hl,($3c33) ; CONTEXT system variable value ...
ftm/sanctuary.asm
zeta0134/bhop
4
209224
<filename>ftm/sanctuary.asm ; Dn-FamiTracker exported music data: sanctuary.0cc ; ; Module header .word ft_song_list .word ft_instrument_list .word ft_sample_list .word ft_samples .word ft_groove_list .byte 0 ; flags .word 3600 ; NTSC speed .word 3000 ; PAL speed ; Instrument pointer list ft_instrument_list: ...
src/test/ref/sandbox-ternary-error.asm
jbrandwood/kickc
2
209225
<reponame>jbrandwood/kickc<gh_stars>1-10 // Demonstrates error with nested ternary operator // Commodore 64 PRG executable file .file [name="sandbox-ternary-error.prg", type="prg", segments="Program"] .segmentdef Program [segments="Basic, Code, Data"] .segmentdef Basic [start=$0801] .segmentdef Code [start=$80d] .seg...
Laboratorio/Relatorio_08/Resposta Rel_08/prog19.asm
0Augusto/hello-world
1
209226
<gh_stars>1-10 # Variaveis associadas aos registradores: # x -> $16 # y -> $17 # z -> $18 # result -> $19 .text .globl main main: addi $8, $0, 0x186A # t0 = 0x0000186A sll $16, $8, 0x8 # x = 0x00186A00 addi $8, $0, 0x1388 # t0 = 0x00001388 sll $17, $8, 0x4 # y = 0x00013880 addi $8, $0, 0...
untested/ARM/detab.asm
GabrielRavier/Generic-Assembly-Samples
0
209227
<filename>untested/ARM/detab.asm code32 format ELF public _detab section '.text' executable align 16 _detab: ldrb r3, [r8] cmp r3, #0 beq .return .loop: cmp r3, #9 beq .replace ldrb r3, [r0, #1] cmp r3, #0 bne .loop .return: mov r0, #0 bx lr .replace: strb r2, [r0] ldrb r3, [r0, #1]...
algorithms/double_dabble.asm
ratedali/assembly-exercises
1
209228
<reponame>ratedali/assembly-exercises section .data Num db 191 _str db 0 section .text global _main _main: push ebp mov ebp, esp and esp, 0xfffffff0 xor eax, eax mov al, [Num] mov ecx, 8 conv_loop: mov ...
appload/compress/unslr.asm
DigitalMars/optlink
28
209229
TITLE SLR-DECOMPRESSOR Copyright (c) SLR Systems 1990 DOSSEG INCLUDE UNMACROS INCLUDE SLR32 DATA SEGMENT WORD PUBLIC 'DATA' SOFT EXTD EXEPACK_STRUCTURE DATA ENDS DGROUP GROUP DATA,STACK,BSS CODE SEGMENT DWORDP PUBLIC 'CODE' ASSUME CS:CODE SOFT EXTN COMPRESS,GET_EXEPACK_BYTES,REXE_INIT DECOMPRES...
sh.asm
reubenct/OSproject-xv6
1
209230
<gh_stars>1-10 _sh: file format elf32-i386 Disassembly of section .text: 00000000 <main>: return 0; } int main(void) { 0: 55 push %ebp 1: 89 e5 mov %esp,%ebp 3: 83 e4 f0 and $0xfffffff0,%esp 6: 83 ec 10 sub $0...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xa0_notsx.log_21829_1038.asm
ljhsiun2/medusa
9
209231
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r13 push %r8 push %r9 push %rbp push %rcx push %rdi push %rsi lea addresses_normal_ht+0xed75, %rsi lea addresses_WT_ht+0x1aa, %rdi clflush (%rsi) nop dec %r9 mov $51, %rcx rep movsb nop nop nop add %r9, %r9 lea addresses_D_ht+0xee9d, %rbp nop nop nop sub $531...
compsci courses/CPSC355 - Computing Machinery/misc/otherresources/week5/Pointer Arrays and CMD line/commandline.asm
q-omar/UofC
1
209232
<filename>compsci courses/CPSC355 - Computing Machinery/misc/otherresources/week5/Pointer Arrays and CMD line/commandline.asm //Passing values from shell into the program define(i_r, w19) define(argc_r, w20) define(argv_r, x21) // argc: the number of arguments passed from command line // argv[]: an array of pointe...
oeis/265/A265939.asm
neoneye/loda-programs
11
209233
<filename>oeis/265/A265939.asm<gh_stars>10-100 ; A265939: Central terms of triangle A102363. ; Submitted by <NAME> ; 1,5,21,86,349,1410,5682,22860,91869,368906,1480486,5938740,23813746,95462996,382594884,1533053976,6141910749,24603000666,98541647454,394644228516,1580344177254,6327940829436,25336229584764,10143640090269...
libsrc/_DEVELOPMENT/math/float/math32/c/sccz80/cm32_sccz80_fssqrt.asm
Frodevan/z88dk
640
209234
; float __fssqrt (float number) SECTION code_clib SECTION code_fp_math32 PUBLIC cm32_sccz80_fssqrt EXTERN m32_fssqrt ; square root sccz80 float ; ; enter : stack = sccz80_float number, ret ; ; exit : DEHL = sccz80_float(number^0.5) ; ; uses : af, bc, de, hl, af', bc', de', hl' defc ...
Object/Optimized/kernel/NextFit.asm
collinsmichael/spartan
16
209235
; Listing generated by Microsoft (R) Optimizing Compiler Version 18.00.40629.0 TITLE C:\Users\cex123\Desktop\FYP\develop\spartan\Source\Kernel\Memory\Heap\NextFit.c .686P .XMM include listing.inc .model flat INCLUDELIB OLDNAMES PUBLIC _Memory PUBLIC _SysMem PUBLIC _Ring3Heap PUBLIC _Ring0Heap _Me...
programs/oeis/178/A178853.asm
neoneye/loda
22
209236
; A178853: "Josephus problem": n persons stand in a circle and eliminate every seventh person counting clockwise until only person a(n) is remaining. ; 1,2,3,2,4,5,5,4,2,9,5,12,6,13,5,12,2,9,16,3,10,17,1,8,15,22,2,9,16,23,30,5,12,19,26,33,3,10,17,24,31,38,2,9,16,23,30,37,44,1,8,15,22,29,36,43,50,57,5,12,19,26,33,40,47,...
8088/cga/greyscale/g.asm
reenigne/reenigne
92
209237
<gh_stars>10-100 %include "../../../defaults_bin.asm" initCGA 9, 0, 2 mov ax,0xb800 mov es,ax xor di,di mov ax,cs mov ds,ax mov si,imageData mov cx,80*100 cld rep movsw captureScreen hlt imageData:
programs/oeis/007/A007382.asm
neoneye/loda
22
209238
; A007382: Number of strict (-1)st-order maximal independent sets in path graph. ; 0,0,3,4,11,16,32,49,87,137,231,369,608,978,1595,2574,4179,6754,10944,17699,28655,46355,75023,121379,196416,317796,514227,832024,1346267 lpb $0 mov $2,$0 sub $0,2 seq $2,52952 ; a(n) = Fibonacci(n+2) - (1-(-1)^n)/2. add $1,$2 lpe...
programs/oeis/098/A098611.asm
neoneye/loda
22
209239
<reponame>neoneye/loda ; A098611: a(n) = 10^n-(-1)^n. ; 0,11,99,1001,9999,100001,999999,10000001,99999999,1000000001,9999999999,100000000001,999999999999,10000000000001,99999999999999,1000000000000001,9999999999999999,100000000000000001,999999999999999999,10000000000000000001 mov $1,10 pow $1,$0 mul $1,9 add $1,10 div...
oeis/291/A291393.asm
neoneye/loda-programs
11
209240
<reponame>neoneye/loda-programs ; A291393: p-INVERT of (1,1,0,0,0,0,...), where p(S) = (1 - S)(1 - 2 S). ; Submitted by <NAME> ; 3,10,29,83,232,643,1771,4862,13321,36455,99696,272535,744839,2035358,5561381,15195075,41515496,113425323,309888403,846638398,2313071313,6319448079,17265085152,47169141487,128868574671,3520756...
Bitwise operations/shiftLeftLogical.asm
berkcetinsaya/MIPSLanguageExamples
0
209241
.text addi $t1, $zero, 5 # 0000 0101 sll $t2, $t1, 2 # 5 = 00000101 # 1 bit shifted to the left 00001010 # 2 bits shifted to the left 00010100 # shift left means multiplication of the number by 2 to the power of amount of shifted bits # 5 shifted to the left by 2 bits. New number is 5 * pow(2,2) = 20
oeis/192/A192914.asm
neoneye/loda-programs
11
209242
; A192914: Constant term in the reduction by (x^2 -> x + 1) of the polynomial C(n)*x^n, where C=A000285. ; Submitted by <NAME> ; 1,0,5,9,28,69,185,480,1261,3297,8636,22605,59185,154944,405653,1062009,2780380,7279125,19057001,49891872,130618621,341963985,895273340,2343856029,6136294753,16065028224,42058789925,1101113415...
Appl/GeoWrite/Document/documentScroll.asm
steakknife/pcgeos
504
209243
COMMENT @---------------------------------------------------------------------- Copyright (c) Berkeley Softworks 1992 -- All Rights Reserved PROJECT: PC GEOS MODULE: GeoWrite FILE: documentScroll.asm REVISION HISTORY: Name Date Description ---- ---- ----------- Tony 3/92 Initial version DESCRI...
Transynther/x86/_processed/NONE/_xt_/i3-7100_9_0xca_notsx.log_21829_1047.asm
ljhsiun2/medusa
9
209244
.global s_prepare_buffers s_prepare_buffers: push %r8 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_A_ht+0x9f9f, %rsi lea addresses_WC_ht+0x15afb, %rdi clflush (%rsi) cmp %rbp, %rbp mov $109, %rcx rep movsl nop nop nop nop nop dec %r8 lea addresses_UC_ht+0xb67b, %rbx clflush (%rbx) nop nop i...
examples/PutString/PutString.asm
fourstix/1802PixieVideoTTY
1
209245
<filename>examples/PutString/PutString.asm ; ******************************************************************************************* ; PutString - Write strings to the display using the PutString function ; ; Copyright (c) 2020 by <NAME> ; ; **************************************************************************...
programs/oeis/025/A025717.asm
karttu/loda
0
209248
<reponame>karttu/loda ; A025717: Index of 6^n within sequence of numbers of form 6^i*8^j. ; 1,2,4,7,11,16,22,29,36,44,53,63,74,86,99,112,126,141,157,174,192,211,230,250,271,293,316,340,365,390,416,443,471,500,530,561,593,625,658,692,727,763,800,838,876,915,955,996,1038,1081,1125,1169,1214,1260,1307,1355 mov $12,$0 mov...
MP-CSE 4th Sem/7a.asm
MyCollegeForums/4thSemISE
0
209249
<reponame>MyCollegeForums/4thSemISE PRESERVE8 THUMB AREA |.text|,CODE,READONLY EXPORT func EXTERN func1 func MOVS R1,#5 BL func1 stop B stop END ++++++++++++++++++++++++++ PRESERVE8 THUMB AREA |.text|,CODE,READONLY EXPORT func1 func1 MOVS R0,#10 BX LR stop B stop END ++++++++++++++++++++++++++++++ PRE...
libsrc/_DEVELOPMENT/arch/zxn/esxdos/c/sdcc_iy/esx_disk_stream_start_fastcall.asm
jpoikela/z88dk
640
209250
; unsigned char esx_disk_stream_start(struct esx_filemap_entry *entry) SECTION code_esxdos PUBLIC _esx_disk_stream_start_fastcall EXTERN asm_esx_disk_stream_start _esx_disk_stream_start_fastcall: push iy call asm_esx_disk_stream_start pop iy ret
programs/oeis/174/A174542.asm
neoneye/loda
22
209252
; A174542: Partial sums of odd Fibonacci numbers (A014437). ; 1,2,5,10,23,44,99,188,421,798,1785,3382,7563,14328,32039,60696,135721,257114,574925,1089154,2435423,4613732,10316619,19544084,43701901,82790070,185124225,350704366,784198803,1485607536,3321919439,6293134512,14071876561,26658145586,59609425685,112925716858,25...
Day2/day2_part2_asm.asm
svnesbo/advent_of_code_2020
0
209254
; file: day2_part2_asm.asm ; Verify that string contains search character at one of the ; positions, but not both segment .text global day2_part2_asm ; Parameters: ; #1: (EBP+8): String pointer ; #2: (EBP+12): Search character ; #3: (EBP+16): First position (not zero-indexed) ; #4: (EBP+20): Second position ...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xa0.log_21829_1072.asm
ljhsiun2/medusa
9
209255
<gh_stars>1-10 .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r15 push %r8 push %rax push %rcx push %rdi push %rsi lea addresses_D_ht+0x1bbae, %rsi lea addresses_A_ht+0xa5ae, %rdi nop nop nop nop lfence mov $53, %rcx rep movsq nop nop nop nop nop inc %r11 lea addresses_D_ht+0x14dc6, %r15 nop sub...
programs/oeis/030/A030103.asm
neoneye/loda
22
209256
<gh_stars>10-100 ; A030103: Base 4 reversal of n (written in base 10). ; Coded manually 2021-03-02 by <NAME>, https://github.com/neoneye ; 0,1,2,3,1,5,9,13,2,6,10,14,3,7,11,15,1,17,33,49,5,21,37,53,9,25,41,57,13,29,45,61,2,18,34,50,6,22,38,54,10,26,42,58,14,30,46,62,3,19,35,51,7,23,39,55,11,27,43,59,15,31,47,63,1,65,12...
ProjectOZ/SPACE/i386/Bootstrap.asm
jdm7dv/CRK-Tools
1
209257
<reponame>jdm7dv/CRK-Tools<gh_stars>1-10 ;; ;; Copyright (c) Microsoft Corporation. All rights reserved. ;; ;; You may only use this code if you agree to the terms of the ProjectOZ License agreement (see License.txt). ;; If you do not agree to the terms, do not use the code. ;; TITLE "SPACE NT process bootstrap ex...
games/HomeLand/Netcfg.asm
BttrDrgn/GC-Translation
1
209258
//This is the network setup binary that gets loaded when you do the network setup on the main menu //netcfg.dol: Text($499D4AB9, "Modem adapter or BBA") db NEWLINE, "not connected to the GameCube." db NEWLINE, NEWLINE, "To configure the network settings," db NEWLINE, "th...
src/Shaders/Sdk/Direct3D11/FluidCS11/FluidCS11_IntegrateCS.asm
tgjones/slimshader-cpp
20
209259
// // Generated by Microsoft (R) HLSL Shader Compiler 9.30.9200.16384 // // /// // Buffer Definitions: // // cbuffer cbSimulationConstants // { // // uint g_iNumParticles; // Offset: 0 Size: 4 [unused] // float g_fTimeStep; // Offset: 4 Size: 4 // float g_fSmoothlen; ...
ZORTON.reko/ZORTON_1ED7.asm
0xLiso/dePIXELator
0
209260
;;; Segment 1ED7 (1ED7:0000) 1ED7:0000 B0 7D 9A B6 04 3F 26 83 C4 04 .}...?&... l1ED0_007A: xor ax,ax leave retf ;; fn1ED7_000E: 1ED7:000E ;; Called from: ;; 268D:0306 (in fn268D_0282) fn1ED7_000E proc enter 0Ch,0h cli call far 2425h:01E8h sti mov ax,28BAh mov es,ax mov dword pt...
b2sx.asm
FloydZ/blake2_asm
0
209261
<reponame>FloydZ/blake2_asm ; ; Copyright © 2015 Odzhan, <NAME>. All Rights Reserved. ; ; Redistribution and use in source and binary forms, with or without ; modification, are permitted provided that the following conditions are ; met: ; ; 1. Redistributions of source code must retain the above copyright ; notic...
src/sound.asm
Gip-Gip/VePseu
5
209262
; sounds.asm - makes sounds 'n' stuff SUBROUTINE LDA stepVol STA AUDV0 LDA stepSnd STA AUDC0 LDA #NULL STA stepVol
engine/battle/moveEffects/paralyze_effect.asm
etdv-thevoid/pokemon-rgb-enhanced
1
209264
ParalyzeEffect_: ld hl, wEnemyMonStatus ld de, wPlayerMoveType ld a, [H_WHOSETURN] and a jp z, .next ld hl, wBattleMonStatus ld de, wEnemyMoveType .next ld a, [hl] and a ; does the target already have a status ailment? jr nz, .didntAffect ; check if the target is immune due to types ld a, [de] cp NORMAL jr...
tis-100/53897_histogram_viewer.asm
glupmjoed/puzzles
0
209265
<filename>tis-100/53897_histogram_viewer.asm @0 JRO RIGHT MOV ACC, DOWN ADD 1 @1 S: MOV 9, ACC SUB UP JGZ GZ JLZ LZ MOV 2, LEFT JMP S GZ: MOV 1, LEFT MOV ACC, RIGHT MOV 4, RIGHT JMP S LZ: MOV 1, LEFT NEG MOV ACC, RIGHT MOV 1, RIGHT @2 MOV LEFT, ACC JRO LEFT MOV 8, DOWN # W MOV 1, DOWN JMP L MOV 9, DOWN # B MOV 6, DOW...
FlaxVM/bin/Debug/Loop3.asm
DreamVB/FlaxVM
0
209266
# Print all the printable ASCII characters PUSH 32 STA A PUSH 127 STA B loop: # Print A value to the console LDA A SYS 4 POP LDA B LDA A INC STA A LDA A LEQ JT Loop PUSH 10 SYS 4 POP HLT
coverage/IN_CTS/0581-COVERAGE-constant-folding-1415-624/work/variant/1_spirv_asm/shader.frag.asm
asuonpaa/ShaderTests
0
209268
<reponame>asuonpaa/ShaderTests<filename>coverage/IN_CTS/0581-COVERAGE-constant-folding-1415-624/work/variant/1_spirv_asm/shader.frag.asm ; SPIR-V ; Version: 1.0 ; Generator: Khronos Glslang Reference Front End; 10 ; Bound: 141 ; Schema: 0 OpCapability Shader %1 = OpExtInstImport "GLSL.std.450" ...
programs/oeis/167/A167268.asm
neoneye/loda
22
209269
<gh_stars>10-100 ; A167268: Janet's sequence: Number of elements for each successively filled electronic subshell of an atom. ; 2,2,6,2,6,2,10,6,2,10,6,2,14,10,6,2,14,10,6,2,18,14,10,6,2,18,14,10,6,2,22,18,14,10,6,2,22,18,14,10,6,2,26,22,18,14,10,6,2,26,22,18,14,10,6,2,30,26,22,18,14,10,6,2,30,26,22,18,14,10,6,2,34,30,...
test/decoder/arm/fasmarm/others.asm
matanlurey/armv4t.dart
8
209270
<gh_stars>1-10 ; ARM MODE. code32 processor CPU32_V1 b 1024 bl 1024 swi 1024 processor CPU32_V4T bx r0 processor CPU32_V3 mrs r0,apsr mrs r0,cpsr mrs r0,spsr msr cpsr,r1 msr cpsr_fsxc,r1 msr cpsr,1 msr cpsr_fsxc,1
dctf-2021/just-in-time/justintime.asm
onealmond/hacking-lab
9
209271
;-- main: 0x55d6817f94c5 55 push rbp 0x55d6817f94c6 4889e5 mov rbp, rsp 0x55d6817f94c9 53 push rbx 0x55d6817f94ca 4883ec58 sub rsp, 0x58 0x55d6817f94ce 897dac mov dword [rbp - 0...
y2s2/csa/practicals/revision/ex-3.asm
ouldevloper/university
8
209272
<reponame>ouldevloper/university<filename>y2s2/csa/practicals/revision/ex-3.asm ; ex-3.asm (looping, array, jump) ; given list of number 'NUM DB 4,9,7,3,2,5,4,0' ; Requirements: ; display all integers ; modify to display integers > 2 ; add up all numbers > 2, display the result (ans: 32) .MODEL SMALL .STACK 100 .DATA...
libsrc/math/mbf32/c/sccz80/___mbf32_discard_fraction.asm
ahjelm/z88dk
640
209273
<gh_stars>100-1000 SECTION code_fp_mbf32 PUBLIC ___mbf32_discard_fraction EXTERN ___mbf32_set_zero EXTERN ___mbf32_FPREG ; Discard the fractional part of a floating point number ; Truncates towards 0: 2.4 -> 2, -2.4 -> -2 ; Entry: number in ___mbf32_FPREG ; Exit: integral number in ___mbf32_FPREG ; Uses: ...
programs/oeis/017/A017240.asm
neoneye/loda
22
209274
<reponame>neoneye/loda<filename>programs/oeis/017/A017240.asm ; A017240: a(n) = (9*n + 6)^8. ; 1679616,2562890625,110075314176,1406408618241,9682651996416,45767944570401,167961600000000,513798374428641,1370114370683136,3282116715437121,7213895789838336,14774554437890625,28525864220672256,52389094428262881,9217039520504...
examples/rpmsg/adc.asm
coup-de-foudre/bb_oscope
0
209275
<filename>examples/rpmsg/adc.asm ; This is a PRU program to communicate to the ADS7883 SPI ADC ICs. ; Wiring as coded: ; Chip Select (CS): P9_27 pr1_pru0_pru_r30_5 r30.t5 ; MISO : P9_28 pr1_pru0_pru_r31_3 r31.t3 ; CLK : P9_30 pr1_pru0_pru_r30_2 r30.t2 ; Sample Clock : P8_46 pr1_pru1_pru_r30_1...
oeis/084/A084641.asm
neoneye/loda-programs
11
209276
<reponame>neoneye/loda-programs ; A084641: Binomial transform of n^7. ; Submitted by <NAME>(w2) ; 0,1,130,2574,25904,183200,1040112,5076400,22171648,88915968,333209600,1181548544,4001402880,13033885696,41061830656,125666611200,374947708928,1093874155520,3128047828992,8785866391552,24280799641600,66124498599936,17768396...
version/hook.asm
wuzijing111/EU4dll
483
209279
<reponame>wuzijing111/EU4dll<gh_stars>100-1000 VERSION_EXPORTS STRUCT GetFileVersionInfoA QWORD ? GetFileVersionInfoByHandle QWORD ? GetFileVersionInfoExA QWORD ? GetFileVersionInfoExW QWORD ? GetFileVersionInfoSizeA QWORD ? GetFileVersionInfoSizeExA QWORD ? GetFileVersionInfoSizeExW QWORD ? GetFileVersionInfoS...
oeis/048/A048972.asm
neoneye/loda-programs
11
209280
<filename>oeis/048/A048972.asm ; A048972: Length of record run mentioned in A048971. ; Submitted by <NAME> ; 1,2,5,6,7,9,10,11,12,13,14,15,16 mov $2,$0 lpb $2 div $1,2 add $1,2 sub $2,$1 lpe add $0,$1 add $0,1
oeis/001/A001113.asm
neoneye/loda-programs
11
209281
; A001113: Decimal expansion of e. ; Submitted by <NAME> ; 2,7,1,8,2,8,1,8,2,8,4,5,9,0,4,5,2,3,5,3,6,0,2,8,7,4,7,1,3,5,2,6,6,2,4,9,7,7,5,7,2,4,7,0,9,3,6,9,9,9,5,9,5,7,4,9,6,6,9,6,7,6,2,7,7,2,4,0,7,6,6,3,0,3,5,3,5,4,7,5,9,4,5,7,1,3,8,2,1,7,8,5,2,5,1,6,6,4,2,7 mov $1,2 mov $2,1 mov $3,$0 mul $3,5 lpb $3 mul $2,$3 ad...
Projetos/F-Assembly/src/nasm/max.nasm
brunoartc/GladOS
0
209283
; Arquivo: Max.nasm ; Curso: Elementos de Sistemas ; Criado por: <NAME> ; Data: 27/03/2017 ; Log : ; - <NAME> portado para Z01 ; Calcula R2 = max(R0, R1) (R0,R1,R2 se referem a RAM[0],RAM[1],RAM[2]) ; ou seja, o maior valor que estiver, ou em R0 ou R1 sera copiado para R2 ; Estamos considerando número i...
Appl/Art/Decks/GeoDeck/CGADiamond6.asm
steakknife/pcgeos
504
209284
<filename>Appl/Art/Decks/GeoDeck/CGADiamond6.asm CGADiamond6 label byte word C_BLACK Bitmap <67,41,BMC_PACKBITS,BMF_MONO> db 0xf8, 0x00 db 0xf8, 0x00 db 0x08, 0x0f, 0xe0, 0x1c, 0x00, 0x00, 0x07, 0x00, 0x1c, 0x00 db 0x08, 0x18, 0x30, 0x6b, 0x00, 0x00, 0x1a, 0xc0, 0x6b, 0x00 db 0x08, 0x18, 0x00, 0xd...
Transynther/x86/_processed/NC/_ht_zr_un_/i3-7100_9_0x84_notsx.log_601_2912.asm
ljhsiun2/medusa
9
209285
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r14 push %rcx push %rdi push %rsi lea addresses_WC_ht+0x1c563, %rsi lea addresses_A_ht+0xe0c3, %rdi nop nop cmp %r10, %r10 mov $71, %rcx rep movsb nop nop nop nop xor %r14, %r14 pop %rsi pop %rdi pop %rcx pop %r14 pop %r10 ret ....
oeis/020/A020980.asm
neoneye/loda-programs
11
209286
; A020980: Expansion of 1/((1-8*x)*(1-10*x)*(1-12*x)). ; Submitted by <NAME>(s2) ; 1,30,604,10200,156016,2241120,30844864,411749760,5373888256,68949788160,873102490624,10942870149120,136039563882496,1680275743334400,20645716733968384,252607863319265280,3080168459924340736,37453014319837347840,454364114244010246144,5501...
Transynther/x86/_processed/NONE/_zr_/i9-9900K_12_0xca.log_21829_941.asm
ljhsiun2/medusa
9
209288
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r11 push %r12 push %r13 push %r8 push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x196f9, %rsi clflush (%rsi) nop nop cmp %rcx, %rcx mov $0x6162636465666768, %r11 movq %r11, (%rsi) nop nop nop add %rdx, %rdx lea addresses_normal_ht...
WEEK-9/6.asm
ShruKin/Microprocessor-and-Microcontroller-Lab
0
209289
<gh_stars>0 LXI H,2000 LXI D,2100 MVI C,05 // no of elements LOOP: MOV A,M MOV B,A ANI 01 JNZ ODD MOV A,B STAX D INX D ODD: INX H DCR C JNZ LOOP HLT
oeis/110/A110809.asm
neoneye/loda-programs
11
209290
<reponame>neoneye/loda-programs ; A110809: a(1) = 3, a(2n) = a(2n-1)*(a(2n-1)+1)/2, a(2n+1) = a(2n)*(a(2n)-1)/2. ; Submitted by <NAME> ; 3,6,15,120,7140,25493370,324955944231765,52798182845779144865989623495,1393824055908163580110066696496417846029512708072933195765,97137274941414175674471105335025818026223867950511530...
oeis/087/A087690.asm
neoneye/loda-programs
11
209291
<reponame>neoneye/loda-programs ; A087690: Denominators of successive partial sums of sum(1/(2^n-1)). ; Submitted by <NAME> ; 1,3,21,35,1085,9765,1240155,21082635,1539032355,16929355905,34654391537535,150169029995985,1230034524697113135,17630494853991954935,2662204722952785195185,410511968279319477097527,53806214194338...
Transynther/x86/_processed/NONE/_xt_/i7-7700_9_0x48.log_21829_2275.asm
ljhsiun2/medusa
9
209292
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r10 push %r9 push %rax push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_normal_ht+0x85eb, %rax clflush (%rax) cmp %r10, %r10 movw $0x6162, (%rax) nop nop nop nop dec %rbx lea addresses_normal_ht+0x1c473, %rbp nop nop nop nop nop...
Transynther/x86/_processed/US/_zr_/i7-8650U_0xd2_notsx.log_140_1636.asm
ljhsiun2/medusa
9
209294
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %r15 push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x108b, %rsi lea addresses_WT_ht+0x1a7fb, %rdi nop xor %r13, %r13 mov $60, %rcx rep movsq and $58969, %r12 lea addresses_normal_ht+0x24fb, %rsi lea addresses_WT_ht+0x1457b...
Laboratorio/Relatorio_08/mips6.asm
0Augusto/hello-world
1
209295
# x mapeado em $s1 .text .globl teste teste: addi $8, $zero, 0x1001 sll $8, $8, 16 # valor do adress para acessar a memória armazenado em $t0 lw $16, 0($8) # load de x para $s0 lw $17, 4($8) # load de z para $s1 nop # sll $zero, $zero, 0 add $9, $zero, 3 # $t1 = 0 + 3 sll $9, $9, 16 add $9, $9, 103392 # $9 = 300000...
smsq/q40/rtc.asm
olifink/smsqe
0
209296
<filename>smsq/q40/rtc.asm ; Q40 RTC read / set xdef rtc_init xdef sms_rrtc read clock xdef sms_srtc set clock xdef sms_artc adjust clock xref cv_rtdtm xref cv_dtmrt include 'dev8_keys_sys' include 'dev8_smsq_smsq_base_keys' include 'dev8_keys_q40' include 'dev8_keys_err' include 'dev8_mac_assert' sect...
programs/oeis/241/A241404.asm
neoneye/loda
22
209297
; A241404: Sum of n and the sum of the factorials of its digits. ; 2,4,9,28,125,726,5047,40328,362889,12,13,15,20,39,136,737,5058,40339,362900,23,24,26,31,50,147,748,5069,40350,362911,37,38,40,45,64,161,762,5083,40364,362925,65,66,68,73,92,189,790,5111,40392,362953,171,172,174,179,198,295,896,5217,40498,363059,781,782,...
hdaplay.asm
Baron-von-Riedesel/HDAutils
9
209298
<reponame>Baron-von-Riedesel/HDAutils ;--- play a PCM file using HD Audio. ;--- the sound will be emitted to the "rear panel" lineout pin. ;--- after the HDA controller's dma engine has been started, ;--- a command processor ("C:\command.com") is launched. Exiting ;--- this program will also exit hdaplay.exe. ...
Transynther/x86/_processed/AVXALIGN/_st_/i7-7700_9_0xca.log_229_180.asm
ljhsiun2/medusa
9
209300
<reponame>ljhsiun2/medusa .global s_prepare_buffers s_prepare_buffers: push %r14 push %r15 push %rax push %rcx push %rdi push %rdx push %rsi lea addresses_UC_ht+0x3df8, %rsi lea addresses_UC_ht+0x19b38, %rdi nop nop inc %rax mov $118, %rcx rep movsb nop nop nop nop add $9650, %rdx lea addresses_D_ht+0x7654, %rsi lea ad...
oeis/080/A080938.asm
neoneye/loda-programs
11
209301
<reponame>neoneye/loda-programs ; A080938: Number of Catalan paths (nonnegative, starting and ending at 0, step +-1) of 2*n steps with all values less than or equal to 7. ; Submitted by <NAME> ; 1,1,2,5,14,42,132,429,1429,4846,16645,57686,201158,704420,2473785,8704089,30664890,108126325,381478030,1346396146,4753200932,...
YearIII/SemesterV/Microprocessors/Practicals/bcdSUB/bcdSUB.asm
jarvis-1805/myappsample
2
209302
<reponame>jarvis-1805/myappsample ; Perform BCD subtraction on two 32-bit numbers. ; 45218907H - 37829156H .MODEL TINY .486 .CODE .STARTUP ; initialize registers MOV EBX, 37829156H ; BH = 91H BL = 56H MOV EDX, 45218907H ; DH = 89H DL = 07H ; perform SUBtraction SUB DL, BL ; DL = 07H - 56H = B1...
gameplay.asm
AkiteruSDA/RockmanX3Practice
0
209305
<filename>gameplay.asm // // Gameplay-related hacks. // // Make "EXIT" always work. {savepc} {reorg $00CEF4} // Nothing fancy here; just return 40 and make sure zero flag is clear. lda.b #$40 and.b #$40 rts {loadpc} // Disable interstage password screen. {savepc} // Always use password screen...
ioctl/IomGetEventMask.asm
osfree-project/FamilyAPI
1
209306
<gh_stars>1-10 ;-------------------------------------------------------- ; Category 7 Function 65 Get event mask ;-------------------------------------------------------- ; ; ; IOMGETEVENTMASK PROC NEAR RET IOMGETEVENTMASK ENDP
projeto.asm
elisionara/ASM
0
209307
<gh_stars>0 .text main: #SOLICITA O TIPO DE PAGAMENTO(INTEIRO CÓDIGO 4) la $a0, tp #coloca a mensagem solicitando o tipo de pagamento para ser impresso li $v0, 4 #é utilizado o código 4 para printar uma string(no caso, de caracteres) na tela syscall #realiza a chamada do sistema ...
oeis/306/A306020.asm
neoneye/loda-programs
11
209309
<reponame>neoneye/loda-programs ; A306020: a(n) is the number of set-systems using nonempty subsets of {1,...,n} in which all sets have the same size. ; Submitted by <NAME> ; 1,2,5,16,95,2110,1114237,68723671292,1180735735906024030715,170141183460507917357914971986913657850,723700557733555322308782897512730417919714719...
src/test/resources/data/generationtests/sjasm-ifdef-expected.asm
cpcitor/mdlz80optimizer
36
209310
__sjasm_page_0_start: equ $ ; Test case: CONSTANT: equ 0 label1: nop label1.local1: _sjasm_reusable_1_1: nop label1.local2: nop label1.local3: nop label2: nop loop: jp loop ; Set VDP for write (based on DE or HL) ld a, e di out (#99), a ld a, d or #40 out (#99), a ei ld a, l di out (#99), a ld a, h...
oeis/105/A105218.asm
neoneye/loda-programs
11
209311
<filename>oeis/105/A105218.asm ; A105218: a(n) = Sum_{k=0..n} C(n,k)^2*(n-k)!*k^3. ; 0,1,12,117,1168,12525,145836,1844017,25238592,372320793,5894109100,99712850061,1795703361552,34303011804997,692863434782988,14754105717057225,330351159979499776,7758672154410196017,190717243734190845132,4896738903385469500453,131079171...
oeis/005/A005522.asm
neoneye/loda-programs
11
209313
; A005522: a(n) = 1 + L(n) + F(2*n-1) with {L(n)}_{n>=0} the Lucas numbers (A000032) and F(2*n-1)_{n>=0} the bisected Fibonacci numbers (A001519). ; Submitted by <NAME> ; 4,3,6,10,21,46,108,263,658,1674,4305,11146,28980,75547,197262,515594,1348477,3528150,9233244,24167167,63261114,165604618,433534041,1134967250,2971318...
fluidcore/samples/phat-v2.asm
bushy555/ZX-Spectrum-1-Bit-Routines
59
209315
<gh_stars>10-100 db #00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00 db #00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00 db #00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00 db #00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00,#00 db #01,#01,#01,#01,#01,#01,...
Palmtree.Math.Core.Implements/vs_build/x64_Debug/pmc_subtruct.asm
rougemeilland/Palmtree.Math.Core.Implements
0
209316
<filename>Palmtree.Math.Core.Implements/vs_build/x64_Debug/pmc_subtruct.asm ; Listing generated by Microsoft (R) Optimizing Compiler Version 19.16.27026.1 include listing.inc INCLUDELIB MSVCRTD INCLUDELIB OLDNAMES msvcjmc SEGMENT __7B7A869E_ctype@h DB 01H __457DD326_basetsd@h DB 01H __4384A2D9_corecrt_memcpy_s@h DB...
libsrc/_DEVELOPMENT/adt/w_array/c/sccz80/w_array_back.asm
jpoikela/z88dk
640
209318
; void *w_array_back(w_array_t *a) SECTION code_clib SECTION code_adt_w_array PUBLIC w_array_back EXTERN asm_w_array_back defc w_array_back = asm_w_array_back ; SDCC bridge for Classic IF __CLASSIC PUBLIC _w_array_back defc _w_array_back = w_array_back ENDIF
programs/oeis/093/A093803.asm
neoneye/loda
22
209319
<filename>programs/oeis/093/A093803.asm ; A093803: Greatest odd proper divisor of n; a(1)=1. ; 1,1,1,1,1,3,1,1,3,5,1,3,1,7,5,1,1,9,1,5,7,11,1,3,5,13,9,7,1,15,1,1,11,17,7,9,1,19,13,5,1,21,1,11,15,23,1,3,7,25,17,13,1,27,11,7,19,29,1,15,1,31,21,1,13,33,1,17,23,35,1,9,1,37,25,19,11,39,1,5,27,41,1,21,17,43,29,11,1,45,13,23,...
uw1/include/uw1-eop.asm
JohnGlassmyer/UltimaHacks
68
209321
<gh_stars>10-100 ; ============================================================================= ; Ultima Underworld Hacks -- expanded overlay ; ----------------------------------------------------------------------------- %assign nextEopNumber 0 ; eopProc length, procName %macro eopProc 2 %assign eopNumber nextEopNu...
data/pokemon/base_stats/turban.asm
TastySnax12/pokecrystal16-493-plus
2
209323
<reponame>TastySnax12/pokecrystal16-493-plus<filename>data/pokemon/base_stats/turban.asm db 0 ; species ID placeholder db 80, 90, 150, 30, 80, 65 ; hp atk def spd sat sdf db WATER, POISON ; type db 60 ; catch rate db 203 ; base exp db NO_ITEM, NO_ITEM ; items db GENDER_F50 ; gender ratio db 100 ;...
oeis/323/A323716.asm
neoneye/loda-programs
11
209324
<reponame>neoneye/loda-programs ; A323716: a(n) = Product_{k=0..n} (3^k + 1). ; Submitted by <NAME> ; 2,8,80,2240,183680,44817920,32717081600,71584974540800,469740602936729600,9246374028206585446400,545998386365598870609920000,96722522147893108730806108160000,51402410615320609490117059732766720000 mov $1,2 mov $2,1 lp...
Transynther/x86/_processed/NONE/_st_/i9-9900K_12_0xa0_notsx.log_21829_1383.asm
ljhsiun2/medusa
9
209326
.global s_prepare_buffers s_prepare_buffers: push %r11 push %r8 push %r9 push %rbp push %rbx push %rcx push %rdi push %rsi lea addresses_D_ht+0x17309, %rsi lea addresses_A_ht+0x1e415, %rdi nop nop nop add %rbp, %rbp mov $56, %rcx rep movsb nop nop nop sub %rcx, %rcx lea addresses_WT_ht+0x34ad, %rsi lea addresses_A_ht+0...
programs/oeis/228/A228495.asm
neoneye/loda
22
209328
; A228495: Characteristic function of the odd odious numbers (A092246). ; 0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,0,0,1,0,1,0,0,0,1,0,0,0,0,0,1,0,1,0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,1,0,0 dif $0,-2 max $0,0 seq $0,10060 ; Thue-Morse ...
ntio/opreadt.asm
DigitalMars/optlink
28
209330
<reponame>DigitalMars/optlink TITLE OPREADT - Copyright (c) 1994 by SLR Systems INCLUDE MACROS if fgh_inthreads INCLUDE IO_STRUC INCLUDE EXES INCLUDE WIN32DEF PUBLIC OPREADT ; ; STANDARD OBJ'S SCAN OBJ PATHLIST IF NOT FOUND 8-17-89 ; LIBOPENT MUST HANDLE 'STUB' AND 'OLD' ; ; 1: WAIT TILL ALL OPEN & R...
src/sample.asm
ISSOtm/smooth-player-demo
4
209331
; Here is how you include a sample INCLUDE "src/smooth-player/sample_macros.asm" ; For `include_sample` include_sample RickSample, "res/samples/rick.sample", $20EE3, 1 EXPORT RickSample, EndRickSample ; Allows referencing the sample from other files
solutions/64 - Binary Counter/size-15_speed-54.asm
michaelgundlach/7billionhumans
45
209332
-- 7 Billion Humans (2145) -- -- 64: Binary Counter -- -- Author: landfillbaby -- Size: 15 -- Speed: 54 step s a: step s if c == button: tell nw go step n listenfor ok jump a endif pickup n b: listenfor go tell everyone ok drop listenfor go tell w go pickup c jump b
programs/oeis/196/A196747.asm
neoneye/loda
22
209333
<reponame>neoneye/loda<gh_stars>10-100 ; A196747: Numbers n such that 3 does not divide swing(n) = A056040(n). ; 0,1,2,6,7,8,18,19,20,24,25,26,54,55,56,60,61,62,72,73,74,78,79,80,162,163,164,168,169,170,180,181,182,186,187,188,216,217,218,222,223,224,234,235,236,240,241,242,486,487,488,492,493,494,504,505,506,510,511,5...
oeis/110/A110371.asm
neoneye/loda-programs
11
209334
<filename>oeis/110/A110371.asm ; A110371: a(n)=[(n+1)(n+2)(n+3)...(2n)]/(1+2+3+...+n). ; Submitted by <NAME> ; 2,4,20,168,2016,31680,617760,14414400,392071680,12189864960,426645273600,16606346803200,711700577280000,33307587016704000,1690360041097728000,92472637542405120000,5425061402487767040000,33978016152423383040000...
Transynther/x86/_processed/NONE/_xt_/i9-9900K_12_0xca.log_21829_428.asm
ljhsiun2/medusa
9
209335
.global s_prepare_buffers s_prepare_buffers: push %r12 push %r13 push %r14 push %rbp push %rcx push %rdi push %rdx push %rsi lea addresses_normal_ht+0x1cfcc, %rdi nop nop and %r14, %r14 mov (%rdi), %r12w add %rbp, %rbp lea addresses_normal_ht+0xfdcc, %r13 nop cmp $27235, %rdi movb (%r13), %dl nop and %r14, %r14 lea add...