Consider the following assembly language program ORG 101C ST
     Consider the following assembly language program.  ORG $101C  STARS EQU $1A  SKY RMB2  ORG $0014  JUPITOR FCB $A1, $94, $21  FCC \'DE\'  MARS FDB $24, $32A1  ORG $C002  LDAB #$1B  STAB SKY  INCB  LDAA SKY  ADDA #STARS  ABA  SKYWALK STAA SKY+1  JMP SKYWALK  END  After executing the above program, find the following values:      
 
  
  Solution
Here MARS is pointing to memory location where value is stored using FDB instruction.So MARS pointing to first 2 bytes.
| Description | ||
| [MARS] | $24 | Here MARS is pointing to memory location where value is stored using FDB instruction.So MARS pointing to first 2 bytes. | 
| JUPITOR | $0014 | Since text segmented originated at memory location $0014 and JUPITOR assign to location allocated by FCB | 
| SKY | $101C | SKY variable pointing reserved 2 bytes memory starting at $101C | 
| ACCB | $1C | Accumulator B | 
| [001A] | $32 | From the instruction FDB assigned to MARS. | 
| [SKYWALK] | $31 | SKYWALK pointing to SKY+1 which assigned the content of accumulator A | 
| [JUPITOR+2] | $21 | JUPITOR pointing to memory location 0014.JUPITOR+2=0016 so it returns the content of 0016 location. | 
| [C006] | 0 | C006 memory location not assigned any value in above program so it contains 0 value or garbage value. | 
| #STARS | $1A | STARTS is equivalent symbol for value $1A | 
| [101D] | $1B | 101D is memory location pointed by SKY | 

