We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
my program:
EP: MOV A,ADC0H CJNZ A,#175D,EP
i have problem jumping to the next subrountine
when i detect 1.75V from power supply it will start to display if not it will display 0V
any advice?
If you really, really, really have to turn in this assignment using assembler, do yourself a big favor. Write the code in C ... even better, and also needxed if you follow Pers suggestion, read "the bible" chapter 2. It is clear from your posts that just reading CJNE in this paper would have eliminated this whole thread
Erik
here are the links to "the bible" Chapter 1 - 80C51 Family Architecture: www.nxp.com/.../80C51_FAM_ARCH_1.pdf
Chapter 2 - 80C51 Family Programmer’s Guide and Instruction Set: www.nxp.com/.../80C51_FAM_PROG_GUIDE_1.pdf
Chapter 3 - 80C51 Family Hardware Description: www.nxp.com/.../80C51_FAM_HARDWARE_1.pdf