Show 16 or 32 bit variable in watch window

Dear,
In ASM I declare a 32 bit variable as follow

RSEG  MyVariables
var11:  ds 4
var12:  ds 4

In code I access each individual bytes as follow

clr  a
mov  var11+0,#0AAh  ;var11 HB
mov  var11+1,#12h
mov  var11+2,a
mov  var11+3,a      ;var11 LB

But how to show the 4 bytes as 1 variable (var11) in the watch window???
When I type "var11" it shows me only the HB, that is 0xAA and return uchar as type.
The four individual bytes would also be ok but preferably the whole variable.

These are my first steps in Keil µVision but not in 8051 assembly programming.

Thanks for any inputs... ...

Parents Reply Children
No data
More questions in this forum