Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
ok i fixed the "stack underflow" by putting this line at the beginning of the "start" routine
mov sp, #(stack-1) ; initialize stack pointer
I also put this line after the "call write" instruction to stop the program
FIN: sjmp fin ; halt program
is there anything else...
i am writing a program for an 8051...the program is suppose to erase device memory then read a value from variable EEADR and store in EEBYT and output the value to port 3...finally it is suppose to write a byte to EEPROM with address in EEADR and value in EEBYT...i am using the 8051 IDE to...
ok i fixed the problem with that thanks...do you have any other suggestions...such as how to deal with the stopping the program after the "call write"? thank you
thanks for the reply...i was trying to get the part of reading a value from variable EEADR and storing it in EEBYT done with that statement...i tried the C because i tried to put both variables as registers but it wont let me move one register to another...i put a return statement at the end of...
i have some code i am trying to get working here...there are probably a few things wrong with it but i cant seem to get it together...please help!...the program is suppose to erase EEPROM, then read a value from EEADR and store in EEBYT and output the value to port 3, then suppose to write a...
Thanks for your post...i have tried to get as much code together as i could for my application...my specific requirements are to erase the EEPROM, read a value in variable EEADR and store in EEBYT then output the value to port 2 of the micro. Can anyone tell me if im on the right track or offer...
I need to write a simple program to erase, read, and write a value in assembly language using the EEPROM AT93C56A with the 89c51RB2...can anyone help me get started please? This is really urgent! Thank you for any assistance.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.