A82: Re: 1 Problem first....
[Prev][Next][Index][Thread]
A82: Re: 1 Problem first....
>From the usual Z80 book:
JP cc,pq
byte1: 11ccc010
byte2: low part of addr
byte3: high part of addr
ccc maybe one of the followong
NZ - 000
Z - 001
NC - 010
C - 011
PO - 100
PE - 101
P - 110
M - 111
So if your assembler does not support JP P and JP M just replace them with
a .DB
JP P,addr = .DB 11110010b .DW addr
JP M,addr = .DB 11111010b .DW addr
If this occurs in a lot of places define some macros like the following
#DEFINE JPP(addr) .DB 11110010b \ .DW addr
#DEFINE JPM(addr) .DB 11110010b \ .DW addr
Dines
_______________________________________
Dines Justesen
Email: dines@post1.com or
c958362@student.dtu.dk
WWW : http://www.gbar.dtu.dk/~c958362/
_______________________________________
Follow-Ups: