ASSEMBLE Statement [ SPL to HP C/XL Migration Guide ] MPE/iX 5.0 Documentation
SPL to HP C/XL Migration Guide
ASSEMBLE Statement
Table 7-1. ASSEMBLE Statement
-----------------------------------------------------------------------------------------------
| | |
| SPL | HP C/XL Equivalent |
| | |
-----------------------------------------------------------------------------------------------
| | |
| assemble-statement: | No equivalent. |
| | |
| ASSEMBLE | |
| | |
| ( {[label-id :] instruction}[;...] ) | |
| | |
-----------------------------------------------------------------------------------------------
| | |
| Allows direct access to MPE V machine | Many of the instructions have functional |
| instructions. | equivalents in HP C/XL. See the example |
| | below. |
| | |
| | In general, register manipulation |
| | instructions will have to be redesigned and |
| | rewritten, whereas memory reference |
| | instructions frequently have |
| | straightforward replacements. |
| | |
-----------------------------------------------------------------------------------------------
| | |
| Example: | HP C/XL version: |
| | |
| ASSEMBLE(INCM ivar); increment memory | ++ivar; same operation |
| | |
-----------------------------------------------------------------------------------------------
MPE/iX 5.0 Documentation