Once again I greet all readers of the journal
Nala and I want to introduce to your
useful, in my opinion, program
framework for beginners and experienced programmers
mists - assembler MASM v1.0. I understand
that there is already a more powerful as-
samplers, but for those who worked (and worked
works) on the widely used TASM
and for many others this assembler will be
irreplaceable. In addition, this assembler has
many functions that even
'sophisticated' ZX-ASM and the like... A
As for the size of the letters, then, as they say,
It’s amazing how many people there are in the world, so many
opinions. Hope this text helps
you to understand this program and evaluate
thread it on its merits and propose to recognize
come with a corporate description, written-
The main developer of MASM is KSA SOFTWARE.
MASTER ASSEMBLER v1.0 for 128K
INFORMATION FOR BRAKERS
1. General information.
I (KSA) am not RST7, and have nothing to do with
I don't have it... My guide to
MASM will be extremely brief and incomprehensible.
ten. For those who are already eager to
fight, I canonly one thing to say - especially
you do not have any striking VISUAL differences from TASM
you will find!
Now more details about everything...
2. Main NON-VISUAL differences.
Maximum text size
............... about 26800 bytes
Maximum line size
............... 64 characters
Maximum Buffer Size
............... 9000 bytes
Maximum number of tags
............... 1023
Maximum tag length
............... 10 characters
the colon (as in TASM) is ignored!
Average assembly speed
.................. 700 lines/sec and in per-
first and second aisles
Macros
...................implementedUndocumented commands
...................implemented
Working with halves of index registers
...................implemented
Once again I would like to separately mention
about assembly speed. She's 2 times
more than TASM v3.0 (by Rst7), which
for two years was considered the most
fast assembler.
3. Loading and launching.
From TR-DOS loading (and automatic
launch after it) is carried out by entering
the following command:
A>RUN "MASM128K"
Launch from VASIC after downloading:
RANDOMIZE USR 23600
WARNING! The stack before launching MASM must be
wives be below 32768!!! (Standard stack
- 24575 (#5FFF)).
4.Menu. Immediately after loading, copyright
you, after which the menu itself will appear
nickname From it you will have access to such things:
cabbage soup:
E - Exit to the editor for typing or editing
text editing.
W - Select the file you will work with
work (control is carried out by key-
cursor and 'O'+'P'+'Q'+'A'+Space+
Enter).
S - Forced writing of text on
disk (another write request is submitted before
team that can ruin
text).
G - Attaching a file from disk to a file
in memory.
I - Import file from format
TASM v3.0 into MASM format. WARNING! B
the imported file should not have
lines longer than 64 characters!
L - Open a new file. Requested
name.
N - Change the name of the working file.
C - View catalog(required on-
presence of a disk in the drive, but if it is there
It won’t turn out to be no big deal...).
A - Compile the program into an object -
nal code.
J - View information about the compilation
formatted file.
F - Load a new font (2 sectors =
128 characters (2 characters per familiarity,
first Russian letters, then the main one
boron Latin).
Q - Output to STS
B - Exit to BASIC.
5.Editor.
The editor is controlled
with the following keys:
CS+8 - move the cursor one character to the right
in
CS+5 - one character to the left
CS+6 - one line downCS+7 - one line up
CS+3 - 20 lines back
CS+4 - forward 20 lines
CS+1 - tab
CS+0 - deletes the character to the left of the cursor
CS+9 - delete a character at the cursor position
CS+2 - insert a character at the cursor position
SS+W - insert a line
SS+Q - delete line
SS+E - take a line into the buffer
SS+I - continue searching for a sample
SS+Enter - write text without exiting
editor
SS+CS - entering command mode:
Commands:
Q - exit to the menu.
S - search for a pattern throughout the text.
U - search up from the cursor.
D - search down from the cursor.X - search throughout the text and replace.
R - copy lines from the buffer.
R - write the buffer to disk.
G - load buffer from disk.
C - clear the buffer.
L - go to the desired line (enter
line numbers are carried out in
NEX form).
F - switching display type
characters with codes #60-#7F (Latin
Russian capitals/Russian capitals
nye).
At the bottom of the screen there is a line with the
personal information:
LINE:0000 COL:00 F:L TEXT:0000/FFFF
1 2 3 4
ВUF:0000/4000 FILE:........
5 6
1-line number (in HEX) on which
the cursor moves.
2-column number (in HEX) in which
the cursor moves.
3-current type of display of symbols with co-
ladies #60-#7F
4-text size: busy/free.
5-buffer size: busy/free.
6-nameedited file.
6.Assembler.
Supports all types of operations using
using in TASM, but:
1. Acceptable abbreviations:
DEFB - DB; DEFW - DW; DEFS - DS.
2. The DEFS command is slightly expanded:
DEFS ,[,...,]
where is the number of repetitions
list of bytes (..)
If the second or more parameters are not specified,
are filled, then they are taken equal to zero
3.Macros are implemented in non-standard software
at once:
VEGIN
.... ;<---macro body.
END
A piece of text between VEGIN.....END from-
compiles times in a row.Allows-
up to 8 nestings. Markers inside macro
sa are invalid (use $+offset)!
4. I do not recommend pressing BREAC and ejecting
create a disk with INСВIN and INCLUDE.
5.You can enter binary numbers: (as in
TASM'e).
6.In expressions with numbers you can use
perform actions / * - + & ', as well as @ -
XOR.
7.Error messages.
0 - no such command.
1 - impossible parameter.
2 - no mark.
3 - the mark is already there.
4 - incorrect label.
5 - impossible action.
6 - label table overflow.
! - no file.
? - bullshit.
A - large nesting
(for VEGIN...END's).
There are more B-ENDs than VEGINs.
Sometimes there are other errors, but
when they appear, I’m not really sure yet
figured it out... (just kidding!). 8. Memory distribution.
MASM does not overwrite 48th memory (except
screen) and uses it for its work
only pages 1,3,4 and 6.
CREDITS:
*AIG* productions:
Coding...............50%
Original idea......50%
New turbо algoritms..10%
KSA software products:
Coding...............50%
Original idea......50%
New turbо algoritms..90%
Share your thoughts about the article