| pushmsx | Index |
Description:
Pseudo Code:
Flags Affected:
| D | H | C | Z | N |
Possible Errors:
| tvmStackIOErr | - | The read operation from the memory-mapped IO port is invalid. |
| tvmStackUnderflow | - | There were not enough bytes in the stack to get the I/O Port reference. |
Example:
pushmsx
Here the address for the aPortA2DValue0 port (0x0480) is on top of the stack (as an unsigned short) and we read the analog value (0x0323 in this example) as a short and push it onto stack.
|
| |||||||||||||||||||||||||||||||||||