home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / CROSSASM / 8080.ZIP / A85.DOC < prev    next >
Encoding:
Text File  |  1987-03-15  |  35.8 KB  |  1,083 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                              PseudoSam 85 Assembler Manual V1.2.02
  12.                              Copyright(c) 1986,87 PseudoCode
  13.  
  14.  
  15.  
  16.  
  17.  
  18. Disclaimer:
  19.  
  20.             PseudoSam 85 is distributed as is, with no guarantee that it
  21.             will work correctly in all situations.  In no event will the
  22.             Author be liable for any damages, including lost profits,
  23.             lost savings or other incidental or consequential damages
  24.             arising out of the use of or inability to use these
  25.             programs, even if the Author has been advised of the
  26.             possibility of such damages, or for any claim by any other
  27.             party.
  28.  
  29.             It is the users reponsibility to back up all important files!
  30.  
  31.             See copyright information in appendix B
  32.  
  33.  
  34.  
  35.  
  36.  
  37.                          Table of Contents
  38.  
  39. Chapter 1  PseudoSam 85 assembler vs. the Intel assembler.
  40.  
  41. Chapter 2  Running the assembler program.
  42.  
  43. Chapter 3  Assembler statement syntax
  44.  
  45. Chapter 4  Data types
  46.  
  47. Chapter 5  Expressions
  48.  
  49. Chapter 6  Assembler Directives
  50.   (also known as assembler Pseudo-opcodes)
  51.  
  52. Appendix A      ASCII character set
  53.  
  54. Appendix B      Copyright and registration information
  55.  
  56. Appendix C      Description of Files
  57.  
  58. Appendix D      Bug Reporting Procedure(Registered users ONLY!).
  59.  
  60.  
  61.  
  62.  
  63. Chapter 1 PseudoSam 85 assembler vs. the Intel assembler
  64.  
  65.      All PseudoSam(Pseudo brand Symbolic AsseMbler) assemblers conform to
  66.      a common syntax based on the UNIX system V assembler syntax. By
  67.      conforming to this Pseudo standard, conflicts with the manufacturers
  68.      syntax are created.  Below is a brief and incomplete list of those
  69.      conflicts.
  70.  
  71.       Intel format                     PseudoSam format
  72.  
  73. <identifier> equ <expression>         .equ <identifier> , <expression>
  74.  
  75. <identifier> set <expression>         .set <identifier> , <expression>
  76.  
  77. Has Macro capability                  No Macro capability at this time
  78.  
  79.  
  80.  
  81. * The difference in name between the Intel and the PseudoSam name
  82.   of assembler directives can be circumvented by the .opdef directive.
  83.  
  84.   example
  85.  
  86.    .opdef  eject,.eject      ;defines eject to be synonymous with .eject
  87.  
  88. *  A file syn.asm is distributed with the assembler with some useful
  89.    redefinitions.
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100. Unix system V is a trademark of AT & T.
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108. Chapter 2  Running the assembler program
  109.  
  110. 1.  Command line switch setting and source file specification.
  111.  
  112.      Assuming the user has an assembly language source file called foo.asm
  113.      type the following command:
  114.  
  115. a85 foo
  116.  
  117.      The assembler will assemble the program foo.asm using the default
  118.      assembler switch settings. the following files will be generated
  119.      by the assembler:
  120.  
  121.      foo.lst   ;assembled listing shown the code conversion and
  122.                ; any errors that where discover by the assembler.
  123.  
  124.      foo.obj   ;assembled object code in Intel Hex format.
  125.  
  126. **  for a list of switch setting see the .command assembler directive
  127.     description in chapter 6.
  128.  
  129. *** The assembler uses the following temporary file names.
  130.  
  131.     z0z0z0z0.tmp
  132.     z1z1z1z1.tmp
  133.  
  134.     ANY files with these names will be DESTROYED by the
  135.     by the assembler.
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143. Chapter 3  Assembler statement syntax
  144.  
  145. 1. Assembler Statements
  146.  
  147.      Assembler statements contain from zero to 4 fields as shown in
  148.      following.
  149.  
  150. <label> <opcode> <expressions> <comment>
  151.  
  152.      All fields are optional, but they must be in this order.
  153.  
  154. A.   Labels (<label>) are symbolic names that are assigned the starting
  155.      address of any code generated by the opcode and or expressions
  156.      of this line.(see section 2).
  157.  
  158. B.   Operation codes(<opcode>) tell the assembler what machine instruction
  159.      to generate, or what assembler control function to perform.
  160.      The operation code also tells the assembler what expressions are
  161.      required to complete the machine instruction or assembler directive.
  162.      (see chapter 6).
  163.  
  164. C.   Expression requirements are set by the opcode(see the microprocessor
  165.      reference manual or the assembler directives chapter for individual
  166.      opcode requirements).(see chapter 5).
  167.  
  168. D.   Comments are notes written by the programmer to explain what the
  169.      program is trying to accomplish. Comments generate no code.
  170.      (see section 3).
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178. 2.  Labels
  179.  
  180.      Labels can be unlimited in length, but only the first eight characters
  181.      are used to distinguish between them.  They must conform to the
  182.      following syntax.
  183.  
  184.      <label>  -> <identifier>':'
  185.  
  186.      <identifier> -> <alphabetic character> <identifier character string>
  187.  
  188.      <alphabetic character> -> character in the set ['A'..'Z', 'a'..'z', '.']
  189.  
  190.      <identifier character string> -> any sequence of characters from the
  191.                                       set ['A'..'Z','a'..'z', '.', '0'..'9']
  192.  
  193. example
  194. abc:                  ;label referred to as abc
  195. a c:                  ;not a valid label
  196.          foo:         ;label referred to as foo
  197. .123:                 ;label referred to as .123
  198.  
  199. * Case makes NO difference!
  200.  
  201. d:      ;is the same as
  202. D:
  203.  
  204.  
  205. 3.  Comments
  206.      Comments must start with a semi-colon ; and are terminated
  207.      by an end of line or file( <lf>(^J) or <sub>(^Z) ). An end
  208.      of line is inserted by typing the enter or return key by
  209.      most text editors.
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217. Chapter 4     Data types
  218.  
  219. 1.  Integers
  220.  
  221.     Integer constants can be specified in any of the following forms:
  222.  
  223. A.  Binary
  224.  
  225.     b'bb             ;bb=string of binary digits
  226.     B'bb
  227.  
  228. B.  Decimal
  229.  
  230.     ndd
  231.     d'dd             ;n=nozero decimal digit
  232.     D'dd             ;dd=string of decimal digits
  233.  
  234. C.  Octal
  235.  
  236.     0qq              ;qq=string of octal digits
  237.     o'qq
  238.     O'qq
  239.     q'qq
  240.     Q'qq
  241.  
  242. D.  Hexidecimal
  243.  
  244.     0x'hh            ;hh=string of hexidecimal digits
  245.     0X'hh
  246.     h'hh
  247.     H'hh
  248.     x'hh
  249.     X'hh
  250.  
  251.  
  252. Examples:
  253.  
  254.     077        ;octal number 77 = decimal 63
  255.     b'0101     ;binary number 101 = decimal 5
  256.     77         ;decimal number 77 = octal 115
  257.     h'ff       ;hexidecimal ff = decimal 255
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264. 2.  Strings:
  265.  
  266.     Strings consist of a beginning quote " followed by any reasonable number
  267.     of characters followed by an ending quote ". Control characters and double
  268.     quotes " and backslash \ may not be used in strings directly.  These
  269.     special characters are included by using a special escape sequence which
  270.     the assembler translates into the appropriate ASCII code.
  271.  
  272. Note: Strings may not be used in expressions!
  273.       Although character constants may(see below).
  274.  
  275. Escape sequences
  276.   "\"" string containing "
  277.   "\\" string containing \
  278.   "\'" string containing '
  279.   "\0" string containing null
  280.   "\n" string containing linefeed
  281.   "\r" string containing carriage return
  282.   "\f" string containing formfeed
  283.   "\t" string containing horizontal tab
  284.   "\nnn" string containing the ASCII character who's code is o'nnn
  285.          (nnn are octal digits).
  286.   * see appendix A for ASCII codes.
  287.  
  288. 3.  Character Constants:
  289.  
  290.     Character constants consist of  a single quote ' followed by
  291.     a character or an escape sequence(see above) followed by a
  292.     single quote '.
  293.  
  294. example:
  295.    'A' = ASCII character value for the letter A = 65 (decimal);
  296.    '\''= ASCII character value for the character ' = 39 (decimal).
  297.  
  298. Character constants are treated as integers by the assembler and
  299. are valid where ever an integer value is valid.
  300.  
  301. example:
  302.    'A' + 1 = 66
  303.  
  304.   * see appendix A for ASCII codes.
  305.  
  306. 4.  Symbolic values
  307.  
  308.     Symbolic values are generally labels, but may be any identifier
  309.     assigned an integer value(using .set or .equ pseudo-ops).
  310.  
  311.     As a special case the symbol * when used as an operand in an
  312.     expression denotes the value of the location counter (the value
  313.     the program counter will have during operation) at the beginning
  314.     of the current line.
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321. Chapter 5  Expressions
  322.  
  323.      All expressions evaluate to integer values modulo 65536(2^16) and are
  324.      written in infix notation(the way you normally write them).  Operators
  325.      provided are grouped below in order of precedence.
  326.  
  327. 1. (unary)
  328. ~           logical bit wise complement(not) of its operand(one's complement).
  329. -           arithemetic complement, or negation(two's complement).
  330.  
  331. 2. (binary)
  332. *           integer multiply (two's complement).
  333. /           integer divide   (two's complement).
  334. %           modulus          (result is always positive)
  335. >>          logical shift right (left operand shifted right operand times).
  336. <<          logical shift left (left operand shifted right operand times).
  337. ~           equivalent to  A or ( ~B ).
  338.  
  339. 3. (binary)
  340. |           logical bitwise or(inclusive-or) of two operands.
  341. ^           logical bitwise exclusive-or of two operands.
  342. &           logical bitwise and of two operands.
  343.  
  344. 4. (binary)
  345. +           addition (two's complement).
  346. -           subtraction (two's complement).
  347.  
  348.      Since this version does not generate relocatable code there exists only
  349.      one "type" of operand that can be in an expression.  So anything goes
  350.      except divide by 0(1 will be substituted ).
  351.  
  352. examples:
  353.     -1 = h'ffff  (two's complement notation).
  354.     -1 >> 8 = h'00ff
  355.     -1 << 8 = h'ff00
  356.     3 / 2 = 1
  357.     6 / 2 = 3
  358.     5 / 0 = 5
  359.     -2 / 1 = -2
  360.     -3 /-2 = 1
  361.     2 * -3 = -6
  362.     b'00 & b'11 = 0
  363.     b'11 & b'10 = 2
  364.     2 * b'01 & b'10 = 2
  365.     b'01 ^ b'11 = 2
  366.     b'01 | b'11 = 3
  367.  
  368. Notice that spaces are ignored in expressions.
  369.  
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377. Chapter 6  Assembler Directives
  378.   (also known as assembler Pseudo-opcodes)
  379.  
  380.      The assembler recognizes the following directives:
  381.  
  382.       directive  section    description
  383.  
  384.       .command    1   ;set assembly options(similar to command line options).
  385.  
  386.       .org        2   ;set program origin.
  387.  
  388.       .equ        3   ;equate an identifier to an expression(permanent
  389.                       ; assignment).
  390.  
  391.       .set        4   ;equate and identifier to an expression(temporary
  392.                       ; assignment).
  393.  
  394.       .rs         5   ;reserve storage(memory) space.
  395.  
  396.       .db         6   ;define byte.
  397.  
  398.       .dw         7   ;define word(16 bit).
  399.  
  400.       .drw        8   ;define reversed word(16 bit).
  401.  
  402.       .eject      9   ;form feed in listing
  403.  
  404.       .page      10   ;align location counter on 256 byte memory
  405.                       ; page boundary.
  406.  
  407.       .end       11   ;end of program
  408.  
  409.       .opdef     12   ;equate an identifier with another identifier.
  410.  
  411.       .segment   13   ;define a memory segment.
  412.  
  413.       <segment name>
  414.                  14   ;select segment <segment name> as current segment.
  415.  
  416.       .null      15   ;this is a comment statement.
  417.  
  418.  
  419.  
  420.  
  421.  
  422. 1. .command    <optionlist>   ;allows the programmer to set option switches
  423.                               ;in the same manner as on the command line.
  424.                               ;(the command line is the line typed to run
  425.                               ; this program).
  426.  
  427. <optionlist> -> <option> ' ' <optionlist>
  428. <optionlist> ->
  429.  
  430. <option> -> '-'<available option>
  431. <option> -> '+'<available option>
  432.  
  433. <available option> -> 'w'<decimal number> ;page width in columns(characters).
  434.                                           ;(-,+ are ignored but one must be
  435.                                           ; there).
  436.  
  437. <available option> -> 'h'<decimal number> ;page height in lines.
  438.                                           ;(-,+ are ignored but one must be
  439.                                           ; there).
  440.  
  441. <available option> -> 'l'                 ;listing on(+) or off(-)
  442.                                           ;if set on command line it overrides
  443.                                           ;all listing controls in program.
  444.  
  445. <available option> -> 's'                 ;symbol listing on(+) or off(-).
  446.  
  447. <available option> -> 'o'                 ;selects single object module
  448.                                           ;file only(+), or multiple object
  449.                                           ;module files(-)(one for each
  450.                                           ;defined segment in the program).
  451.                                           ;ONLY active on command line!
  452.  
  453. <available option> -> 't'<drive>          ;specifies which drive to create
  454.                                           ;all temporary files on(-,+ are
  455.                                           ; ignored but one must be there).
  456.                                           ;ONLY active on command line!
  457.  
  458. <available option> -> 'p'<drive>          ;specifies which drive to create
  459.                                           ;the listing file on(-,+ are
  460.                                           ; ignored but one must be there).
  461.                                           ;ONLY active on command line!
  462.  
  463. <drive> -> <drive name>':'
  464.  
  465.                            ;MS-DOS
  466. <drive name> -> 'a'        ;drive a --usually a floppy disk
  467. <drive name> -> 'b'        ;drive b --usually a second floppy disk
  468. <drive name> -> 'c'        ;drive c --usually a hard disk, but may
  469.                                       be a ram disk.
  470. <drive name> -> 'd'        ;drive d --usually a ram disk, but may
  471.                                       be a hard disk.
  472. ** The default options are:  -w132 -h66 +l +s +o
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479. 2. .org   <integer expression>    ;sets the assembler location counter
  480.                                   ;to the value of expression.
  481.                                   ;The expression MUST be evaluatable
  482.                                   ;on the first pass. NO FORWARD
  483.                                   ;REFERENCES!
  484.  
  485. 3. .equ  <identifier> ',' <integer expression>
  486.                                   ;gives identifier the value of the
  487.                                   ;integer expression.
  488.                                   ;<identifier> canNOT be redefined!
  489.                                   ;also forward references are allowed
  490.                                   ;as long as they are resolved by the
  491.                                   ;second pass.
  492.  
  493. 4. .set  <identifier> ',' <integer expression>
  494.                                   ;gives identifier the value of the
  495.                                   ;integer expression.
  496.                                   ;<identifier> CAN be redefined later
  497.                                   ; in the program!
  498.                                   ;also forward references are allowed
  499.                                   ;as long as they are resolved by the
  500.                                   ;second pass.
  501.  
  502. 5. .rs  <integer expression>      ;increments the location counter
  503.                                   ;by the value of <integer expresson>
  504.                                   ;effectively reserving that many bytes
  505.                                   ;of memory.
  506.  
  507. 6. .db  <expression-string list>
  508.  
  509. <expression-string list> -> <expression>','<expression-string list>
  510. <expression-string list> -> <string>','<expression-string list>
  511. <expression-string list> -> <expression>
  512. <expression-string list> -> <string>
  513.  
  514.                                   ;creates a byte in the machine code
  515.                                   ;for each <expression> in the list
  516.                                   ;and a byte for each ascii character
  517.                                   ;in the a string.
  518. 7. .dw  <expression list>
  519.  
  520. <expression list> -> <expression>','<expression list>
  521. <expression list> -> <expression>
  522.  
  523.                                   ;creates a word(16 bit) in the machine code
  524.                                   ;for each <expression> in the list.
  525.                                   ;MOST significant byte is stored at LOWER
  526.                                   ;address.
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533. 8. .drw  <expression list>
  534.  
  535. <expression list> -> <expression>','<expression list>
  536. <expression list> -> <expression>
  537.  
  538.                                   ;creates a word(16 bit) in the machine code
  539.                                   ;for each <expression> in the list.
  540.                                   ;LEAST significant byte is stored at LOWER
  541.                                   ;address.
  542.  
  543. 9. .eject                         ;causes a form-feed character to be
  544.                                   ;inserted in listing.(new listing page)
  545.  
  546. 10. .page                         ;increments location counter to next
  547.                                   ;256 byte page boundary.
  548.  
  549. 11. .end <integer expression>     ;signals the end of the source program.
  550.                                   ;the optional expression, if supplied,
  551.                                   ;specifies the start address of the
  552.                                   ;program, and is included in the
  553.                                   ;Intel Hex object module output
  554.                                   ;of the active segment when the .end
  555.                                   ;was encountered.
  556.  
  557.  
  558. 12. .opdef  <identifier>,<identifier>
  559.                                   ;assigns the current definition of
  560.                                   ;the second <identifier> to the
  561.                                   ;first <identifier>.
  562.                                   ;useful for renaming opcodes and
  563.                                   ;pseudo-ops.
  564.  
  565. 13. .segment <identifier> ',' <integer expression>
  566.                                   ;defines a memory segment name.
  567.                                   ;used to separate memory allocation
  568.                                   ;and optionally generate seperate
  569.                                   ;object files.(see 'o' assembly
  570.                                   ;directive to activate).
  571.                                   ;(used to seperate RAM, ROM, or
  572.                                   ; ROMS)
  573.                                   ;the optional <integer expression> is
  574.                                   ;added to the location counter to
  575.                                   ;offset the load address supplied
  576.                                   ;in the object module. (does not
  577.                                   ;affect listings addresses!)
  578.                                   ;
  579.                                   ;note: .code is the predefined default
  580.                                   ;segment and cannot be redefined.
  581.  
  582. 14. <segment name>                ;selects the segment <segment name>
  583.                                   ;as the current memory segment.
  584.  
  585. 15.  .null                        ;directs the assembler to treat this
  586.                                   ; statement as a comment.  Useful to
  587.                                   ; nullify opcodes when used in conjunction
  588.                                   ; with the .opdef pseudo-op.
  589.  
  590.  
  591.  
  592.  
  593.  
  594.  
  595.  
  596. Appendix   A      ASCII character set
  597.  
  598.  
  599.  
  600. dec oct hex char     dec oct hex char  dec oct hex char  dec oct hex char
  601.  
  602.   0 000  00 ^@ null   32 040  20 sp     64 100  40 @      96 140  60 `
  603.   1 001  01 ^A soh    33 041  21 !      65 101  41 A      97 141  61 a
  604.   2 002  02 ^B stx    34 042  22 "      66 102  42 B      98 142  62 b
  605.   3 003  03 ^C etx    35 043  23 #      67 103  43 C      99 143  63 c
  606.   4 004  04 ^D eot    36 044  24 $      68 104  44 D     100 144  64 d
  607.   5 005  05 ^E enq    37 045  25 %      69 105  45 E     101 145  65 e
  608.   6 006  06 ^F ack    38 046  26 &      70 106  46 F     102 146  66 f
  609.   7 007  07 ^G bel    39 047  27 '      71 107  47 G     103 147  67 g
  610.   8 010  08 ^H bs     40 050  28 (      72 110  48 H     104 150  68 h
  611.   9 011  09 ^I ht     41 051  29 )      73 111  49 I     105 151  69 i
  612.  10 012  0A ^J lf     42 052  2A *      74 112  4A J     106 152  6A j
  613.  11 013  0B ^K vt     43 053  2B +      75 113  4B K     107 153  6B k
  614.  12 014  0C ^L ff     44 054  2C ,      76 114  4C L     108 154  6C l
  615.  13 015  0D ^M cr     45 055  2D -      77 115  4D M     109 155  6D m
  616.  14 016  0E ^N so     46 056  2E .      78 116  4E N     110 156  6E n
  617.  15 017  0F ^O si     47 057  2F /      79 117  4F O     111 157  6F o
  618.  16 020  10 ^P dle    48 060  30 0      80 120  50 P     112 160  70 p
  619.  17 021  11 ^Q dc1    49 061  31 1      81 121  51 Q     113 161  71 q
  620.  18 022  12 ^R dc2    50 062  32 2      82 122  52 R     114 162  72 r
  621.  19 023  13 ^S dc3    51 063  33 3      83 123  53 S     115 163  73 s
  622.  20 024  14 ^T dc4    52 064  34 4      84 124  54 T     116 164  74 t
  623.  21 025  15 ^U nak    53 065  35 5      85 125  55 U     117 165  75 u
  624.  22 026  16 ^V syn    54 066  36 6      86 126  56 V     118 166  76 v
  625.  23 027  17 ^W etb    55 067  37 7      87 127  57 W     119 167  77 w
  626.  24 030  18 ^X can    56 070  38 8      88 130  58 X     120 170  78 x
  627.  25 031  19 ^Y em     57 071  39 9      89 131  59 Y     121 171  79 y
  628.  26 032  1A ^Z sub    58 072  3A :      90 132  5A Z     122 172  7A z
  629.  27 033  1B ^[ esc    59 073  3B ;      91 133  5B [     123 173  7B {
  630.  28 034  1C ^\ fs     60 074  3C <      92 134  5C \     124 174  7C |
  631.  29 035  1D ^] gs     61 075  3D =      93 135  5D ]     125 175  7D }
  632.  30 036  1E ^^ rs     62 076  3E >      94 136  5E ^     126 176  7E ~
  633.  31 037  1F ^_ us     63 077  3F ?      95 137  5F _     127 176  7F del
  634.  
  635.  ^ denotes control key simultaneous with character key.
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644. Appendix B       Copyright Information:
  645.  
  646.  
  647. Disclaimer:
  648.  
  649.             PseudoSam 85 is distributed as is, with no guarantee that it
  650.             will work correctly in all situations.  In no event will the
  651.             Author be liable for any damages, including lost profits,
  652.             lost savings or other incidental or consequential damages
  653.             arising out of the use of or inability to use these
  654.             programs, even if the Author has been advised of the
  655.             possibility of such damages, or for any claim by any other
  656.             party.
  657.  
  658. Copyright Information:
  659.  
  660.             The entire PseudoSam 85 distribution package, consisting of
  661.             the main program, documentation files, and various data and
  662.             utility files, is copyright (c) 1986, by PseudoCode.
  663.  
  664.             The author reserves the exclusive right to distribute this
  665.             package, or any part thereof, for profit.
  666.  
  667.             The name "PseudoSam (tm)", applied to an assembler
  668.             program, is a trade mark of the PseudoCode company.
  669.  
  670.             PseudoSam version 1.x.xx and various subsidiary files may be
  671.             copied freely by individuals for non-commercial purposes. It
  672.             is expected that those who find the package useful will
  673.             purchase the update service.
  674.             ONLY UNMODIFIED VERSIONS DISPLAYING THE AUTHORS COPYRIGHT
  675.             MAY BE COPIED.
  676.  
  677.             User groups and clubs are authorized to distribute PseudoSam
  678.             software under the following conditions:
  679.  
  680.             1.  No charge is made for the software or documentation.  A
  681.                 nominal distribution fee may be charged, provided that
  682.                 it is no more than $5 total.
  683.  
  684.             2.  Recipients are to be informed of the user-supported
  685.                 software concept, and encouraged to support it with
  686.                 their donations.
  687.  
  688.             3.  The program and documentation are not modified in ANY
  689.                 way, and are distributed together.
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.             Interested manufacturers please see the commercial registration
  697.             form that follows to license PseudoSam 18 for bundling with
  698.             MS-DOS based development systems.
  699.  
  700.             Distribution of PseudoSam 85 outside the United States is through
  701.             licensed distributors, on a royalty basis.  Interested
  702.             distributors are invited to contact PseudoCode.
  703.  
  704.  
  705.  
  706. Educational Use:
  707.  
  708.             Educational institutions are free to use this software
  709.             in their classes and are encouraged to distribute this
  710.             package to their students, however inorder to receive
  711.             periodic updates and technical assistance the appropriate
  712.             department must remit the license fee.  Also a staff
  713.             member must be assigned to clear all trouble reports before
  714.             forwarding them to PseudoCode.
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.         If you use this software, please help support it.  Your
  724.         support can take three forms:
  725.  
  726.         1. Become a registered user.  The suggested payment for
  727.            registration is $30($100 for complete family).
  728.  
  729.         2. Suggestions, comments, and bug reports.
  730.  
  731.         3. Spread the word.  Make copies for friends.  Write the editor
  732.            of your favorite computer magazine.  Astronomical advertising
  733.            costs are one big reason that commercial software is so over-
  734.            priced.  To continue offering PseudoSam 85 this way, we need
  735.            your help in letting other people know about PseudoSam 85.
  736.  
  737.         Those who make the $30 payment to become registered users
  738.         receive the following benefits:(order form on next page)
  739.  
  740.         1. One year of updates including any upgrades. This includes
  741.            at least one new version release even if it takes more than
  742.            one year.
  743.  
  744.         2. User support by mail.  Support is only available to registered
  745.            users.  The address for help is given below.
  746.  
  747.         3. Notices announcing the release of new products.
  748.  
  749.  
  750.  
  751.  
  752.  
  753.  
  754.  
  755.  
  756.  
  757.              Attention:BUGS             PseudoCode
  758.                                         P.O. Box 1423
  759.                                         Newport News, VA     23601
  760.  
  761.  
  762.  
  763.  
  764.  
  765.       ********ORDER FORM********
  766.  
  767.       Please add me to the list of registered PseudoSam 85 users, and send me
  768.       the most recent version. I understand that registration entitles me to
  769.       one year of free updates and new releases, or one free new version
  770.       release, whichever occurs last.
  771.  
  772.       Note that version 1.2.02 requires DOS 2 (or later) and 256K.
  773.  
  774.       Computer Model: ____________________________________
  775.  
  776.       Diskette format:            Total Memory: _______K
  777.                                      (256K required)
  778.          __ doubled sided/DOS 2
  779.  
  780.       Check one:
  781.              ___ I enclose a check for $30
  782.              (PseudoCode pays sales tax for VA orders)
  783.  
  784.       Where did you hear about PseudoSam 85? ________________________________
  785.  
  786.       Name:    _______________________________________________________
  787.  
  788.       Address: _______________________________________________________
  789.  
  790.       City, State, Zip: ______________________________________________
  791.  
  792.       ================================================================
  793.  
  794.            Send order form with check or money order payable to PseudoCode to:
  795.            (Qualified PO's will be billed.)
  796.  
  797.            Attention: Registration         PseudoCode
  798.                                            P.O. Box 1423
  799.                                            Newport News, VA     23601
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.       ********ORDER FORM********
  807.  
  808.       Please add me to the list of registered users of the complete
  809.       PseudoSam family of cross-assemblers. Send me the most recent
  810.       versions.  I understand that registration entitles me to
  811.       one year of free updates and new releases, or one free new
  812.       version release, whichever occurs last.
  813.  
  814.  
  815.       I note that version 1.2.02 requires DOS 2 (or later) and 256K.
  816.  
  817.       Computer Model: ____________________________________
  818.  
  819.       Diskette format:            Total Memory: _______K
  820.                                      (256K required)
  821.          __ single sided/DOS 2(360k)
  822.  
  823.       Check one:
  824.              ___ I enclose a check or money order for $100
  825.                  (shipping, handling, and Virginia sales tax for VA orders
  826.                   is paid by PseudoCode).
  827.  
  828.       Where did you hear about the PseudoSam family? ________________________
  829.  
  830.       Name:    _______________________________________________________
  831.  
  832.       Address: _______________________________________________________
  833.  
  834.       City, State, Zip: ______________________________________________
  835.  
  836.       ================================================================
  837.  
  838.            Send order form with check or money order payable to PseudoCode to:
  839.            (Qualified PO's will be billed.)
  840.  
  841.            Attention: Registration         PseudoCode
  842.                                            P.O. Box 1423
  843.                                            Newport News, VA     23601
  844.  
  845.  
  846.  
  847.  
  848.       ********Commercial Distribution Agreement********
  849.  
  850.       Please add me to the list of registered PseudoSam 85 distributors, and
  851.       send me the most recent version. I understand that registration entitles
  852.       me to distribute this package freely on an "as is" basis to purchasers
  853.       of my products. I further understand that I may not make a specific or
  854.       additional charge for this package. I may however advertise the package
  855.       as free software. I fully understand that the distributed software
  856.       must be clearly labeled as follows:
  857.  
  858.       Complementary Software
  859.       Distributed "AS IS"
  860.       PseudoCode
  861.       P.O. Box 1423
  862.       Newport News, VA 23601
  863.  
  864.  
  865.  
  866.       I understand that this agreement entitles me to one year of distribution
  867.       rights and free updates.
  868.  
  869.       Note that version 1.2.02 requires DOS 2 (or later) and 256K.
  870.  
  871.       Computer Model: ____________________________________
  872.  
  873.       Diskette format:            Total Memory: _______K
  874.                                      (256K required)
  875.          __ doubled sided/DOS 2
  876.  
  877.       Check one:
  878.              ___ I enclose a check for $30
  879.              (PseudoCode pays sales tax for VA orders)
  880.  
  881.       Where did you hear about PseudoSam 85? ________________________________
  882.  
  883.       Name:    _______________________________________________________
  884.  
  885.       Address: _______________________________________________________
  886.  
  887.       City, State, Zip: ______________________________________________
  888.  
  889.       Signature_______________________   Date_________________
  890.  
  891.       ================================================================
  892.  
  893.            Send order form with check or money order payable to PseudoCode to:
  894.            (Qualified PO's will be billed.)
  895.  
  896.            Attention: Registration         PseudoCode
  897.                                            P.O. Box 1423
  898.                                            Newport News, VA     23601
  899.  
  900.  
  901.  
  902.  
  903.  
  904.  
  905.       ********Commercial Distribution Agreement********
  906.  
  907.  
  908.       Please add me to the list of registered PseudoSam distributors, and
  909.       send me the most recent version. I understand that registration entitles
  910.       me to distribute this package freely on an "as is" basis to purchasers
  911.       of my products. I further understand that I may not make a specific or
  912.       additional charge for this package. I may however advertise the package
  913.       as free software. I fully understand that the distributed software
  914.       must be clearly labeled as follows:
  915.  
  916.       Complementary Software
  917.       Distributed "AS IS"
  918.       PseudoCode
  919.       P.O. Box 1423
  920.       Newport News, VA 23601
  921.  
  922.  
  923.  
  924.       I understand that this agreement entitles me to one year of distribution
  925.       rights and free updates for the entire PseudoSam family of products.
  926.  
  927.  
  928.       I note that version 1.2.02 requires DOS 2 (or later) and 256K.
  929.  
  930.       Computer Model: ____________________________________
  931.  
  932.       Diskette format:            Total Memory: _______K
  933.                                      (256K required)
  934.          __ single sided/DOS 2(360k)
  935.  
  936.       Check one:
  937.              ___ I enclose a check or money order for $100
  938.                  (shipping, handling, and Virginia sales tax for VA orders
  939.                   is paid by PseudoCode).
  940.  
  941.       Where did you hear about the PseudoSam family? ________________________
  942.  
  943.       Name:    _______________________________________________________
  944.  
  945.       Address: _______________________________________________________
  946.  
  947.       City, State, Zip: ______________________________________________
  948.  
  949.       Signature_______________________   Date_________________
  950.  
  951.       ================================================================
  952.  
  953.            Send order form with check or money order payable to PseudoCode to:
  954.            (Qualified PO's will be billed.)
  955.  
  956.            Attention: Registration         PseudoCode
  957.                                            P.O. Box 1423
  958.                                            Newport News, VA     23601
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.       The PsuedoSam Family consists of the following cross-assemblers
  967.  
  968.        Name            Designed for         Available*   V1.1.00
  969.  
  970.        PseudoSam 48   ;Intel 8048 family.     Now
  971.        PseudoSam 51   ;Intel 8051 family.     Now
  972.        PsuedoSam 96   ;Intel 8096 family.     Now
  973.        PseudoSam 68   ;Motorola
  974.                       ;6800,01,02,03,08.      Now
  975.        PseudoSam 685  ;Motorola 6805.         Now
  976.        PsuedoSam 69   ;Motorola 6809.         Now
  977.        PseudoSam 65   ;6502.                  Now
  978.        PseudoSam 85   ;Intel 8080,8085.       Now
  979.        PseudoSam 80z  ;Zilog Z80, NSC800.     Now
  980.        PseudoSam 18   ;RCA 1802.              Now
  981.        PseudoSam 32   ;NSC 32000 Family.      Apr 87
  982.        PseudoSam 68k  ;Motorola 68000 family. May 87
  983.  
  984.    * PseudoCode reserves the right to change price and availability
  985.      of any product without notice.
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995. Appendix C: Description of Files
  996.  
  997.       Your PseudoSam 85 distribution disk contains a number of files.  This
  998.       appendix will give a brief statement of the purpose of each of the
  999.       files.
  1000.  
  1001.       FILE           DESCRIPTION
  1002.       ----------------------------------------------------------------
  1003.       A85.COM         The PseudoSam 85 program.
  1004.       A85.DOC         This document.
  1005.       EXAMPLE.ASM     Sample source file.
  1006.       MNEMTEST.ASM    Mnemnonics test file.
  1007.       SYN.ASM         Useful mnemnonics redefinitions
  1008.       COMRCIAL.USE    Commercial distribution agreement.
  1009.  
  1010.       Occasionally, various other sample source files for PseudoSam 85 will be
  1011.       distributed.  These files will have extension ASM, and will be
  1012.       accompanied by a corresponding DOC file.
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022. Appendix D: Bug Reporting Procedure.
  1023.  
  1024.  
  1025.       Although each version of PseudoSam 85 is tested extensively prior
  1026.       to release, any program is bound to contain a few bugs.  It is
  1027.       the intention of PseudoCode to correct any genuine problem that
  1028.       is reported.
  1029.  
  1030.       If you think you have found a bug in PseudoSam 85, please take the time
  1031.       to report it for correction.  Although any report is helpful,
  1032.       correction of the problem will be easiest if you provide the
  1033.       following:
  1034.  
  1035.          1. The version of PseudoSam 85 you are using.  Your problem may have
  1036.             been fixed already.
  1037.  
  1038.          2. A brief description of the problem.
  1039.  
  1040.          3. A copy of the problem source file, preferably on a floppy disk.
  1041.             (The cost of floppies is so small($.29), they will not be
  1042.              returned and become the property of PseudoCode.)
  1043.  
  1044.             * It is NOT necessary to send a large program to demonstrate
  1045.               problem.  Please try to isolate the problem area, by
  1046.               writing a short sample program that demonstrates the bug.
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.              Attention:BUGS             PseudoCode
  1054.                                         P.O. Box 1423
  1055.                                         Newport News, VA     23601
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.  
  1062.  
  1063.       Appendix E   Using PseudoSam 85 on "Compatible" Systems.
  1064.  
  1065.       PseudoSam 85 was written specifically for the IBM PC, but should
  1066.       function normally on true "compatibles".
  1067.  
  1068.       Since PseudoSam 85 version 1.2.00 is a totally new program, little
  1069.       compatibility data is currently available.  If you are using (or
  1070.       are unable to use...) PseudoSam 85 on a non-IBM computer, please
  1071.       write with your experiences.  Does PseudoSam 85 work correctly on
  1072.       your system?  Are there specific problem areas?  Can they be worked
  1073.       around?
  1074.  
  1075.       The following systems are known to run PseudoSam 85 version 1.2.00
  1076.       successfully:
  1077.              IBM PC
  1078.              IBM XT
  1079.              IBM AT
  1080.              Sperry PC (all models).
  1081.              JDR Microdevices PC Clones.
  1082.  
  1083.