DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1
3-15
DC
Data Conversion
DC
3.8 DATA CONVERSION
DC <exp>I<addr>
Use the DC command to simplify an expression into a single numeric value. The equivalent
value is displayed in its hexadecimal and decimal representation. If the numeric value is
interpreted as a signed negative number (i.e., if the most significant bit of the 32-bit internal
representation of the number is set) then both the signed and unsigned interpretations are
displayed.
Use DC to obtain the equivalent effective address of an MCU device addressing mode.
EXAMPLES
CPU32Bug>DC 10<CR>
00000010 = $10 = &16
CPU32Bug>DC &10-&20<CR>
SIGNED : FFFFFFF6 = -$A = -&10
UNSIGNED: FFFFFFF6 = $FFFFFFF6 = &4294967286
CPU32Bug>DC 123+&345+@67+%1100001<CR>
00000314 = $314 = &788
CPU32Bug>DC (2*3*8)/4<CR>
0000000C = $C = &12
CPU32Bug>DC 55&F<CR>
00000005 = $5 = &5
CPU32Bug>DC 55>>1<CR>
0000002A = $2A = &42
The subsequent examples assume A0=00003000 and the following data resides in memory:
00003000
11111111
22222222
33333333
44444444
....""""3333DDDD
CPU32Bug>DC (A0)<CR>
00003000 = $3000 = &12288
CPU32Bug>DC ([A0])<CR>
11111111 = $11111111 = &286331153
CPU32Bug>DC (4,A0)<CR>
00003004 = $3004 = &12292
CPU32Bug>DC ([4,A0])<CR>
22222222 = $22222222 = &572662306
Содержание M68CPU32BUG
Страница 16: ...GENERAL INFORMATION M68CPU32BUG D REV 1 1 8 ...
Страница 30: ...DEBUG MONITOR DESCRIPTION M68CPU32BUG D REV 1 2 14 ...
Страница 102: ...DEBUG MONITOR COMMANDS M68CPU32BUG D REV 1 3 72 ...
Страница 168: ...DIAGNOSTIC FIRMWARE GUIDE M68CPU32BUG D REV 1 6 24 ...