Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- proc mul
- STORE [10]
- STORE [50]
- _5_. STORE [20]
- RSHIFT 1
- STORE [30]
- ADD [30]
- NEG
- ADD [20]
- JG _13_
- JUMP _16_
- _13_. LOAD [40]
- ADD [50]
- STORE [40]
- _16_. LOAD [50]
- ADD [50]
- STORE [50]
- LOAD [30]
- JG _5_
- LOAD [40]
- endp
- LOAD 5
- STORE [2]
- LOAD 1
- STORE [3]
- @SCALE 3
- y. LOAD 5 : reset X
- STORE [1]
- LOAD [2] : add (+1) to Y
- ADD 1
- STORE [2]
- ::set color mode
- x.
- LOAD 0
- STORE [40]
- LOAD [1]
- CALL mul
- STORE [3]
- LOAD 0
- STORE [40]
- LOAD [2]
- CALL mul
- ADD [3]
- STORE [3]
- LOAD [1] : add (+1) to X
- ADD 1
- STORE [1]
- LOAD [3]
- ADD -10000
- JG SKIP
- @PIXEL
- SKIP.
- LOAD [1]
- ADD -115 : check X
- NEG
- JG x
- LOAD [2] : check Y
- ADD -115
- NEG
- JG y
- HALT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement