Distributor of STMicroelectronics: Excellent Integrated System Limited
Datasheet of ST62GP-EMU2 - KIT EMULATOR FOR ST6 MCU SER
Contact us: [email protected] Website: www.integrated-circuit.com
4 - Tutorial
ST62GP-EMU2 Emulator User Manual
30/57
Os are defined as input with pull-up (reset state). The pull-ups have the effect
that the pins are all high (logic 1), and because they are all configured as input
this means their logic state is read from the DRB.
The other variables (
drbcopy
...) are not yet initialized at this stage.
9
Note that in the Watch window, the contents of the DDRB register is 00h in
hexadecimal notation. In the Control Bar click the Step button again. This
loads the hexadecimal value 01h into the DDRB register.
10 Click the Step button again. This loads the hexadecimal value 01h into the ORB
register.
11 Click the Step button again. This loads the hexadecimal value 00h into the
drbcopy register.
Figure 14: tutorial.asm and Watch windows
31 / 58
31 / 58