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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/19/02 18:10
Read: times


 
#32777 - RE: Help on \
David Polakiewicz Jr. wrote:
-------------------------------
movx A,A+DPTR
movx A,#(1+243+243)
-------------------------------

In the first case, Mr. David, I've never seen any command like movx a,a+dptr
movx can only assume the following forms...

movx a,@Rp where p is either 0 or 1
movx a,@dptr
movx @rp,a
movx @dptr,a

so your statements would probably end in syntax errors that the assembler generates.

-------------------------------
Also if I setup a serial port buffer using 5 bytes can I just load the datapointer with the label for my buffer and then increment the data pointer to move through all 5 bytes of the buffer, as of right now I can only write to the one byte in the buffer. Anything I copy to the buffer overwrites the previous byte
-------------------------------

Thats exactly how it goes, I guess, with the conventional Serial port that you are using. But if you use other methods, then maybe you can use the buffer.

Wait for answers from others who would suggest other ways (like very fast Parallel-In-Serial-Out chips etc etc).

Regards,
Harsha



List of 5 messages in thread
TopicAuthorDate
Help on "movx" instruction            01/01/70 00:00      
RE: Help on \            01/01/70 00:00      
RE: Help on "movx" instruction            01/01/70 00:00      
RE: Help on \            01/01/70 00:00      
RE: Help on "movx" instruction            01/01/70 00:00      

Back to Subject List