Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; MSX C ver 1.10r (code generator)
- cseg
- ?59999:
- defb 114,101,115,117,108,116,32,61,32,37
- defb 100,10,0
- main@:
- push hl
- push bc
- push bc
- push bc
- push de
- call ?laut8
- pop de
- ld hl,1
- push hl
- ld de,2
- ld bc,3
- ld hl,4
- push de
- call ?saut4
- pop de
- ld hl,5
- push de
- call ?saut6
- pop de
- ld hl,6
- push de
- call ?saut8
- pop de
- pop hl
- add hl,de
- add hl,bc
- push hl
- ld hl,2
- add hl,sp
- ld e,(hl)
- inc hl
- ld d,(hl)
- pop hl
- add hl,de
- push hl
- ld hl,4
- add hl,sp
- ld e,(hl)
- inc hl
- ld d,(hl)
- pop hl
- add hl,de
- push hl
- ld hl,6
- add hl,sp
- ld e,(hl)
- inc hl
- ld d,(hl)
- pop hl
- add hl,de
- ld bc,?59999
- push bc
- ld hl,1
- call printf
- pop bc
- ld hl,0
- pop bc
- pop bc
- pop bc
- pop bc
- ret
- public main@
- extrn printf
- extrn ?laut8
- extrn ?saut4
- extrn ?saut6
- extrn ?saut8
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement