HPlogo System Debug Reference Manual > Appendix C Emulated/Translated CM Code

NM Breakpoints in Translated Code

MPE documents

Complete PDF
Table of Contents
Index

E0201 Edition 4 ♥
E0300 Edition 3
E0692 Edition 3

The following discussion assumes that the current Debug mode is NM
(prompt is: $nmdebug > ).

NM breakpoints can be set at every instruction within translated code even if the instruction is not at a node point.

This allows careful inspection of the actual sections of NM translated code.


NOTE: Portions of the CM state may be undefined or incorrect when a NM breakpoint is encountered between node points.

For example, the following commands set two breakpoints. The first is at a node point, and the second is not at a node point:

  $nmdebug > B $1c.34d4
  $nmdebug > B $1c.34ec
  
  
                              Translated
                              Object Code
  
                              NM Instructions
               Sid.Off
                              +-------------+
               1c.34b0      N | PROC+%0     |
               1c.34b4        |             |
               1c.34b8        |             |
               1c.34bc        |             |
               1c.34c0      N | PROC+%2     |
               1c.34c4        |             |
               1c.34c8        |             |
               1c.34cc        |             |
               1c.34d0        |             |
               1c.34d4  [1] N | PROC+%6     |
               1c.34d8        |             |
               1c.34dc        |             |
               1c.34e0        |             |
               1c.34e4      N | PROC+%13    |
               1c.34e8        |             |
               1c.34ec  [2]   |             |
               1c.34f0        |             |
                              +-------------+

The single step command (S) can be used to step through individual NM Instructions within translated code.




CM Breakpoints in Translated Code


Examples: CM Breakpoints in Translated Code