Cpu32Bug System Call Routines - Motorola M68CPU32BUG User Manual

Debug monitor
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents