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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/24/02 22:58
Read: times


 
#26283 - RE: ps
Thanks for the response.

I screwed that one up, it's an 87C52 :)

I am doing the following to setup my data space:

dseg at 20h ;start data segment here
disp_sts_1: ds 1 ;scanner status byte 1

Buffers segment
IDATA ; buffers are indirect
iseg buffers

key_trans_buff: ds 4 ;transmit buffer to keyboard
LCD_Disp_4a_buf:ds 27 ;transmit buffer to disp

The above way of declaring an indirect data segment is directly from the book. It assembles fine but I get linker errors about an undefined data space.

Basically I know that to access any of my buffers will be done indirectly (mov a,@ri) so I want to set my buffers in an idirect segment so when they cross over the 07fh boundary the linker and assembler won't kick out errors. Any tips on how this is done would be great.

Thanks,
Dave

List of 7 messages in thread
TopicAuthorDate
internal memory usage of an 8032            01/01/70 00:00      
RE: internal memory usage of an 8032            01/01/70 00:00      
ps            01/01/70 00:00      
RE: ps            01/01/70 00:00      
RE: internal memory usage of an 8032            01/01/70 00:00      
RE: ps            01/01/70 00:00      
RE: ps            01/01/70 00:00      

Back to Subject List