info @ paw software.co.uk
sales @ paw software.co.uk

Assembly Language

When the program is run you will be presented with
a full screen version of the diagram below

MCSim4

Assembly code is typed into the white area with the word "Program" above it.
Normal
text editing features available.
Full
error checking prior to running.
Programs can be saved and loaded.
They can be
single stepped (one instruction at a time - ideal for debugging)
Or they can be run in the
normal manner (at full speed).

Graphics on the menu bar gives 4 different graphics to program.

           1.
Crane.  Program the overhead crane to pick up randomly placed loads and
                               drop them into specified containers.
           2.
Steeplechase.  Guide a ball over a specified hilly course.
           3.
Lift.  Program a lift to pick up, and drop, customers at their requested floors.
           4.
Chessboard.  Move a piece around the board in different ways.

74 codes are supported, giving a wide range of actions (see below)
These include
Add, Subtract, Multiply, Divide, Power, Square root
Conditional
jumps, Unconditional jump, Absolute addressing
Indexed addressing, Immediate mode, Compare and Logic commands.

ADD

DRP

PNL

ADS

DVD

POW

ADX

DVS

PRA

ADY

END

PRT

AND

IDV

PSP

BEQ

INS

RDA

BGE

INX

RD$

BGT

INY

RET

BLE

JMP

RND

BLT

JSR

SAX

BNE

LAD

SAY

CAD

LAS

SBD

CAS

LAX

SBS

CAX

LAY

SHL

CAY

LFT

SHR

CIX

LXD

SQR

CIY

LXS

STA

CLS

LYD

STX

CXD

LYS

STY

CXY

MLD

TAX

CYD

MLS

TAY

CYX

MOD

TXA

DES

MOV   MKN

TYA

DEX

ORA

 

DEY

PA$

 

73 page manual with explanations and worked examples.
This is followed by 62
programming tasks.
Fully
explained answers are provided.

  Example programs:-

Coded message
Random fixtures list for 8 teams
Anagram
Random word
Move a chess Knight
Validate
Program an overhead crane

Random hand of 7 cards
Hexadecimal
Polling
Alphabetic sort
Fixed length strings
Program a lift over 9 floors
And much more...

This is a good introduction to the principles of Assembly Language.

 

Hosted by entrypoint web design

[Home] [Digital Design] [Digital Control] [Mnemonic Code] [BBC Basic] [Database] [Word Processing] [Prices] [Links] [Requirements]