PDA

View Full Version : NMIX 0016 program halt


clement sudhakar
03-13-02, 07:26 PM
I managed to load my intel hex file to the nmix 0016 controller. The code is pretty simple as given below

mov r1, #33
mov r2, #44
mov a, r1
add a, r2
mov 50h, a

When I use the execute option in maxterm, the controller does not come back to the command prompt for further checking the results. Why? Is there a way to issue a halt or breakpoint in the program before executing?

Clement

nmitech
03-14-02, 09:16 AM
Add LJMP h'30 at the end of your code to jump back to the beginning of the monitor code. Otherwise, your code will hang most of the time.

Also you may change your ram address from 50h to 52h because monitor also using 50h & 51h for variable storages. From 52h and up it is freely to use.

The Monitor on board does not have any command for debug capability.