home *** CD-ROM | disk | FTP | other *** search
- r0 RN 0
- r1 RN 1
- r2 RN 2
- r3 RN 3
- r4 RN 4
- r5 RN 5
- r6 RN 6
- r7 RN 7
- r8 RN 8
- r9 RN 9
- r10 RN 10
- r11 RN 11
- r12 RN 12
- r13 RN 13
- r14 RN 14
- r15 RN 15
-
- wrk RN 12
- sp RN 13
- lk RN 14
- pc RN 15
-
- R0 RN 0
- R1 RN 1
- R2 RN 2
- R3 RN 3
- R4 RN 4
- R5 RN 5
- R6 RN 6
- R7 RN 7
- R8 RN 8
- R9 RN 9
- R10 RN 10
- R11 RN 11
- R12 RN 12
- R13 RN 13
- R14 RN 14
- R15 RN 15
-
- N_bit * 1 :SHL: 31
- Z_bit * 1 :SHL: 30
- C_bit * 1 :SHL: 29
- V_bit * 1 :SHL: 28
- I_bit * 1 :SHL: 27
- F_bit * 1 :SHL: 26
-
- X_bit * &20000
-
-
- OS_WriteC * 0
- OS_WriteS * 1
- OS_Write0 * 2
- OS_NewLine * 3
- OS_ReadC * 4
- OS_CLI * 5
- OS_Byte * 6
- OS_Word * 7
- OS_File * 8
- OS_Args * 9
- OS_BGet * &a
- OS_BPut * &b
- OS_GBPB * &c
- OS_Find * &d
- OS_ReadLine * &e
- OS_Control * &f
- OS_GetEnv * &10
- OS_Exit * &11
- OS_SetEnv * &12
- OS_IntOn * &13
- OS_IntOff * &14
- OS_CallBack * &15
- OS_EnterOS * &16
- OS_BreakPt * &17
- OS_BreakCtrl * &18
- OS_UnusedSWI * &19
- OS_UpdateMEMC * &1a
- OS_SetCallBack * &1b
- OS_Mouse * &1c
- OS_Heap * &1d
- OS_Module * &1e
- OS_Claim * &1f
- OS_Release * &20
- OS_ReadUnsigned * &21
- OS_GenerateEvent * &22
- OS_ReadVarVal * &23
- OS_SetVarVal * &24
- OS_GSInit * &25
- OS_GSRead * &26
- OS_GSTrans * &27
- OS_BinaryToDecimal * &28
- OS_FSControl * &29
- OS_ChangeDynamicArea * &2a
- OS_GenerateError * &2b
- OS_ReadEscapeState * &2c
- OS_EvaluateExpression * &2d
- OS_SpriteOp * &2e
- OS_ReadPalette * &2f
- OS_ServiceCall * &30
- OS_ReadVduVariables * &31
- OS_ReadPoint * &32
- OS_UpCall * &33
- OS_CallAVector * &34
- OS_ReadModeVariable * &35
- OS_RemoveCursors * &36
- OS_RestoreCursors * &37
- OS_SWINumberToString * &38
- OS_SWINumberFromString * &39
- OS_ValidateAddress * &3a
- OS_CallAfter * &3b
- OS_CallEvery * &3c
- OS_RemoveTickerEvent * &3d
- OS_InstallKeyHandler * &3e
- OS_CheckModeValid * &3f
- OS_ChangeEnvironment * &40
- OS_ClaimScreenMemory * &41
- OS_ReadMonotonicTime * &42
- OS_SubstituteArgs * &43
- OS_PrettyPrint * &44
- OS_Plot * &45
- OS_WriteN * &46
- OS_AddToVector * &47
- OS_WriteEnv * &48
- OS_ReadArgs * &49
- OS_ReadRAMFsLimits * &4a
- OS_ClaimDeviceVector * &4b
- OS_ReleaseDeviceVector * &4c
- OS_DelinkApplication * &4d
- OS_RelinkApplication * &4e
- OS_HeapSort * &4f
- OS_ExitAndDie * &50
- OS_ReadMemMapInfo * &51
- OS_ReadMemMapEntries * &52
- OS_SetMemMapEntries * &53
- OS_AddCallBack * &54
- OS_ReadDefaultHandler * &55
- OS_SetECFOrigin * &56
- OS_SerialOp * &57
- OS_ReadSysInfo * &58
- OS_Confirm * &59
- OS_ChangedBox * &5a
- OS_CRC * &5b
- OS_ReadDynamicArea * &5c
- OS_PrintChar * &5d
- OS_ChangeRedirection * &5e
- OS_RemoveCallBack * &5f
- OS_FindMemMapEntries * &60
- OS_ConvertStandardDateAndTime * &c0
- OS_ConvertDateAndTime * &c1
- OS_ConvertHex1 * &d0
- OS_ConvertHex2 * &d1
- OS_ConvertHex4 * &d2
- OS_ConvertHex6 * &d3
- OS_ConvertHex8 * &d4
- OS_ConvertCardinal1 * &d5
- OS_ConvertCardinal2 * &d6
- OS_ConvertCardinal3 * &d7
- OS_ConvertCardinal4 * &d8
- OS_ConvertInteger1 * &d9
- OS_ConvertInteger2 * &da
- OS_ConvertInteger3 * &db
- OS_ConvertInteger4 * &dc
- OS_ConvertBinary1 * &dd
- OS_ConvertBinary2 * &de
- OS_ConvertBinary3 * &df
- OS_ConvertBinary4 * &e0
- OS_ConvertSpacedCardinal1 * &e1
- OS_ConvertSpacedCardinal2 * &e2
- OS_ConvertSpacedCardinal3 * &e3
- OS_ConvertSpacedCardinal4 * &e4
- OS_ConvertSpacedInteger1 * &e5
- OS_ConvertSpacedInteger2 * &e6
- OS_ConvertSpacedInteger3 * &e7
- OS_ConvertSpacedInteger4 * &e8
- OS_ConvertFixedNetStation * &e9
- OS_ConvertNetStation * &ea
- OS_ConvertFixedFileSize * &eb
- OS_ConvertFileSize * &ec
- OS_WriteI * &100
- IIC_Control * &240
- Cache_Control * &280
- Cache_Cacheable * &281
- Cache_Updateable * &282
- Cache_Disruptive * &283
- Cache_Flush * &284
- Font_CacheAddr * &40080
- Font_FindFont * &40081
- Font_LoseFont * &40082
- Font_ReadDefn * &40083
- Font_ReadInfo * &40084
- Font_StringWidth * &40085
- Font_Paint * &40086
- Font_Caret * &40087
- Font_ConverttoOS * &40088
- Font_Converttopoints * &40089
- Font_SetFont * &4008a
- Font_CurrentFont * &4008b
- Font_FutureFont * &4008c
- Font_FindCaret * &4008d
- Font_CharBBox * &4008e
- Font_ReadScaleFactor * &4008f
- Font_SetScaleFactor * &40090
- Font_ListFonts * &40091
- Font_SetFontColours * &40092
- Font_SetPalette * &40093
- Font_ReadThresholds * &40094
- Font_SetThresholds * &40095
- Font_FindCaretJ * &40096
- Font_StringBBox * &40097
- Font_ReadColourTable * &40098
- Font_MakeBitmap * &40099
- Font_UnCacheFile * &4009a
- Font_SetFontMax * &4009b
- Font_ReadFontMax * &4009c
- Font_ReadFontPrefix * &4009d
- Font_SwitchOutputToBuffer * &4009e
- Font_ReadFontMetrics * &4009f
- Font_DecodeMenu * &400a0
- Font_ScanString * &400a1
- Font_SetColourTable * &400a2
- Font_CurrentRGB * &400a3
- Font_FutureRGB * &400a4
- Font_ReadEncodingFilename * &400a5
- Font_FindField * &400a6
- Font_ApplyFields * &400a7
- Wimp_Initialise * &400c0
- Wimp_CreateWindow * &400c1
- Wimp_CreateIcon * &400c2
- Wimp_DeleteWindow * &400c3
- Wimp_DeleteIcon * &400c4
- Wimp_OpenWindow * &400c5
- Wimp_CloseWindow * &400c6
- Wimp_Poll * &400c7
- Wimp_RedrawWindow * &400c8
- Wimp_UpdateWindow * &400c9
- Wimp_GetRectangle * &400ca
- Wimp_GetWindowState * &400cb
- Wimp_GetWindowInfo * &400cc
- Wimp_SetIconState * &400cd
- Wimp_GetIconState * &400ce
- Wimp_GetPointerInfo * &400cf
- Wimp_DragBox * &400d0
- Wimp_ForceRedraw * &400d1
- Wimp_SetCaretPosition * &400d2
- Wimp_GetCaretPosition * &400d3
- Wimp_CreateMenu * &400d4
- Wimp_DecodeMenu * &400d5
- Wimp_WhichIcon * &400d6
- Wimp_SetExtent * &400d7
- Wimp_SetPointerShape * &400d8
- Wimp_OpenTemplate * &400d9
- Wimp_CloseTemplate * &400da
- Wimp_LoadTemplate * &400db
- Wimp_ProcessKey * &400dc
- Wimp_CloseDown * &400dd
- Wimp_StartTask * &400de
- Wimp_ReportError * &400df
- Wimp_GetWindowOutline * &400e0
- Wimp_PollIdle * &400e1
- Wimp_PlotIcon * &400e2
- Wimp_SetMode * &400e3
- Wimp_SetPalette * &400e4
- Wimp_ReadPalette * &400e5
- Wimp_SetColour * &400e6
- Wimp_SendMessage * &400e7
- Wimp_CreateSubMenu * &400e8
- Wimp_SpriteOp * &400e9
- Wimp_BaseOfSprites * &400ea
- Wimp_BlockCopy * &400eb
- Wimp_SlotSize * &400ec
- Wimp_ReadPixTrans * &400ed
- Wimp_ClaimFreeMemory * &400ee
- Wimp_CommandWindow * &400ef
- Wimp_TextColour * &400f0
- Wimp_TransferBlock * &400f1
- Wimp_ReadSysInfo * &400f2
- Wimp_SetFontColours * &400f3
- Wimp_GetMenuState * &400f4
- Wimp_RegisterFilter * &400f5
- Wimp_AddMessages * &400f6
- Sound_Configure * &40140
- Sound_Enable * &40141
- Sound_Stereo * &40142
- Sound_Speaker * &40143
- Sound_Volume * &40180
- Sound_SoundLog * &40181
- Sound_LogScale * &40182
- Sound_InstallVoice * &40183
- Sound_RemoveVoice * &40184
- Sound_AttachVoice * &40185
- Sound_ControlPacked * &40186
- Sound_Tuning * &40187
- Sound_Pitch * &40188
- Sound_Control * &40189
- Sound_AttachNamedVoice * &4018a
- Sound_ReadControlBlock * &4018b
- Sound_WriteControlBlock * &4018c
- Sound_QInit * &401c0
- Sound_QSchedule * &401c1
- Sound_QRemove * &401c2
- Sound_QFree * &401c3
- Sound_QSDispatch * &401c4
- Sound_QTempo * &401c5
- Sound_QBeat * &401c6
- Sound_QInterface * &401c7
- ADFS_DiscOp * &40240
- ADFS_HDC * &40241
- ADFS_Drives * &40242
- ADFS_FreeSpace * &40243
- ADFS_Retries * &40244
- ADFS_DescribeDisc * &40245
- ADFS_VetFormat * &40246
- ADFS_FlpProcessDCB * &40247
- ADFS_ControllerType * &40248
- ADFS_PowerControl * &40249
- ADFS_SetIDEController * &4024a
- ADFS_IDEUserOp * &4024b
- ADFS_MiscOp * &4024c
- ADFS_ECCSAndRetries * &40250
- Podule_ReadID * &40280
- Podule_ReadHeader * &40281
- Podule_EnumerateChunks * &40282
- Podule_ReadChunk * &40283
- Podule_ReadBytes * &40284
- Podule_WriteBytes * &40285
- Podule_CallLoader * &40286
- Podule_RawRead * &40287
- Podule_RawWrite * &40288
- Podule_HardwareAddress * &40289
- Podule_EnumerateChunksWithInfo * &4028a
- Podule_HardwareAddresses * &4028b
- Podule_ReturnNumber * &4028c
- Debugger_Disassemble * &40380
- FPEmulator_Version * &40480
- FileCore_DiscOp * &40540
- FileCore_Create * &40541
- FileCore_Drives * &40542
- FileCore_FreeSpace * &40543
- FileCore_FloppyStructure * &40544
- FileCore_DescribeDisc * &40545
- FileCore_DiscardReadSectorsCache * &40546
- FileCore_DiscFormat * &40547
- FileCore_LayoutStructure * &40548
- FileCore_MiscOp * &40549
- Shell_Create * &405c0
- Shell_Destroy * &405c1
- Hourglass_On * &406c0
- Hourglass_Off * &406c1
- Hourglass_Smash * &406c2
- Hourglass_Start * &406c3
- Hourglass_Percentage * &406c4
- Hourglass_LEDs * &406c5
- Hourglass_Colours * &406c6
- Draw_ProcessPath * &40700
- Draw_ProcessPathFP * &40701
- Draw_Fill * &40702
- Draw_FillFP * &40703
- Draw_Stroke * &40704
- Draw_StrokeFP * &40705
- Draw_StrokePath * &40706
- Draw_StrokePathFP * &40707
- Draw_FlattenPath * &40708
- Draw_FlattenPathFP * &40709
- Draw_TransformPath * &4070a
- Draw_TransformPathFP * &4070b
- ColourTrans_SelectTable * &40740
- ColourTrans_SelectGCOLTable * &40741
- ColourTrans_ReturnGCOL * &40742
- ColourTrans_SetGCOL * &40743
- ColourTrans_ReturnColourNumber * &40744
- ColourTrans_ReturnGCOLForMode * &40745
- ColourTrans_ReturnColourNumberForMode * &40746
- ColourTrans_ReturnOppGCOL * &40747
- ColourTrans_SetOppGCOL * &40748
- ColourTrans_ReturnOppColourNumber * &40749
- ColourTrans_ReturnOppGCOLForMode * &4074a
- ColourTrans_ReturnOppColourNumberForMode * &4074b
- ColourTrans_GCOLToColourNumber * &4074c
- ColourTrans_ColourNumberToGCOL * &4074d
- ColourTrans_ReturnFontColours * &4074e
- ColourTrans_SetFontColours * &4074f
- ColourTrans_InvalidateCache * &40750
- ColourTrans_SetCalibration * &40751
- ColourTrans_ReadCalibration * &40752
- ColourTrans_ConvertDeviceColour * &40753
- ColourTrans_ConvertDevicePalette * &40754
- ColourTrans_ConvertRGBToCIE * &40755
- ColourTrans_ConvertCIEToRGB * &40756
- ColourTrans_WriteCalibrationToFile * &40757
- ColourTrans_ConvertRGBToHSV * &40758
- ColourTrans_ConvertHSVToRGB * &40759
- ColourTrans_ConvertRGBToCMYK * &4075a
- ColourTrans_ConvertCMYKToRGB * &4075b
- ColourTrans_ReadPalette * &4075c
- ColourTrans_WritePalette * &4075d
- ColourTrans_SetColour * &4075e
- ColourTrans_MiscOp * &4075f
- RamFS_DiscOp * &40780
- RamFS_Drives * &40782
- RamFS_FreeSpace * &40783
- RamFS_DescribeDisc * &40785
- Super_Sample90 * &40d80
- Super_Sample45 * &40d81
- FilerAction_SendSelectedDirectory * &40f80
- FilerAction_SendSelectedFile * &40f81
- FilerAction_SendStartOperation * &40f82
- MessageTrans_FileInfo * &41500
- MessageTrans_OpenFile * &41501
- MessageTrans_Lookup * &41502
- MessageTrans_MakeMenus * &41503
- MessageTrans_CloseFile * &41504
- MessageTrans_EnumerateTokens * &41505
- MessageTrans_ErrorLookup * &41506
- MessageTrans_GSLookup * &41507
- DOSFS_DiscFormat * &41ac0
- DOSFS_LayoutStructure * &41ac1
- ResourceFS_RegisterFiles * &41b40
- ResourceFS_DeregisterFiles * &41b41
- DragASprite_Start * &42400
- DragASprite_Stop * &42401
- DDEUtils_Prefix * &42580
- DDEUtils_SetCLSize * &42581
- DDEUtils_SetCL * &42582
- DDEUtils_GetCLSize * &42583
- DDEUtils_GetCl * &42584
- DDEUtils_ThrowbackRegister * &42585
- DDEUtils_ThrowbackUnRegister * &42586
- DDEUtils_ThrowbackStart * &42587
- DDEUtils_ThrowbackSend * &42588
- DDEUtils_ThrowbackEnd * &42589
- Filter_RegisterPreFilter * &42640
- Filter_RegisterPostFilter * &42641
- Filter_DeRegisterPreFilter * &42642
- Filter_DeRegisterPostFilter * &42643
- TaskManager_TaskNameFromHandle * &42680
- TaskManager_EnumerateTasks * &42681
- Squash_Compress * &42700
- Squash_Decompress * &42701
- DeviceFS_Register * &42740
- DeviceFS_Deregister * &42741
- DeviceFS_RegisterObjects * &42742
- DeviceFS_DeregisterObjects * &42743
- DeviceFS_CallDevice * &42744
- DeviceFS_Threshold * &42745
- DeviceFS_ReceivedCharacter * &42746
- DeviceFS_TransmitCharacter * &42747
- Buffer_Create * &42940
- Buffer_Remove * &42941
- Buffer_Register * &42942
- Buffer_Deregister * &42943
- Buffer_ModifyFlags * &42944
- Buffer_LinkDevice * &42945
- Buffer_UnlinkDevice * &42946
- Buffer_GetInfo * &42947
- Buffer_Threshold * &42948
- BASICTrans_HELP * &42c80
- BASICTrans_Error * &42c81
- BASICTrans_Message * &42c82
- Parallel_HardwareAddress * &42ec0
- Territory_Number * &43040
- Territory_Register * &43041
- Territory_Deregister * &43042
- Territory_NumberToName * &43043
- Territory_Exists * &43044
- Territory_AlphabetNumberToName * &43045
- Territory_SelectAlphabet * &43046
- Territory_SetTime * &43047
- Territory_ReadCurrentTimeZone * &43048
- Territory_ConvertTimeToUTCOrdinals * &43049
- Territory_ReadTimeZones * &4304a
- Territory_ConvertDateAndTime * &4304b
- Territory_ConvertStandardDateAndTime * &4304c
- Territory_ConvertStandardDate * &4304d
- Territory_ConvertStandardTime * &4304e
- Territory_ConvertTimeToOrdinals * &4304f
- Territory_ConvertTimeStringToOrdinals * &43050
- Territory_ConvertOrdinalsToTime * &43051
- Territory_Alphabet * &43052
- Territory_AlphabetIdentifier * &43053
- Territory_SelectKeyboardHandler * &43054
- Territory_WriteDirection * &43055
- Territory_CharacterPropertyTable * &43056
- Territory_LowerCaseTable * &43057
- Territory_UpperCaseTable * &43058
- Territory_ControlTable * &43059
- Territory_PlainTable * &4305a
- Territory_ValueTable * &4305b
- Territory_RepresentationTable * &4305c
- Territory_Collate * &4305d
- Territory_ReadSymbols * &4305e
- Territory_ReadCalendarInformation * &4305f
- Territory_NameToNumber * &43060
- Territory_ConvertTextToString * &43075
- TaskWindow_TaskInfo * &43380
- PDriver_Info * &80140
- PDriver_SetInfo * &80141
- PDriver_CheckFeatures * &80142
- PDriver_PageSize * &80143
- PDriver_SetPageSize * &80144
- PDriver_SelectJob * &80145
- PDriver_CurrentJob * &80146
- PDriver_FontSWI * &80147
- PDriver_EndJob * &80148
- PDriver_AbortJob * &80149
- PDriver_Reset * &8014a
- PDriver_GiveRectangle * &8014b
- PDriver_DrawPage * &8014c
- PDriver_GetRectangle * &8014d
- PDriver_CancelJob * &8014e
- PDriver_ScreenDump * &8014f
- PDriver_EnumerateJobs * &80150
- PDriver_SetPrinter * &80151
- PDriver_CancelJobWithError * &80152
- PDriver_SelectIllustration * &80153
- PDriver_InsertIllustration * &80154
- PDriver_DeclareFont * &80155
- PDriver_DeclareDriver * &80156
- PDriver_RemoveDriver * &80157
- PDriver_SelectDriver * &80158
- PDriver_EnumerateDrivers * &80159
- PDriver_MiscOp * &8015a
- PDriver_MiscOpForDriver * &8015b
- PDriver_SetDriver * &8015c
- SharedCLibrary_LibInitAPCS_A * &80680
- SharedCLibrary_LibInitAPCS_R * &80681
- SharedCLibrary_LibInitModule * &80682
- ABCLib_Init * &80b80
- ABCLib_Register * &80b81
- ABCLib_Profile * &80b82
- ABCLib_WAC * &80b83
- FrontEnd_ExtendedCmdLine * &81400
- FrontEnd_FreeCmdLine * &81401
- Interface_SlabButton * &81680
- Interface_Render3dWindow * &81681
- Interface_Initialise * &81682
- Interface_CloseDown * &81683
- Interface_SetWorkareaPointer * &81684
- Interface_RemoveWorkareaPointer * &81685
- Interface_Poll * &81686
- Interface_SendHelp * &81687
- Interface_PreProcessKey * &81688
- Interface_Plot3dIcon * &81689
- Interface_BoundingBox * &8168a
- SlidingHeap_Create * &c0280
- SlidingHeap_NewBlock * &c0281
- SlidingHeap_ScrapBlock * &c0282
- SlidingHeap_ExtendBlock * &c0283
- SlidingHeap_HeapInfo * &c0284
- SlidingHeap_VerifyAnchors * &c0285
- SlidingHeap_NextFree * &c0286
- SlidingHeap_NextBlock * &c0287
- SlidingHeap_DescribeBlock * &c0288
- SlidingHeap_ShiftHeap * &c0289
- CV_WannaAlter * &c1500
- CV_TestMode * &c1501
- CV_Enhancer * &c1502
- CV_SysInfo * &c1503
- WD_Hex * &cff00
- WD_HexB * &cff01
- WD_DecS * &cff02
- WD_DecSB * &cff03
- WD_DecU * &cff04
- WD_DecUB * &cff05
- WD_Bin * &cff06
- WD_BinB * &cff07
- WD_HexI * &cff08
- WD_HexBI * &cff09
- WD_DecSI * &cff0a
- WD_DecSBI * &cff0b
- WD_DecUI * &cff0c
- WD_DecUBI * &cff0d
- WD_BinI * &cff0e
- WD_BinBI * &cff0f
- WD_StringZ * &cff10
- WD_StringCR * &cff11
- WD_StringSP * &cff12
- WD_PC * &cff13
-
-
- MACRO
- $label Show $reg,$icon,$type,$offset
-
- [ debug<>0
-
- LCLL indir
- LCLL string
- LCLL byteop
- LCLA opcode
- LCLS workstr
- LCLA swinum
-
- workstr SETS "$type"
- ASSERT $icon>=0:LAND:$icon<=31
-
- [ "$type"=""
- ASSERT "$offset"=""
- opcode SETA &20
- |
-
- [ :LEN:"$workstr">6
- string SETL "$workstr":LEFT:6="String"
- |
- string SETL {FALSE}
- ]
- [ "$string"="T"
-
- workstr SETS "$workstr":RIGHT:(:LEN:"$workstr"-6)
- opcode SETA &100
- [ "$workstr"="Z"
- opcode SETA 8
- ]
- [ "$workstr"="CR"
- opcode SETA 9
- ]
- [ "$workstr"="SP"
- opcode SETA 10
- ]
- ASSERT opcode<>&100
-
- |
-
- indir SETL "$workstr":RIGHT:1="I"
- [ "$indir"="T"
- workstr SETS "$workstr":LEFT:(:LEN:"$workstr"-1)
- ]
-
- byteop SETL "$workstr":RIGHT:1="B"
- [ "$byteop"="T"
- workstr SETS "$workstr":LEFT:(:LEN:"$workstr"-1)
- ]
-
- opcode SETA &100
- [ "$workstr"="Hex"
- opcode SETA 0
- ]
- [ "$workstr"="DecS"
- opcode SETA 2
- ]
- [ "$workstr"="DecU"
- opcode SETA 4
- ]
- [ "$workstr"="Bin"
- opcode SETA 6
- ]
- [ "$workstr"="PC"
- opcode SETA &18
- ASSERT "$byteop"="F":LAND:"$indir"="F":LAND:"$offset"=""
- ]
- ASSERT opcode<>&100
-
- [ "$byteop"="T"
- opcode SETA opcode+1
- ]
-
- [ "$indir"="T"
- opcode SETA opcode+8
- ]
-
- ]
-
- [ "$offset"/=""
- [ opcode<8
- opcode SETA opcode+8
- ]
- opcode SETA opcode+&20
- ]
-
- ]
-
- [ "$reg"=""
- ASSERT opcode<&20:LAND:"$offset"=""
- swinum SETA &8000:OR:$icon:OR:(opcode:SHL:5)
- |
- ASSERT $reg>=0:LAND:$reg<=15
- swinum SETA $reg:OR:($icon:SHL:4):OR:(opcode:SHL:9)
- ]
- $label SWI &FF0000:OR:swinum
- [ "$offset"/=""
- & $offset
- ]
- ]
- MEND
-
- MACRO
- $label ShowStr $icon,$string
- [ debug<>0
- ASSERT $icon>=0:LAND:$icon<=31
- $label SWI &FF8400:OR:$icon
- = "$string",0
- ALIGN
- ]
- MEND
-
- END
-