SYSTEM CALLS
M68CPU32BUG/D REV 1
5-3
Table 5-1. CPU32Bug System Call Routines
Function
Trap Code
Description
.BINDEC
$0064
Convert binary to Binary Coded Decimal (BCD)
.CHANGEV
$0067
Parse value
.CHKBRK
$0005
Check for break
.DELAY
$0043
Timer delay function
.DIVU32
$006A
Divide two 32-bit unsigned integers
.ERASLN
$0027
Erase line
.INCHR
$0000
Input character
.INLN
$0002
Input line (pointer/pointer format)
.INSTAT
$0001
Input serial port status
.MULU32
$0069
Multiply two 32-bit unsigned integers
.OUTCHR
$0020
Output character
.OUTLN
$0022
Output line (pointer/pointer format)
.OUTSTR
$0021
Output string (pointer/pointer format)
.PCRLF
$0026
Output carriage return and line feed
.READLN
$0004
Input line (pointer/count format)
.READSTR
$0003
Input string (pointer/count format)
.RETURN
$0063
Return to CPU32Bug
.SNDBRK
$0029
Send break
.STRCMP
$0068
Compare two strings (pointer/count format)
.TM_INI
$0040
Timer initialization
.TM_RD
$0042
Read timer
.TM_STR0
$0041
Start timer at T=0
.WRITD
$0028
Output string with data (pointer/count format)
.WRITDLN
$0025
Output line with data (pointer/count format)
.WRITE
$0023
Output string (pointer/count format)
.WRITELN
$0024
Output line (pointer/count format)
Содержание M68CPU32BUG
Страница 16: ...GENERAL INFORMATION M68CPU32BUG D REV 1 1 8 ...
Страница 30: ...DEBUG MONITOR DESCRIPTION M68CPU32BUG D REV 1 2 14 ...
Страница 102: ...DEBUG MONITOR COMMANDS M68CPU32BUG D REV 1 3 72 ...
Страница 168: ...DIAGNOSTIC FIRMWARE GUIDE M68CPU32BUG D REV 1 6 24 ...