Nicron #16
17 января 1997 |
![]() |
Iron - an overview of the microprocessor Zilog Z380, continued.

MPU Z380 [Continued. Previous publications - in numbers 15,14,12,11,10, 9,8,7] (C) WLODEK BLACK Command group transitions Mnemonic Meaning Commentary New commands: JR ee PC <- PC + ee +4 relative shift of two byte offset, counting emomu of instruction code that follows the JR (4 bytes) JR cc, ee same - go for the condition C, NC, Z, NZ JR eee PC <- PC + eee +5 on the transition to 3-by tovomu shift, measured of the next instruction (5 bytes) JR cc, eee same - go for the condition C, NC, Z, NZ DJNZ ee B <- B-1; If B is not 0, then PC <- PC + ee +4 Otherwise - PC <- PC +4 Operator cycle register B with respect to the transition to a 2-byte shift Niya on the following instructions (4 bytes) DJNZ eee B <- B-1; If B is not 0, then PC <- PC + eee +5 Else PC <- PC +5 Same with the transition to a 3-byte offset th Group of commands to access routines and return from subroutines New commands: CALR e (SP-1) <- PCh Go to the subprogramme include (SP-2) <- PCl with respect to the next team SP <- SP-2 Offset e PC <- PC + e +3 CALR cc, e The same condition on Z, NZ, C, NC, S, NS, NV, V, PE, PO, P, M CALR ee (SP-1) <- PCh Go to the subprogramme include (SP-2) <- PCl with respect to the next team SP <- SP-2 2-byte offset ee PC <- PC + ee +4 CALR cc, ee Same as on the conditions for CALR cc, e CALR eee (SP-1) <- PCh Go to the subprogramme include (SP-2) <- PCl with respect to the next team SP <- SP-2 3-byte offset eee PC <- PC + eee +5 CALR cc, eee Same as on the conditions for CALR cc, e In Advanced mode, the CPU is stored in a stack of 4-byte return address, respectively, the stack grows by 4 values. When using the "old" RST commands in advanced mode the missing bits to 32 bits are complemented with zeros. If you are using a non-dilated relative addressing mode of the processor address is calculated modulo 65536; older 16-bit = 0. In all cases, e, ee, eee - MSB is the sign. P.S. Amendment: In the 15 th issue has crept typo. Published by: DIVUV [HL,] pp. Needed: DIVUW [HL,] pp. I express my apologies to readers! [To be continued].
Other articles:
Similar articles:
В этот день... 1 April
Info Guide #13,
ACNews #50,
Avro News #01,
ACNews #47,
ACNews #40,
ACNews #29,
Black Metall #01,
ACNews #16,
Adventurer #13,
Polesse #19,
Subliminal Extacy #03,
ZX Pilot #37,
Always #03,
Born Dead #0G,
Odyssey paper #08,
Optron #26,
City #08,
Zodiac #02,
Polesse #05,
Nicron #108,
X-Magazine #10,
Nicron #82,
Energy #01,
Sorrow News #03,
Sorrow News #02,
Proton #27,
Think #08,
Wallpaper #01,
Spectrum Progress #03,
Spectrum Expert #02,
Micro #01,
X-Files #02,
Gorodok #05,
Deja Vu #04,
Anecdotes #01,
X-Files #02,
Maximum #35,
Impulse #01,
Spectrofun #01,
Faultless #07,
Breeze #06,
Nicron #27,
Echo #03,
Oberon #01,
Spectrofon #19,
On-Line #30,
Sinclair Town #01,
Sinclair Classic #04,
Spectrofon #04