Debug Manual

Table Of Contents
Sample Debug Sessions
Debug Manual421921-003
F-17
TNS Program Example
AMAP Command
If the N prefix is used with an address, the address must be in a 32-bit form. The N
prefix also changes the formatting of the output display for some Debug commands. In
this example, we use the AMAP command to convert the Q address to a 32-bit
address and use the converted address for the A command.
DN Command
The following shows the use of the DN command:
Modify Data Using 32-bit address
For the next example we modify a 32-bit word in the selectable segment. We use the
M command with an N address prefix to do the 32-bit operation.
050,03,00013-amap q #40/2
Address: 0x00080028
Kind = 0x0013: Unknown
Attributes: none
050,03,00013-a n 0x00080028, #10, c
00080028:.0123456789.........
Note. Adding the N prefix to the A command changed the output display to decimal byte
address.
050,03,00013-dn 0x00080028, #10 :a
00080028: ..012. .3456. .789.. ......
00080038: ...... ...... ...... ......
00080048: ...... ......
Note. The DN command is not the same as D N (with space between the letters). For more
information about the differences between the DN and D N commands, refer to Section 4,
Debug Commands, of this manual.
050,03,00013-amap q #140000
Address: 0x000A22E0
Kind = 0x0013: Unknown
Attributes: none
050,03,00013-m n 0x000A22E0
0x000A22E0 : 0x00000000 <- '3456'
0x000A22E4 : 0x00000000 <-