I'm looking at the FILE02.S trying to understand the function of this 9010A script. It has embedded machine language routines designed to run on the UUT CPU for ROM checksums. How can I tell what CPU the OP codes are for? I think it is 8080...... 21 xx <- Low byte of PROM address start yy <- High byte of PROM address start AF 01 xx <- Low byte of PROM address end YY <- High byte of PROM address end 11 00 00 00 86 D2 0F QQ <- MSByte of RAM address 1C 57 23 7D A9 7A C2 0A QQ <- MSByte of RAM address 57 7C A8 7A C2 0A QQ <-MSByte of RAM address 86 D2 23 QQ <-MSByte of RAM address 1C 32 01 QQ+1 7B 32 00 QQ+1 76 :HALT (I figured this one out!)
Well, according to my reference bible (Osbournes' An Introduction to Microcomputers Vol 2 (get a copy if you don't have it!!!) Here is some CPU's code reference for the first group of instructions you posted: Note that the Z80 is often the same as 8080A code... Code Z80 8080 6800 6502 11 same LXI ?? ORA 00 as 00 aa 00 00 8080 00 11 00 00 NOP 10 ?? 86 ADD M ?? STX D2 JNC ?? 0F 0F ?? Looks like Z80 to me, or 8080A John :-#)# At 09:28 AM 12/05/2002 -0400, Kev wrote:
I'm looking at the FILE02.S trying to understand the function of this 9010A script. It has embedded machine language routines designed to run on the UUT CPU for ROM checksums.
How can I tell what CPU the OP codes are for?
I think it is 8080......
21 xx <- Low byte of PROM address start yy <- High byte of PROM address start AF 01 xx <- Low byte of PROM address end YY <- High byte of PROM address end 11 00 00 00 86 D2 0F <<-LSB QQ <- MSByte of RAM address 1C 57 23 7D A9 7A C2 0A <<-LSB QQ <- MSByte of RAM address 57 7C A8 7A C2 0A QQ <-MSByte of RAM address 86 D2 23 QQ <-MSByte of RAM address 1C 32 01 QQ+1 7B 32 00 QQ+1 76 :HALT (I figured this one out!)
participants (2)
-
John Robertson -
Kev