HP 68000 Series User Manual page 372

Debugger/simulator
Table of Contents

Advertisement

Chapter 9: Debugger Commands
Memory Inport Assign
value. If you do not enter a value and an output port has not been declared at
that address, the debugger places a value of zero in the buffer.
Inport. If you specify Inport < port_addr> , the input port uses the value in
the input port buffer at the same address. If you enter a value, the debugger
sets the input port buffer to that value. If you do not specify a value, a value of
zero is placed in the buffer.
To abort input from the console or standard I/O screen, press CTRL C. This
returns the debugger to command mode.
See Also
Memory Inport Rewind
Memory Inport Show
Memory Outport Show
Examples
To assign address 0x400 as an I/O port (input) of size word:
Memory Inport Assign Word 0x400 Source_Is File
"/myproj/ecs.dat"
Read operations from the port will access file '/myproj/ecs.dat'. You must
specify the file name in quotation marks.
To assign address 0x40C as an I/O port (input) of size byte:
Memory Inport Assign Byte 0x40C Source_Is Data_String
"message"
Read operations from the port will access the string containing the word
'message'.
To assign address 0x40C as an I/O port (input) of size byte:
Memory Inport Assign Byte 0x40C Source_Is Stdio
Read operations from the port will access the stdio window or device.
350

Advertisement

Table of Contents
loading

This manual is also suitable for:

B1466

Table of Contents