Quantcast
Channel: Question and Answer » assembly
Viewing all articles
Browse latest Browse all 23

using an AduC841 microcontroller. memory read shows pointer not object pointed to

$
0
0

I am using an AduC841 microcontroller programed using assembly language(8051). when using MOVX commands to read/write from internal XRAM to DAC,my oscilloscope shows the value of the DTPR rather than the object pointed to. How do I out put from memory? the command I’m using is MOVX A,@DPTR; and then MOV DAC0L,A;
(I had tried to implement a scope in normal mode using XY of a scope as display, for a school project, but whenever a one time trigger event occurred it showed a sawtooth wave, so I devised a test program which showed that I was receiving the DPTR value)


Viewing all articles
Browse latest Browse all 23

Trending Articles