Hitachi NJI-350B Video Game Controller User Manual


 
Appendix 1 H-series Instruction Support Comparison Chart
A-4
[Application instructions] (2/2)
No. Instruction
format
Instruction name
MICRO-
EH
EH-150 H-64
~
H-20
H-200 H-250 H-252 H-2000
H-700
H-300
H-2002
H-1002
H-702
H-302
H-4010
18 XCG (d, d2, n) Block exchange {{
××
{{{{{
19 NOT (d) Reverse {{{{{{{{{
20 NEG (d) Two's complement {{{{{{{{{
21 ABS (d, s) Absolute value {{{{{{{{{
22 SGET (d, s) Sign addition
×
{
××
{{{{{
23 EXT (d, s) Sign expansion
×
{
××
{{{{{
24 BCD (d, s)
Binary BCD conversion
{{{{{{{{{
25 BIN (d, s)
BCD Binary conversion
{{{{{{{{{
26 DECO (d, s, n) Decode {{{{{{{{{
27 ENCO (d, s, n) Encode {{{{{{{{{
28 SEG (d, s) 7 segment decode
×
{
××
{{{{{
29 SQR (d, s) Square root
×
{
××
{{{{{
30 BCU (d, s) Bit count {{{{{{{{{
31 SWAP (d) Swap {{{{{{{{{
32 FIFIT (P, n) Initialize FIFO
×
{
××
{{{{{
33 FIFWR (P, s) Write FIFO
×
{
××
{{{{{
34 FIFRD (P, d) Read FIFO
×
{
××
{{{{{
35 UNIT (d, s, n) Unit {{{{{{{{{
36 DIST (d, s, n) Distribute {{{{{{{{{
37 ADRIO (d, s) Convert I/O address
×
{
×××
{{{{
[Control instructions]
No. Instruction
format
Instruction name
MICRO-
EH
EH-150 H-64
~
H-20
H-200 H-250 H-252 H-2000
H-700
H-300
H-2002
H-1002
H-702
H-302
H-4010
1 END End normal scan {{{{{{{{{
2 CEND (s) End scan condition {{{{{{{{{
3 JMP n Unconditional jump {{{{{{{{{
4 CJMP n (s) Conditional jump {{{{{{{{{
5 RSRV n Reserve
××××××
{{{
6 FREE Free reserve
××××××
{{{
7LBL n Label {{{{{{{{{
8FOR n (s) For {{
××
{{{{{
9NEXT n Next {{
××
{{{{{
10 CAL n Call subroutine {{{{{{{{{
11 SB n Start subroutine program {{{{{{{{{
12 RTS Return subroutine {{{{{{{{{
13 START n Start basic task
××××××
{{{
14 INT n Start interrupt scan program {{{{{{{{{
15 RTI Return interrupt {{{{{{{{{