Checking Register content in MCU IDE 8051

Thread Starter

narendrav

Joined Dec 8, 2012
1
hello.i have just started 8051 Microcontroller programming.i downloaded a software called MCU 8051 IDE.

I wrote this line to store a hexadecimal number in register R5 of bank 0.
mov R5,05

It compiled but how do i check the contents of that particular register.so that i can verify that the number has been properly stored.
 

tubeguy

Joined Nov 3, 2012
1,157
I'm not familiar with that particular IDE, but it will have a simulation screen to run the program which will display the registers R0-R7, memory, ports etc...
 

absf

Joined Dec 29, 2010
1,968
I am not familiar with that 8051 simulator of yours too.:D

My 8051 IDE looks like the one attached. You can open up the disassembly window, the register windows, internal/external Ram windows, IO windows etc.
Then just load the program you entered in HEX or BIN and the program would be displayed on the disassembly window.

Set the program counter to 0000H and single step the program and you can see changes on the registers/RAM/IO.

HTH

Allen
 

Attachments

Last edited:
Top