09] Wait For N Milliseconds; Enable/Disable Breakpoints; Other Bios Function Calls (Asm); Print Register Values - Fujitsu F2MC-16L Series User Manual

Hide thumbs Also See for F2MC-16L Series:
Table of Contents

Advertisement

4.1.2.10. [09] Wait for n Milliseconds

This function waits for the specified number of milliseconds (+5 %). It does not use any
interrupt or any timer. The timing is realised using special instructions with known sum of
cycles. Therefore, changing the machine cycle or the wait cycles (auto ready function - see
MB90670 User Manual) of the upper memory area will change the precision.
4.1.2.11. [0A] Enable/Disable Breakpoints
Depending on the byte parameter, this function can temporarily deactivate or re-activate all
breakpoints enabled by the operator.

4.2. Other BIOS Function Calls (ASM)

The following BIOS function vectors can be used to simplify debugging.
Calls to these vectors can be placed at critical program locations as an alternative of manually
setting a breakpoint.
4.2.1.

Print Register Values

The print register value entry can be used to display the current CPU register values without
modifying any registers or flags.
e.g. CALLP
or
The register values are output to the user port without colouring, even if ANSI has been
enabled.
4.2.2.

Monitor Control

The Monitor Control entry can be used to call a monitor shell. A debug version of a user
program can use such calls at critical points.
The monitor can then be used to display or modify the memory and register contents.
From this point onwards, it is also possible to single step the following user program.
As long as the requested shell is active the prompt is changed to ">>" instead of ">". The
monitor command EXIT will finally return control to the user program.
e.g. CALLP
or
- 42 -
FUJITSU MB90675-Evaluation Board - User Manual
H'FC0018
void (* __far MyRegister)(void) = 0xFC0018L;
...
MyRegister();
H'FC001C
void (* __far Shell)(void) = 0xFC001CL;
...
Shell();
; Print CPU Registers
; Call Monitor Shell
© FUJITSU Mikroelektronik GmbH 1996

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90675 series

Table of Contents