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

Back to Subject List

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


 
#15166 - 8052 - machine language - more info
I am writing inline assembly code embedded in a C program. My compiler/assembler requires that I not use mnemonics... I must write the assembly code in machine language (opcode). For example,
movx A, @dptr
in machine language is
0xE0

I am trying to figure out how to write the command
mov DPH, HIGH (PC)
so I can manually push the program counter to a pseudo stack.

Does anyone know how to access the PC without using the assembly mnemonic PC (ie. I need its address)

Thanks a million

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

Back to Subject List