A83: Disasm


[Prev][Next][Index][Thread]

A83: Disasm



Here you go James.

The program becomes a little bit strange I think but it should be
right disassembled and does not look like Jimmys crazy disassembling
Tell me if there's something wrong.

/Stefan
.NOLIST

#define equ .equ

#define EQU .equ

#include "squish.inc"

.LIST

.org    9327h

start:

        call    _clrlcdfull

        ld      hl,0000h

        ld      (pencol),hl

        ld      hl,text1

        call    _vputs

        ld      hl,0008h

        ld      (pencol),hl

        ld      hl,text2

        call    _vputs

        ld      hl,0010h

        ld      (pencol),hl

        ld      hl,text3

        call    _vputs

        ld      hl,0018h

        ld      (pencol),hl

        ld      hl,text4

        call    _vputs

        ld      hl,0020h

        ld      (pencol),hl

        ld      hl,text5

        call    _vputs

        ld      hl,0028h

        ld      (pencol),hl

        ld      hl,text6

        call    _vputs

        ld      hl,0030h

        ld      (pencol),hl

        ld      hl,text7

        call    _vputs

        ld      hl,0038h

        ld      (pencol),hl

        ld      hl,text8

        call    _vputs

        call    _getkey

        cp      09h

        jr      z,quit

        jp      start

quit:

        call    _clrlcdfull

        call    _homeup

        ld      hl,text9

        call    _puts

        ret

text1:

        .db $45,$68,$3D,$48,$65,$61,$74,$20,$45,$6E,$65,$72,$67,$79,$3B,$00

text2:

        .db $28,$45,$29,$6E,$65,$72,$67,$79,$3B,$28,$50,$29,$6F,$77,$65,$72,$00

text3:

        .db $28,$4A,$29,$6F,$75,$6C,$65,$3D,$6B,$67,$78,$6D,$5E,$32,$2F,$73,$5E,$32,$3B,$00

text4:

        .db $48,$65,$72,$74,$7A,$3D,$73,$5E,$2D,$31,$3B,$4C,$69,$67,$68,$74,$3D,$33,$78,$31,$30,$5E,$38,$00

text5:

        .db $6D,$2F,$73,$3B,$31,$4E,$65,$77,$74,$6F,$6E,$3D,$31,$6B,$67,$20,$6D,$2F,$73,$32,$00

text6:

        .db $4E,$65,$77,$74,$6F,$6E,$32,$3A,$66,$3D,$6D,$61,$3B,$6D,$6F,$6D,$65,$6E,$74,$75,$6D,$00

text7:

        .db $28,$70,$29,$3D,$6D,$76,$3B,$28,$49,$29,$6D,$70,$75,$6C,$73,$65,$3D,$46,$BE,$74,$00

text8:

        .db $28,$77,$29,$6F,$72,$6B,$3D,$46,$BE,$64,$3B,$28,$50,$29,$6F,$77,$65,$72,$3D,$57,$2F,$BE,$74,$00

text9:

        .db $62,$79,$20,$4A,$2E,$4D,$61,$74,$74,$68,$65,$77,$73,$21,$00

.end

end


References: