Compucolor.org – Virtual Media

Listing of file='APP2.DOC;01' on disk='vmedia/asmtut_disk4-sector.ccvf'

### Disk Sector 102 ###
00: 37 00 38 00 08 00 00 00 80 25 01 00 ff ff 00 00   7.8......%......
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
30: 00 00 00 00 00 00 00 ff 00 00 00 00 00 00 48 00   ..............H.
40: 0d 0d 20 20 20 20 20 20 20 20 20 20 20 20 20 20   ..
50: 20 20 20 20 20 20 20 20 20 20 20 20 20 41 53 53                ASS
60: 45 4d 42 4c 59 20 4c 41 4e 47 55 41 47 45 20 54   EMBLY LANGUAGE T
70: 55 54 4f 52 49 41 4c 20 53 45 52 49 45 53 0d 0d   UTORIAL SERIES..
### Disk Sector 103 ###
00: 0d 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20   .
10: 20 20 20 20 20 20 20 20 20 20 41 70 70 65 6e 64             Append
20: 69 78 20 23 32 20 20 20 20 20 41 73 73 65 6d 62   ix #2     Assemb
30: 6c 65 72 20 45 72 72 6f 72 20 43 6f 64 65 73 20   ler Error Codes
40: 20 20 20 20 20 20 20 20 20 20 20 0d 0d 20 20 20              ..
50: 20 20 20 20 20 20 20 20 0d 20 20 20 20 20 20 20           .
60: 20 20 20 20 0d 20 20 20 20 20 20 20 20 20 20 54       .          T
70: 68 65 20 49 53 43 20 38 30 38 30 20 61 73 73 65   he ISC 8080 asse
### Disk Sector 104 ###
00: 6d 62 6c 65 72 20 69 73 20 6f 70 65 72 61 74 65   mbler is operate
10: 64 20 69 6e 20 20 46 43 53 20 20 6d 6f 64 65 20   d in  FCS  mode
20: 20 62 79 20 20 65 6e 74 65 72 69 6e 67 20 20 3c    by  entering  <
30: 52 55 4e 20 0d 20 20 20 20 20 20 20 20 20 20 41   RUN .          A
40: 53 4d 3e 2e 20 20 0d 0d 20 20 20 20 20 20 20 20   SM>.  ..
50: 20 20 20 0d 20 20 20 20 20 20 20 20 20 20 54 68      .          Th
60: 65 20 63 6f 6d 6d 61 6e 64 20 6c 69 6e 65 20 66   e command line f
70: 6f 6c 6c 6f 77 69 6e 67 20 74 68 65 20 41 53 4d   ollowing the ASM
### Disk Sector 105 ###
00: 3e 20 70 72 6f 6d 70 74 20 69 73 20 6f 66 20 74   > prompt is of t
10: 68 65 20 66 6f 72 6d 3a 20 20 0d 20 20 20 20 20   he form:  .
20: 20 20 20 20 20 44 65 76 69 63 65 20 6e 61 6d 65        Device name
30: 3a 20 28 46 69 6c 65 20 73 70 65 63 29 20 54 4f   : (File spec) TO
40: 20 44 65 76 69 63 65 20 4e 61 6d 65 3a 20 20 0d    Device Name:  .
50: 0d 20 20 20 20 20 20 20 20 20 20 20 0d 20 20 20   .           .
60: 20 20 20 20 20 20 20 49 66 20 74 68 65 20 27 54          If the 'T
70: 4f 27 20 65 78 74 65 6e 73 69 6f 6e 20 69 73 20   O' extension is
### Disk Sector 106 ###
00: 6f 6d 69 74 74 65 64 2c 20 6e 6f 20 2e 4c 44 41   omitted, no .LDA
10: 20 66 69 6c 65 20 77 69 6c 6c 20 62 65 20 20 77    file will be  w
20: 72 69 74 74 65 6e 20 20 6f 75 74 20 0d 20 20 20   ritten  out .
30: 20 20 20 20 20 20 20 62 75 74 20 74 68 65 20 41          but the A
40: 73 73 65 6d 62 6c 65 64 20 73 6f 75 72 63 65 20   ssembled source
50: 63 6f 64 65 20 77 69 6c 6c 20 62 65 20 6c 69 73   code will be lis
60: 74 65 64 20 74 6f 20 74 68 65 20 73 63 72 65 65   ted to the scree
70: 6e 2c 20 65 6e 61 62 6c 69 6e 67 0d 20 20 20 20   n, enabling.
### Disk Sector 107 ###
00: 20 20 20 20 20 20 65 72 72 6f 72 73 20 74 6f 20         errors to
10: 62 65 20 6e 6f 74 65 64 2e 20 20 0d 0d 20 20 20   be noted.  ..
20: 20 20 20 20 20 20 20 20 0d 20 20 20 20 20 20 20           .
30: 20 20 20 49 66 20 74 68 65 20 27 54 4f 27 20 65      If the 'TO' e
40: 78 74 65 6e 73 69 6f 6e 20 69 73 20 20 69 6e 63   xtension is  inc
50: 6c 75 64 65 64 2c 20 20 74 68 65 6e 20 20 74 68   luded,  then  th
60: 65 20 20 2e 4c 44 41 20 20 66 69 6c 65 20 20 77   e  .LDA  file  w
70: 69 6c 6c 20 20 62 65 20 0d 20 20 20 20 20 20 20   ill  be .
### Disk Sector 108 ###
00: 20 20 20 77 72 69 74 74 65 6e 20 74 6f 20 74 68      written to th
10: 65 20 44 65 76 69 63 65 20 6e 6f 6d 69 6e 61 74   e Device nominat
20: 65 64 2e 20 20 0d 0d 20 20 20 20 20 20 20 20 20   ed.  ..
30: 20 20 0d 20 20 20 20 20 20 20 20 20 20 54 68 65     .          The
40: 20 6f 75 74 70 75 74 20 2e 4c 44 41 20 66 69 6c    output .LDA fil
50: 65 20 77 69 6c 6c 20 68 61 76 65 20 74 68 65 20   e will have the
60: 73 61 6d 65 20 6e 61 6d 65 20 61 6e 64 20 76 65   same name and ve
70: 72 73 69 6f 6e 20 20 6e 75 6d 62 65 72 20 20 61   rsion  number  a
### Disk Sector 109 ###
00: 73 20 0d 20 20 20 20 20 20 20 20 20 20 74 68 65   s .          the
10: 20 69 6e 70 75 74 20 2e 53 52 43 20 66 69 6c 65    input .SRC file
20: 2e 20 20 0d 20 20 20 20 20 20 20 20 20 20 20 0d   .  .           .
30: 20 20 20 20 20 20 20 20 20 20 54 68 65 20 64 65             The de
40: 66 61 75 6c 74 20 69 6e 70 75 74 20 66 69 6c 65   fault input file
50: 20 74 79 70 65 20 69 73 20 2e 53 52 43 20 2e 20    type is .SRC .
60: 20 0d 0d 20 20 20 20 20 20 20 20 20 20 20 0d 20    ..           .
70: 20 20 20 20 20 20 20 20 20 49 66 20 61 6e 79 20            If any
### Disk Sector 110 ###
00: 73 79 73 74 65 6d 20 66 69 6c 65 20 6f 70 65 6e   system file open
10: 2c 20 72 65 61 64 2c 20 77 72 69 74 65 2c 20 6f   , read, write, o
20: 72 20 63 6c 6f 73 65 20 65 72 72 6f 72 73 20 20   r close errors
30: 6f 63 63 75 72 20 20 64 75 72 69 6e 67 20 0d 20   occur  during .
40: 20 20 20 20 20 20 20 20 20 74 68 65 20 61 73 73            the ass
50: 65 6d 62 6c 79 2c 20 74 68 65 20 61 70 70 72 6f   embly, the appro
60: 70 72 69 61 74 65 20 73 79 73 74 65 6d 20 65 72   priate system er
70: 72 6f 72 20 6d 65 73 73 61 67 65 20 20 77 69 6c   ror message  wil
### Disk Sector 111 ###
00: 6c 20 20 62 65 20 20 6f 75 74 70 75 74 20 0d 20   l  be  output .
10: 20 20 20 20 20 20 20 20 20 61 6e 64 20 74 68 65            and the
20: 20 61 73 73 65 6d 62 6c 79 20 77 69 6c 6c 20 62    assembly will b
30: 65 20 61 62 6f 72 74 65 64 2e 20 20 0d 0d 20 20   e aborted.  ..
40: 20 20 20 20 20 20 20 20 54 68 65 20 61 73 73 65           The asse
50: 6d 62 6c 65 72 20 77 69 6c 6c 20 75 73 65 20 61   mbler will use a
60: 6c 6c 20 61 76 61 69 6c 61 62 6c 65 20 52 41 4d   ll available RAM
70: 20 6f 6e 20 74 68 65 20 73 79 73 74 65 6d 2e 20    on the system.
### Disk Sector 112 ###
00: 20 49 66 20 74 68 65 72 65 20 69 73 0d 20 20 20    If there is.
10: 20 20 20 20 20 20 20 69 6e 73 75 66 66 69 63 69          insuffici
20: 65 6e 74 20 52 41 4d 20 74 6f 20 70 65 72 66 6f   ent RAM to perfo
30: 72 6d 20 74 68 65 20 61 73 73 65 6d 62 6c 79 2c   rm the assembly,
40: 20 74 68 65 6e 20 61 6e 20 61 70 70 72 6f 70 72    then an appropr
50: 69 61 74 65 20 20 65 72 72 6f 72 20 0d 20 20 20   iate  error .
60: 20 20 20 20 20 20 20 6d 65 73 73 61 67 65 20 77          message w
70: 69 6c 6c 20 62 65 20 6f 75 74 70 75 74 20 61 6e   ill be output an
### Disk Sector 113 ###
00: 64 20 74 68 65 20 61 73 73 65 6d 62 6c 79 20 77   d the assembly w
10: 69 6c 6c 20 62 65 20 61 62 6f 72 74 65 64 2e 20   ill be aborted.
20: 20 0d 0d 20 20 20 20 20 20 20 20 20 20 20 0d 20    ..           .
30: 20 20 20 20 20 20 20 20 20 54 68 65 20 66 6f 6c            The fol
40: 6c 6f 77 69 6e 67 20 65 72 72 6f 72 73 20 64 75   lowing errors du
50: 72 69 6e 67 20 74 68 65 20 61 73 73 65 6d 62 6c   ring the assembl
60: 79 20 77 69 6c 6c 20 20 62 65 20 20 69 6e 64 69   y will  be  indi
70: 63 61 74 65 64 20 20 62 79 20 20 61 6e 20 0d 20   cated  by  an .
### Disk Sector 114 ###
00: 20 20 20 20 20 20 20 20 20 65 72 72 6f 72 20 63            error c
10: 6f 64 65 20 69 6e 20 63 6f 6c 75 6d 6e 20 6f 6e   ode in column on
20: 65 20 6f 66 20 74 68 65 20 6c 69 73 74 69 6e 67   e of the listing
30: 20 6c 69 6e 65 20 61 6e 64 20 74 68 61 74 20 6c    line and that l
40: 69 6e 65 20 20 77 69 6c 6c 20 20 62 65 20 0d 20   ine  will  be .
50: 20 20 20 20 20 20 20 20 20 70 72 69 6e 74 65 64            printed
60: 20 69 6e 20 52 45 44 3a 20 20 0d 20 20 20 20 20    in RED:  .
70: 20 20 20 20 20 20 0d 20 20 20 20 20 20 20 20 20         .
### Disk Sector 115 ###
00: 20 41 20 2d 20 41 6d 62 69 67 75 6f 75 73 20 72    A - Ambiguous r
10: 65 66 65 72 65 6e 63 65 3a 20 72 65 66 65 72 65   eference: refere
20: 6e 63 65 20 74 6f 20 61 20 20 6d 75 6c 74 69 70   nce to a  multip
30: 6c 79 2d 64 65 66 69 6e 65 64 20 20 6c 61 62 65   ly-defined  labe
40: 6c 20 20 6f 72 20 0d 20 20 20 20 20 20 20 20 20   l  or .
50: 20 73 79 6d 62 6f 6c 2e 20 20 0d 20 20 20 20 20    symbol.  .
60: 20 20 20 20 20 45 20 2d 20 45 78 70 72 65 73 73        E - Express
70: 69 6f 6e 20 65 72 72 6f 72 3a 20 61 6e 20 69 6e   ion error: an in
### Disk Sector 116 ###
00: 76 61 6c 69 64 20 65 78 70 72 65 73 73 69 6f 6e   valid expression
10: 20 77 61 73 20 65 6e 63 6f 75 6e 74 65 72 65 64    was encountered
20: 2e 20 20 0d 20 20 20 20 20 20 20 20 20 20 46 20   .  .          F
30: 2d 20 46 6f 72 6d 61 74 20 65 72 72 6f 72 3a 20   - Format error:
40: 69 6e 76 61 6c 69 64 20 73 79 6e 74 61 78 2e 20   invalid syntax.
50: 20 0d 20 20 20 20 20 20 20 20 20 20 49 20 2d 20    .          I -
60: 49 6e 76 61 6c 69 64 20 6e 75 6d 62 65 72 20 65   Invalid number e
70: 6e 63 6f 75 6e 74 65 72 65 64 20 69 6e 20 61 6e   ncountered in an
### Disk Sector 117 ###
00: 20 65 78 70 72 65 73 73 69 6f 6e 2e 20 20 0d 20    expression.  .
10: 20 20 20 20 20 20 20 20 20 4d 20 2d 20 4d 75 6c            M - Mul
20: 74 69 70 6c 79 2d 64 65 66 69 6e 65 64 20 73 79   tiply-defined sy
30: 6d 62 6f 6c 2e 20 20 0d 20 20 20 20 20 20 20 20   mbol.  .
40: 20 20 4f 20 2d 20 49 6e 76 61 6c 69 64 20 6f 70     O - Invalid op
50: 63 6f 64 65 20 65 6e 63 6f 75 6e 74 65 72 65 64   code encountered
60: 2e 20 20 0d 20 20 20 20 20 20 20 20 20 20 50 20   .  .          P
70: 2d 20 50 68 61 73 65 20 65 72 72 6f 72 3a 20 4c   - Phase error: L
### Disk Sector 118 ###
00: 61 62 65 6c 20 6f 72 20 73 79 6d 62 6f 6c 20 68   abel or symbol h
10: 61 73 20 64 69 66 66 65 72 65 6e 74 20 76 61 6c   as different val
20: 75 65 20 6f 6e 20 70 61 73 73 20 32 20 20 74 68   ue on pass 2  th
30: 61 6e 20 0d 20 20 20 20 20 20 20 20 20 20 6f 6e   an .          on
40: 20 70 61 73 73 20 31 2e 20 20 0d 20 20 20 20 20    pass 1.  .
50: 20 20 20 20 20 52 20 2d 20 49 6e 76 61 6c 69 64        R - Invalid
60: 20 72 65 67 69 73 74 65 72 20 73 70 65 63 69 66    register specif
70: 69 65 72 20 65 6e 63 6f 75 6e 74 65 72 65 64 2e   ier encountered.
### Disk Sector 119 ###
00: 20 20 0d 20 20 20 20 20 20 20 20 20 20 54 20 2d     .          T -
10: 20 53 79 6d 62 6f 6c 20 74 61 62 6c 65 20 6f 76    Symbol table ov
20: 65 72 66 6c 6f 77 20 20 28 69 6e 73 75 66 66 69   erflow  (insuffi
30: 63 69 65 6e 74 20 20 52 41 4d 20 20 66 6f 72 20   cient  RAM  for
40: 20 61 73 73 65 6d 62 6c 79 20 20 74 6f 20 20 62    assembly  to  b
50: 65 20 0d 20 20 20 20 20 20 20 20 20 20 63 6f 6d   e .          com
60: 70 6c 65 74 65 64 29 2e 20 20 0d 20 20 20 20 20   pleted).  .
70: 20 20 20 20 20 55 20 2d 20 52 65 66 65 72 65 6e        U - Referen
### Disk Sector 120 ###
00: 63 65 20 74 6f 20 61 6e 20 75 6e 64 65 66 69 6e   ce to an undefin
10: 65 64 20 6c 61 62 65 6c 20 6f 72 20 73 79 6d 62   ed label or symb
20: 6f 6c 20 65 6e 63 6f 75 6e 74 65 72 65 64 2e 20   ol encountered.
30: 20 0d 20 20 20 20 20 20 20 20 20 20 56 20 2d 20    .          V -
40: 4f 76 65 72 66 6c 6f 77 20 64 75 72 69 6e 67 20   Overflow during
50: 65 78 70 72 65 73 73 69 6f 6e 20 65 76 61 6c 75   expression evalu
60: 61 74 69 6f 6e 2e 20 20 0d 20 20 20 20 20 20 20   ation.  .
70: 20 20 20 5a 20 2d 20 4d 69 73 73 69 6e 67 20 45      Z - Missing E
### Disk Sector 121 ###
00: 4e 44 20 73 74 61 74 65 6d 65 6e 74 2e 20 20 0d   ND statement.  .
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................