mirror of https://github.com/falsovsky/z80.git
Better example
This commit is contained in:
parent
40308c5200
commit
ca7f9fce8c
|
@ -39,7 +39,9 @@ tbl_routines dw F_INC_DP, F_DEC_DP, F_INC_VAL, F_DEC_VAL, F_OUT, F_IN, F_JMP
|
||||||
; To test the "," operator
|
; To test the "," operator
|
||||||
;src db "++++++++++>+[,<.>.]", 0
|
;src db "++++++++++>+[,<.>.]", 0
|
||||||
; Bad Boy Hello world - crashes most interpreters
|
; Bad Boy Hello world - crashes most interpreters
|
||||||
src db ">++++++++[<+++++++++>-]<.>>+>+>++>[-]+<[>[->+<<++++>]<<]>.+++++++..+++.>>+++++++.<<<[[-]<[-]>]<+++++++++++++++.>>.+++.------.--------.>>+.>++++.", 0
|
;src db ">++++++++[<+++++++++>-]<.>>+>+>++>[-]+<[>[->+<<++++>]<<]>.+++++++..+++.>>+++++++.<<<[[-]<[-]>]<+++++++++++++++.>>.+++.------.--------.>>+.>++++.", 0
|
||||||
|
; Fibonacci numbers
|
||||||
|
src db ">++++++++++>+>+[[+++++[>++++++++<-]>.<++++++[>--------<-]+<<<]>.>>[[-]<[>+<-]>>[<<+>+>-]<[>+<-[>+<-[>+<-[>+<-[>+<-[>+<-[>+<-[>+<-[>+<-[>[-]>+>+<<<-[>+<-]]]]]]]]]]]+>>>]<<<]", 0
|
||||||
|
|
||||||
|
|
||||||
start
|
start
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue