i m using 89c51
how can i define a two byte variable, in assembly, using keil 3.55
i need it for digital clock, including calender
and i want to save years
You have to choose:
Either write in a High-Level Languge (HLL) such as 'C' - which gives you facilities like "variables";
Or write in a Low-Level Languge (LLL) such as Assembly - which doesn't!
Your call!
http://www.keil.com/forum/18957/
http://www.keil.com/books/8051books.asp
While it might not actually take years (depending on your aptitude), learning to program in any language - especially assembler - takes time & study.
You cannot save or skimp on that time.
www.google.co.uk/search
etc,...