ND-5000 '87 extension instructions¶
The ND-500 Reference Manual (ND-05.009.4, June 1987 edition) says the ND-5000 uses the same instructions as the ND-500, and that a number of new instructions were introduced with the ND-5000. These also run on ND-500/1 and ND-500/2 CPUs. The manual labels each of them ('87 extension) in its section heading. This page lists all of them, with the manual's own text for each, and says which are already in instructions.json and which are not.
Counts¶
Counted by tools/gen_87_extension_doc.py from the manual's labels and instructions.json. "Opcode entries" are the entries of instructions.json (what the emulator's tables call variants); "distinct opcodes" count each opcode value once, because some entries share an opcode.
| Instructions | Opcode entries | Distinct opcodes | |
|---|---|---|---|
| ND-500 base (not labelled '87), in instructions.json | 229 | 1063 | 1033 |
| '87 extension, already in instructions.json | 23 | 34 | 34 |
| All of instructions.json today | 252 | 1097 | 1067 |
| '87 extension according to the manual | 25 | not counted | 46 (+ 0 instructions whose opcodes the script could not read) |
| ND-5000 total according to the manual (base + all '87) | 254 | not counted | 1079 (+ 0 unread) |
The ND-500 base row assumes instructions.json holds every non-'87 instruction of the manual. That was not checked here; only the '87 instructions were.
The instructions¶
| Section | Instruction | What it does | Manual page | Opcodes in the manual | Status in instructions.json | Handler in nd500x |
|---|---|---|---|---|---|---|
| 10.36 | AMODB | Integer modulo | 0xFFBC to 0xFFC7 | missing from instructions.json | no opcode in the data, so no handler | |
| 10.37 | ENTIER | SIMULA Entier function | 0xFDC7, 0xFDC8 | in instructions.json, same opcodes | yes, every opcode has a handler | |
| 15.15 | PLCCN | Convert PLANC descriptor to ND-500 descriptor | 268 | 0xFFFD | in instructions.json, same opcodes | yes, every opcode has a handler |
| 15.16 | NCPLC | Convert ND-500 descriptor to PLANC descriptor | 269 | 0xFFFE | in instructions.json, same opcodes | no, illegal instruction trap |
| 15.17 | CLINIT | Initialize local clock | 270 | 0xFF1E | in instructions.json, same opcodes | yes, every opcode has a handler |
| 15.18 | CLREAD | Read local clock | 271 | 0xFF1F | in instructions.json, same opcodes | yes, every opcode has a handler |
| 16.11 | DDIRT | Dump 'Dirty' | 285 | 0xFFFA | in instructions.json, with the manual's opcodes and also 0xFE1E | yes, every opcode has a handler |
| 16.26.1 | RHOLE | read from NUCLEUS Hole | 301 | 0xFE9E | missing from instructions.json | no opcode in the data, so no handler |
| 16.26.2 | WHOLE | write to NUCLEUS hole | 302 | 0xFE9D | in instructions.json, same opcodes | no, illegal instruction trap |
| 16.26.3 | SEND | Send to port | 303 | 0xB6 | in instructions.json, same opcodes | no, illegal instruction trap |
| 16.26.4 | RECVE | Receive from port | 304 | 0xB7 | in instructions.json, same opcodes | no, illegal instruction trap |
| 16.27.1 | SREGBL | Save register block | 307 | 0xFFF7 | in instructions.json, same opcodes | yes, every opcode has a handler |
| 16.27.2 | LREGBL | Load register block | 308 | 0xFFF6 | in instructions.json, same opcodes | yes, every opcode has a handler |
| 16.27.3 | SCNTXT | Save context block | 309 | 0xFFF9 | in instructions.json, same opcodes | yes, every opcode has a handler |
| 16.27.4 | LCNTXT | Load context block | 310 | 0xFFF8 | in instructions.json, same opcodes | yes, every opcode has a handler |
| 16.28 | REXT | Read from device external to CPU | 311 | 0xFFE8, 0xFFE9, 0xFFEA, 0xFFEB | in instructions.json, same opcodes | yes, every opcode has a handler |
| 16.29 | WEXT | Write to device external to CPU | 312 | 0xFFEC, 0xFFED, 0xFFEE, 0xFFEF | in instructions.json, same opcodes | yes, every opcode has a handler |
| 16.30 | TOSSP | Special load of TOS | 313 | 0xFE9F | in instructions.json, same opcodes | no, illegal instruction trap |
| 16.31 | RPHS | Read from physical segment | 314 | 0xFFF5 | in instructions.json, same opcodes | yes, every opcode has a handler |
| 16.32 | WPHS | Write to physical segment | 315 | 0xFFF4 | in instructions.json, same opcodes | yes, every opcode has a handler |
| 16.33 | CAD | Load CAD | 316 | 0xFDBA | in instructions.json, same opcodes | yes, every opcode has a handler |
| 16.34 | JUMPS | Call supervisor | 317 | 0xB9 | in instructions.json, same opcodes | yes, every opcode has a handler |
| 16.35 | SVERS | Store microprogram version | 318 | 0xFFFB | in instructions.json, same opcodes | yes, every opcode has a handler |
| 16.36 | SCPUNO | Store CPU number | 319 | 0xFFFC | in instructions.json, same opcodes | yes, every opcode has a handler |
| 16.37 | PHYLADR | Get physical address | 320 | 0xFFF0, 0xFFF1, 0xFFF2, 0xFFF3 | in instructions.json, same opcodes | yes, every opcode has a handler |
"Handler in nd500x" means the opcode has an entry in the dispatch table of src/cpu/nd500_instructions.c (read by the script). An opcode without an entry raises the illegal instruction trap. An entry says a handler exists, not that it is complete or correct; the header of each handler names what is unsettled.
Misprints in the manual's code tables found by the script:
- AMODB (10.36): BYn AMODB: hex column gives 0xFFBC, octal column gives 0xFFBC, 0xFFBD, 0xFFBE, 0xFFBF; octal used
- AMODB (10.36): Hn AMODB: hex column gives 0xFFC0, octal column gives 0xFFC0, 0xFFC1, 0xFFC2, 0xFFC3; octal used
- AMODB (10.36): Wn AMODB: hex column gives 0xFFC4, octal column gives 0xFFC4, 0xFFC5, 0xFFC6, 0xFFC7; octal used
- REXT (16.28): Wn REXT: hex column gives 0xFFE8, octal column gives 0xFFE8, 0xFFE9, 0xFFEA, 0xFFEB; octal used
- WEXT (16.29): Wn WEXT: hex column gives 0xFFEC, octal column gives 0xFFEC, 0xFFED, 0xFFEE, 0xFFEF; octal used
- SCPUNO (16.36): SCPUNO: hex column gives 0xFF7CC, octal column gives 0xFFFC; octal used
The manual text for each instruction¶
Copied from the manual's Markdown. Page headers and footers are dropped; the manual's tables are as printed.
10.36 AMODB - Integer modulo¶
Status in instructions.json: missing from instructions.json.
Handler in nd500x: no opcode in the data, so no handler.
Format: tn AMODB
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| BYn AMODB | byte integer modulo | FFBCH | 177674B+n-1 |
| Hn AMODB | halfword integer modulo | FFCOH | 177700B+n-1 |
| Wn AMODB | word integer modulo | FFC4H | 177704B+n-1 |
Operation:¶
<operand1> - ((operand1) div <operand2>) * <operand2> -> Res
if
res = 0 then 0 -> result
elseif
sign(res) >< sign(
Description:¶
The specified register is loaded corresponding to the SIMULA IMOD definition. The function applies to integer operands only.
Trap Condition:¶
Divide by zero
Data Status Bits:¶
result = 0 -> Z result.signbit -> S
10.37 ENTIER - SIMULA Entier function¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: FLOAT_MATH.
Handler in nd500x: yes, every opcode has a handler.
Format: t ENTIER <source/r/t1>,<destination/w/w>
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| F ENTIER | float entier | FDC7H | 176707B |
| D ENTIER | double float entier | FDC8H | 176710B |
Operation:
if int(source) > source then
int(source) - 1 -> destination
else
int(source) -> destination
endif
Description:
The function calculates the integer part of the source in accordance to the SIMULA Entier definition and stores it as a 32 bit integer in the destination.
Data Status Bits:
- result = 0 -> Z
.signbit -> S - integer overflow -> O
| Page | Title |
|---|---|
| 160 | ND-500 Reference Manual |
Chapter 11
Arithmetical Instructions¶
15.15 PLCCN - Convert PLANC descriptor to ND-500 descriptor¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: SYSTEM.
Handler in nd500x: yes, every opcode has a handler.
Format: W PLCCN \<source/r/W>,\<destination/w/W>
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| W PLCCN | convert to ND-500 descriptor | FFFDH | 177775B |
Operation: (u-l+1) -> N a + 1 -> A
Description:
A PLANC descriptor is converted to an ND-500 descriptor.
The descriptors are as shown below:
| Planc descriptor | ND-500 descriptor | |
|---|---|---|
| address (a) | Number of elements (N) | |
| lower (l) | Address (A) | |
| upper (u) |
Data Status Bits: Number of elements = 0 -> Z Signbit -> S
15.16 NCPLC - Convert ND-500 descriptor to PLANC descriptor¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: SYSTEM.
Handler in nd500x: no, illegal instruction trap.
Format: W NCPLC <source/r/W>,<destination/w/W>
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| W NCPLC | convert to PLANC descriptor | FFFEH | 177776B |
Operation:
A -> a O -> l N - 1 -> u If u-l+1 < 0, 0 -> N
Description:
Convert ND-500 descriptor to planc descriptor.
The descriptors are as shown below:
| ND-500 descriptor | Planc descriptor |
|---|---|
| Number of elements (N) | address (a) |
| Address (A) | lower (l) |
| upper (u) |
Data Status Bits:
Upper = O -> Z Signbit -> S
15.17 CLINIT - Initialize local clock¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: SYSTEM.
Handler in nd500x: yes, every opcode has a handler.
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| CLINIT | initialize CPU's clock | FF1EH | 177436B |
Operation: 0 ->
Description:
Privileged instruction
The CPU contains a local clock running at 1 microsecond cycle time.
Clock is reset and started.
Trap Conditions: None
Data Status Bits: Unaffected
15.18 CLREAD - Read local clock¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: SYSTEM.
Handler in nd500x: yes, every opcode has a handler.
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| CLREAD | read CPU's clock | FF1FH | 177437B |
Operation:¶
<clock> -> W1
Description:¶
The clock value is read into register number 1. Time is an integer value giving the number of microseconds since the last CLINIT instruction.
Note that the clock counts for a period of 2**32 microseconds after which it starts from zero again.
Trap Conditions:¶
None
Data Status Bits:¶
<clock> = 0 -> Z<clock>.signbit -> S
16.11 DDIRT - Dump 'Dirty'¶
Status in instructions.json: in instructions.json, with the manual's opcodes and also 0xFE1E. Class in the data: SYSTEM.
Handler in nd500x: yes, every opcode has a handler.
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| DDIRT | dump dirty | FFFAH | 177772B |
Operation: Dump dirty
Description: Data marked 'dirty' in the data cache is written to the memory. If no cache is present, the instruction has no effect.
Trap Conditions: None
Data Status Bits: Unaffected
Example:
DDIRT
16.26.1 RHOLE - read from NUCLEUS Hole¶
Status in instructions.json: missing from instructions.json.
Handler in nd500x: no opcode in the data, so no handler.
Format: BY RHOLE (
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| BY RHOLE | Read hole | FE9EH | 177236B |
Operation: while not end of strings do S(I1) -> D(I2), I1+1 -> I1, I2+1 -> I2 enddo
Description:
Bytes are moved from source hole to destination string until either source is empty or until destination is full.
String descriptor:
| Length of source string |
|---|
| Start address of string |
Hole descriptor:
| Hole number |
|---|
| Reserved |
Trap Conditions:
No access to hole : PV trap. Nothing moved, registers unchanged. The hole is not a message : IOV trap. Nothing moved, registers unchanged. Outside source or destination : Descriptor Range Trap.
Data Status Bits:
Outside source : K = 0, I1, I2 Unchanged, DR trap condition. Outside destination : K = 1, I1, I2 Unchanged, DR trap condition. Source empty : K = 0, I1, I2 next element. Destination full : K = 1, I1, I2 next element.
16.26.2 WHOLE - write to NUCLEUS hole¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: IO.
Handler in nd500x: no, illegal instruction trap.
Format: BY WHOLE <string/r/by/I1>, <hole/w/by/I2>
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| BY WHOLE | Write hole | FE9DH | 177235B |
Operation: while not end of strings do S(I1) -> D(I2), I1+1 -> I1, I2+1 -> I2 enddo
Description:
Bytes are moved from source string to destination hole until either source is empty or until destination is full.
String descriptor:
| Length of source string |
|---|
| Start address of string |
Hole descriptor:
| Hole number |
|---|
| Reserved |
Trap Conditions:
- No access to hole : PV trap. Nothing moved, registers unchanged.
- The hole is not a message : IOV trap. Nothing moved, registers unchanged.
- Outside source or destination : Descriptor Range Trap.
Data Status Bits:
- Outside source : K = 0, I1, I2 Unchanged, DR trap condition.
- Outside destination : K = 1, I1, I2 Unchanged, DR trap condition.
- Source empty : K = 0, I1, I2 next element.
- Destination full : K = 1, I1, I2 next element.
16.26.3 SEND - Send to port¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: IO.
Handler in nd500x: no, illegal instruction trap.
Format: W1 SEND \
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| W1 SEND | send to port | B6H | 266B |
Operation:
I1 -> \
Description:
Message of register 1 is sent to hole number as specified by the operand.
Trap Conditions: Protect violation, Illegal operand specifier
Data Status Bits: Unaffected
16.26.4 RECVE - Receive from port¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: IO.
Handler in nd500x: no, illegal instruction trap.
Format:
W1 RECVE
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| W1 RECVE | receive from port | B7H | 267B |
Operation:
\
Description:
Receive message from hole number. Message is returned in register 1. Size of message is returned in 'number of bytes'.
Trap Conditions: Protect violation, Illegal operand specifier
Data Status Bits: Unaffected
16.27.1 SREGBL - Save register block¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: SYSTEM.
Handler in nd500x: yes, every opcode has a handler.
Format: SREGBL {mask/r/W}, {address/r/W}
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| SREGBL | save register block | FFF7H | 177767B |
Operation: Save register block registers in specified address according to 'mask'.
Description:
The registers specified in the mask are stored in logical memory locations addressed by {address} plus register number*4. The register numbers are shown in chapter 2.
16.27.2 LREGBL - Load register block¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: SYSTEM.
Handler in nd500x: yes, every opcode has a handler.
Format: LREGBL , ¶
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| LREGBL | load register block | FFF6H | 177766B |
Operation¶
Load register block from logical address according to 'mask'.
Description¶
The registers specified in the mask are loaded from logical memory locations addressed by {address} plus register number*4. The register numbers are shown in chapter 2.
When executed in non-privileged mode, the 'mask' will be reduced to include only registers that may be modified by assembly instructions in non privileged mode.
When included in the mask, registers residing in the domain information table are loaded from the logical address to the domain information table pointed out by PS and CED as result of the LREGBL instruction.
16.27.3 SCNTXT - Save context block¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: SYSTEM.
Handler in nd500x: yes, every opcode has a handler.
Format: SCNTXT <mask/r/W>, <address/r/W>
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| SCNTXT | save context | FFF9H | 177771B |
Operation: Store context block registers in specified address according to 'mask'.
Description:
Privileged instruction
Context block of current process number is saved in physical address according to 'mask'. If address = 0, context save area of the current process is used.
The registers specified in the mask are stored in locations addressed by <address> plus register number*4. The register numbers are shown in chapter 2.
When context save area is used, this is addressed by:
(process number+1)*400B + an operating system defined address.
16.27.4 LCNTXT - Load context block¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: SYSTEM.
Handler in nd500x: yes, every opcode has a handler.
Format: LCNTXT <mask/r/W>,<address/r/W>,<process number/r/W>
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| LCNTXT | load context | FFF8H | 177770B |
Operation: Load context block registers from specified address according to mask.
Description:¶
Privileged instruction
Context block of 'process number' is loaded from physical address according to 'mask'. If address = 0, context save area of the current process is used. If process number is less than 0, current process number is maintained.
The registers specified in the mask are loaded from locations addressed by <address> plus register number*4. The register numbers are shown in chapter 2.
When context block save area is used, this is addressed by:
(process number+1)*400B + an operating system defined address.
16.28 REXT - Read from device external to CPU¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: IO.
Handler in nd500x: yes, every opcode has a handler.
Format: Wn REXT \<device/r/W>
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| Wn REXT | read from external | FFE8H | 177750B+n-1 |
Operation: \
Description:
Privileged instruction.
Information is read from external device into the specified register. Further devices will be supported in later versions.
Device numbers:
Device = 0 : OCTO-bus / ACCP.
Data Status Bits:
Nothing read 1 -> K else 0 -> K
16.29 WEXT - Write to device external to CPU¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: IO.
Handler in nd500x: yes, every opcode has a handler.
Format: Wn WEXT
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| Wn WEXT | write to external device | FFEC | 177754B+n-1 |
Operation:
In ->
Description:
Privileged instruction.
Information is written into external device from the specified register. Further devices will be supported in later versions.
Register 'n' is written to 'device'.
Device numbers:
Device = 0 : OCTO-bus / ACCP.
Data Status Bits:
Unable to write data 1 -> K else 0 -> K
16.30 TOSSP - Special load of TOS¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: MOVE.
Handler in nd500x: no, illegal instruction trap.
Format:
TOSSP :=
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| TOSSP | special load of TOS | FE9F | 177237B |
Operation:
Description:
The TOS register is loaded from the operand. Before the value is loaded, a check on magnitude greater than B.SP is performed. If true, a stack overflow trap condition exists.
Trap condition: Stack overflow trap
Data Status Bits:
16.31 RPHS - Read from physical segment¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: SYSTEM.
Handler in nd500x: yes, every opcode has a handler.
Format: RPHS
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| RPHS | read from physical segment | FFF5H | 177765B |
Operation:
while I1 > 0 do
S([I4,I3) -> D(<domain number>.I2)
I3 + 1 -> I3
I2 + 1 -> I2
I1 - 1 -> I1
enddo
Description:
Privileged instruction
Copy a number of bytes from logical address on physical segment to logical address on the domain.
- I1 : Number of bytes to be moved.
- I2 : Logical address on the domain.
- I3 : Address on the physical segment.
- I4 : Physical segment number.
Operand : domain number.
The copy operation is continued until the number of bytes left is equal to 0 (I1 = 0) or a page boundary is reached on the physical segment. Number of bytes to be moved is counted down and will be zero when the move operation is completed. The addresses are incremented during the copy operation.
The instruction is meant for use when copying data from a physical segment in one process to a domain in another. The physical segment number is used together with the physical segment table pointer to find the physical page number of the wanted data page or of the corresponding index page.
Data Status Bits:
- no bytes left = 0 : 1 -> Z
- page boundary and no bytes left < 0 : 0 -> Z
16.32 WPHS - Write to physical segment¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: SYSTEM.
Handler in nd500x: yes, every opcode has a handler.
Format: WPHS <domain number/r/W>
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| WPHS | write to physical segment | FFF4H | 177764B |
Operation:
while I1 > 0 do
S(domain number.I2) -> D(I4.I3)
I3 + 1 -> I3
I2 + 1 -> I2
I1 - 1 -> I1
enddo
Description:
Privileged instruction
Copy number of bytes from logical address on the domain to logical address on physical segment.
- I1 : Number of bytes to be moved.
- I2 : Logical address on the domain.
- I3 : Address on the physical segment.
- I4 : Physical segment number.
- Operand : domain number.
The copy operation is continued until the number of bytes left is equal to 0 (I1 = 0) or a page boundary is reached on the physical segment. Number of bytes to be moved is counted down and will be zero when the move operation is completed. The addresses are incremented during the copy operation.
The instruction is meant for use when copying data to a physical segment in one process from a domain in another. The physical segment number is used together with the physical segment table pointer to find the physical page number of the wanted data page or of the corresponding index page.
Data Status Bits:
no bytes left = 0 : 1 -> Z page boundary and no bytes left < 0 : 0 -> Z
16.33 CAD - Load CAD¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: MOVE.
Handler in nd500x: yes, every opcode has a handler.
Format¶
CAD :=
Assembly Notation¶
| Name | Hex Code | Octal Code |
|---|---|---|
| load CAD | FDBAH | 176672B |
Operation¶
Description¶
Privileged instruction
Load current alternative domain register.
Data Status Bits¶
- Operand = 0 -> Z
.signbit -> S
16.34 JUMPS - Call supervisor¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: BRANCH.
Handler in nd500x: yes, every opcode has a handler.
Format: JUMPS <address/r/W>
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| JUMPS | call supervisor | B9H | 271B |
Operation:
P -> context.P
B -> context.B
<address> -> P
<cpuno> -> W1
Description:
Save P and B register in context block. Execution is started in <address>. The instruction implies SOLO mode.
W1 returns the ND-500/ND-5000 CPU number.
Trap Conditions: None
16.35 SVERS - Store microprogram version¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: SYSTEM.
Handler in nd500x: yes, every opcode has a handler.
Format: SVERS <destination/w/w>
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| SVERS | store version | FFFBH | 177773B |
Operation:
<microprog.vers> -> <destination>
Description:
Store microprogram version to destination address.
Data Status Bits: Status bit set according to version.
16.36 SCPUNO - Store CPU number¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: STRING.
Handler in nd500x: yes, every opcode has a handler.
Format: SCPUNO
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| SCPUNO | store CPU number | FF7CCH | 177774B |
Operation: <CPUNO> -> <destination>
Description:
Store CPU number in destination address.
Data Status Bits:
Status bit set according to CPU number.
16.37 PHYLADR - Get physical address¶
Status in instructions.json: in instructions.json, same opcodes. Class in the data: SYSTEM.
Handler in nd500x: yes, every opcode has a handler.
Format: tn PHYLADR
| Assembly notation | Name | Hex code | Octal code |
|---|---|---|---|
| tn PHYLADR | get physical address | FFF0+n-1 | 177760B+n-1 |
Operation:¶
tr(addr(operand)) -> In
Description:¶
The specified index register is loaded with the logical address of operand translated to physical ND-500/ND-5000 address.