Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/28/01 21:57
Read: times


 
#15263 - RE: 8052 - machine language
J. Guy,

Sorry to disagree with you again. But your example won't work.

PUSH ($ / 256)
PUSH ($-2) AND 255

Imagine that the PC is 1000h, then $/256 will be 10h, and the PUSH 10h instruction will place the contents of memory location 10h on the stack, an not 10h itself.

Happy programming

List of 7 messages in thread
TopicAuthorDate
8052 - machine language            01/01/70 00:00      
RE: 8052 - machine language            01/01/70 00:00      
RE: 8052 - machine language            01/01/70 00:00      
RE: 8052 - machine language            01/01/70 00:00      
RE: 8052 - machine language            01/01/70 00:00      
RE: 8052 - machine language            01/01/70 00:00      
RE: 8052 - machine language            01/01/70 00:00      

Back to Subject List