Category : Assembly Language Source Code
Archive   : PS68A12.ZIP
Filename : A68.DOC

 
Output of file : A68.DOC contained in archive : PS68A12.ZIP










PseudoSam 68 Assembler Manual V1.2.02
Copyright(c) 1986 PseudoCode





Disclaimer:

PseudoSam 68 is distributed as is, with no guarantee that it
will work correctly in all situations. In no event will the
Author be liable for any damages, including lost profits,
lost savings or other incidental or consequential damages
arising out of the use of or inability to use these
programs, even if the Author has been advised of the
possibility of such damages, or for any claim by any other
party.

It is the users reponsibility to back up all important files!

See copyright information in appendix B





Table of Contents

Chapter 1 PseudoSam 68 assembler vs. the Motorola assembler.

Chapter 2 Running the assembler program.

Chapter 3 Assembler statement syntax.

Chapter 4 Data types.

Chapter 5 Expressions.

Chapter 6 Assembler Directives.
(also known as assembler pseudo-opcodes, or pseudo-ops)

Appendix A ASCII character set.

Appendix B Copyright and registration information.

Appendix C Description of Files.

Appendix D Bug Reporting Procedure.

Appendix E Using PseudoSam 68 on "Compatible" Systems.



Chapter 1 PseudoSam 68 assembler vs. the Motorola assembler

All PseudoSam(Pseudo brand Symbolic AsseMbler) assemblers conform to
a common syntax based on the UNIX system V assembler syntax. By
conforming to this Pseudo standard, conflicts with the manufacturers
syntax are created. Below is a brief and incomplete list of those
conflicts.

Motorola format PseudoSam format

equ .equ ,

set .set ,

Has Macro capability No Macro capability at this time

Labels start in column 1 of Labels may start anywhere, but must
the source line. be followed immediately by a colon.



* The difference between the Motorola and the PseudoSam name
of an assembler directive can be circumvented by the .opdef
directive.

example

.opdef eject,.eject ;defines eject to be synonymous with .eject
.opdef fcc,.db ;fcc will now form constant characters as it
;should.

* A file syn.asm is distributed with the assembler with some useful
redefinitions.










Unix system V is a trademark of AT & T.







Chapter 2 Running the assembler program

1. Command line switch setting and source file specification.

Assuming the user has an assembly language source file called foo.asm
type the following command:

a68 foo

The assembler will assemble the program foo.asm using the default
assembler switch settings. the following files will be generated
by the assembler:

foo.lst ;assembled listing shown the code conversion and
; any errors that where discover by the assembler.

foo.obj ;assembled object code in Motorola Hex format.

** for a list of switch setting see the .command assembler directive
description in chapter 6.

*** The assembler uses the following temporary file names.

z0z0z0z0.tmp
z1z1z1z1.tmp

ANY files with these names will be DESTROYED by the
by the assembler.







Chapter 3 Assembler statement syntax

1. Assembler Statements

Assembler statements contain from zero to 4 fields as shown in
following.

  3 Responses to “Category : Assembly Language Source Code
Archive   : PS68A12.ZIP
Filename : A68.DOC

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/