beautypg.com

Output source file "test.ms" (default) – Epson S5U1C62000A User Manual

Page 128

background image

116

EPSON

S5U1C62000A MANUAL

(S1C60/62 FAMILY ASSEMBLER PACKAGE)

CHAPTER 8: DISASSEMBLER

Output source file "test.ms" (default)

;Disassembler 62 Ver x.xx Assembly source file TEST.MS Mon May 04 11:49:34 1998

.org

0x100

ld

a,0x8

ld

sph,a

ld

a,0x0

ld

spl,a

pset

0x2

call

LABEL1

LABEL3:

pset

0x2

call

LABEL2

jp

LABEL3

.org

0x200

LABEL1:

ld

a,0x0

ld

xp,a

ld

x,0x0

lbpx

mx,0x0

lbpx

mx,0x0

ret

LABEL2:

ld

a,0x0

ld

xp,a

ld

x,0x0

ld

a,0x0

scf
acpx

mx,a

acpx

mx,a

acpx

mx,a

adc

mx,a

ret

Output source file "test.ms" (when -cl is specified)

;Disassembler 62 Ver x.xx Assembly source file TEST.MS Mon May 04 11:50:20 1998

.org

0x100

ld

a,0x8

ld

sph,a

ld

a,0x0

ld

spl,a

pset

0x2

call

label1

label3:

pset

0x2

call

label2

jp

label3

.org

0x200

label1:

ld

a,0x0

ld

xp,a

ld

x,0x0

lbpx

mx,0x0

lbpx

mx,0x0

ret

label2:

ld

a,0x0

ld

xp,a

ld

x,0x0

ld

a,0x0

scf
acpx

mx,a

acpx

mx,a

acpx

mx,a

adc

mx,a

ret