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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/06/01 07:19
Read: times


 
#13845 - RE: when to use \
Hi Sally,

the meaning of ORG and CSEG,... was fully different.

1.
CSEG, DSEG, BSEG,... select a memory segment

2.
ORG select an address inside the current memory segment

3.
CSEG at 100h was a combination of 1. & 2.

4.
On starting assembling CSEG was always the default segment.
So all following ORG statements related to the CSEG until a different segment was selected.

5.
On the 8051 only CSEG can contain code and constants (DB, DW).
All other segments can only contain data (DS, DBIT).


Peter


List of 5 messages in thread
TopicAuthorDate
when to use "CSEG" segment directive            01/01/70 00:00      
RE: when to use "CSEG" segment directive            01/01/70 00:00      
RE: when to use "CSEG" segment directive            01/01/70 00:00      
RE: when to use "CSEG" segment directive            01/01/70 00:00      
RE: when to use \            01/01/70 00:00      

Back to Subject List