Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
Create sierpinski.asm
Browse files Browse the repository at this point in the history
  • Loading branch information
kspalaiologos authored Apr 18, 2020
1 parent d1d0a41 commit a74c208
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions examples/sierpinski.asm
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

; Sierpinski triangle fractal viewer for asm2bf obfuscated code contest.
; Released to the public domain by Palaiologos/MENACE @ Apr 2020

@a
clrr2
@b
pshr1
movr4,r2
@c
movr5,r1
modr5,2
movr6,r4
modr6,2
mulr5,r6
cger5,1
cmor5,1
cjn%d
asrr1
asrr4
jnzr1,%c
jnzr4,%c
clrr3
@d
cger3,1
movr3,.*
cmor3,.
outr3
popr1
incr2
cger2,64
cjz%b
out10
incr1
cger1,64
cjz%a

0 comments on commit a74c208

Please sign in to comment.