Motorola M68CPU32BUG Manuel d'utilisateur Page 43

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 98
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 42
DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1 3-58
RS Register Set RS
3.28 REGISTER SET
RS <reg>[<exp>][;A]
Use the RS command to display or change a single target register. The default offset register
value is always added to <exp> unless overridden by specifically including an offset register. See
the OF (offset register) command.
The ;A option is only valid when <reg> is an offset register, i.e. R0 - R7. Use the ;A option to set
<reg> as the automatic register. If R7 is specified, no <exp> is allowed (R7 cannot be changed).
See the OF (offset register) command.
EXAMPLES
CPU32Bug>RS PC 40*1000+4<CR>
PC =00040004
CPU32Bug>
CPU32Bug>OF R4;A<CR>
R4*00000000 00000000? 4000 4FFF<CR> Set up automatic offset register R4.
CPU32Bug>RS PC 124<CR>
PC =00004124 Set PC=$124+R4.
CPU32Bug>RS A4 32A<CR>
A4 =0000432A Set A4=$32A+R4.
CPU32Bug>RS A5 400+R7<CR>
A5 =00000400 Set A5 equal to absolute location $400
($400+R7).
CPU32Bug>
DEBUG MONITOR COMMANDS
M68CPU32BUG/D REV 1 3-55
RD Register Display RD
The source and destination function code registers (SFC, DFC) include a two character
mnemonic:
Function Code Mnemonic Description
0 F0 Undefined
1 UD User Data
2 UP User Program
3 F3 Undefined
4 F4 Undefined
5 SD Supervisor Data
6 SP Supervisor Program
7 CS CPU Space
To set the display to D6 and A3 only.
CPU32Bug>RD =D6/A3<CR>
D6 =00000000 A3 =00000000
00003000 4AFC ILLEGAL
CPU32Bug>
Note that the above sequence sets the display to D6 only and then adds register A3 to the display.
To restore all the MPU registers.
CPU32Bug>rd +mpu<CR>
PC =00003000 SR =2700=TR:OFF_S_7_..... VBR =00000000
SFC =0=F0 DFC =0=F0 USP =00003830 SSP* =00004000
D0 =00000000 D1 =00000000 D2 =00000000 D3 =00000000
D4 =00000000 D5 =00000000 D6 =00000000 D7 =00000000
A0 =00000000 A1 =00000000 A2 =00000000 A3 =00000000
A4 =00000000 A5 =00000000 A6 =00000000 A7 =00004000
00003000 4AFC ILLEGAL
CPU32Bug>
Note that an equivalent command is ’’RD +PC-A7’’ or ’’RD =PC-A7’’.
Fr
eescale S
emiconduct
or
, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...
Vue de la page 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 97 98

Commentaires sur ces manuels

Pas de commentaire