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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/14/01 04:00
Read: times


 
#13204 - RE: collision with relocation segment
Sometimes I was wondering why we need to use the 'ds' directive :
-----------
dseg at 30h
stack: ds 16

;this reserve 16 bytes for the stack at address 30h.
;;Anyway, what do you mean by 'reserve'. Since without the 'reserve', ;;we can also use that portion of data space without problem??

cseg
mov sp, #stack-1
-----------------

thanks.

regards
yccheok

p/s isn't the above code work well as
mov sp, #29h. Then why we need to use the 'ds' directive ?

List of 8 messages in thread
TopicAuthorDate
collision with relocation segment            01/01/70 00:00      
RE: collision with relocation segment            01/01/70 00:00      
RE: collision with relocation segment            01/01/70 00:00      
RE: collision with relocation segment            01/01/70 00:00      
RE: collision with relocation segment            01/01/70 00:00      
RE: collision with relocation segment            01/01/70 00:00      
RE: collision with relocation segment            01/01/70 00:00      
RE: for Cheok Yan Cheng            01/01/70 00:00      

Back to Subject List