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_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
- 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
- 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
- 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
- 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
- WaveSynth_Load * &40300
- Debugger_Disassemble * &40380
- FileCore_DiscOp * &40540
- FileCore_Create * &40541
- FileCore_Drives * &40542
- FileCore_FreeSpace * &40543
- FileCore_FloppyStructure * &40544
- FileCore_DescribeDisc * &40545
- Shell_Create * &405c0
- Shell_Destroy * &405c1
- Hourglass_On * &406c0
- Hourglass_Off * &406c1
- Hourglass_Smash * &406c2
- Hourglass_Start * &406c3
- Hourglass_Percentage * &406c4
- Hourglass_LEDs * &406c5
- 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
- RamFS_DiscOp * &40780
- RamFS_Drives * &40782
- RamFS_FreeSpace * &40783
- RamFS_DescribeDisc * &40785
- 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
-