Skip to content

Instantly share code, notes, and snippets.

View thacuber2a03's full-sized avatar
💧
|100 @\loop alloc POP2 !loop

x4n3ku thacuber2a03

💧
|100 @\loop alloc POP2 !loop
View GitHub Profile
@thacuber2a03
thacuber2a03 / README.md
Last active August 4, 2021 16:00
SCRIPT-8
@thacuber2a03
thacuber2a03 / README.md
Last active December 5, 2021 18:01
SCRIPT-8
@thacuber2a03
thacuber2a03 / README.md
Last active December 10, 2021 19:30
SCRIPT-8
@thacuber2a03
thacuber2a03 / README.md
Last active May 31, 2022 00:39
SCRIPT-8
@thacuber2a03
thacuber2a03 / README.md
Last active May 31, 2022 16:38
SCRIPT-8
@thacuber2a03
thacuber2a03 / gcd.s
Last active July 7, 2023 22:53
recursive gcd in 6502 assembly
; by @thacuber2a03
; div subroutine from https://gist.github.com/hausdorff/5993556, slightly modified
jmp main
; a: $00, b: $01, o: $02
div:
lda $00
ldx #00