2 as, Motload commands – Artesyn MOTLoad Firmware Package User's Manual (February 2015) User Manual

Page 41

Advertising
background image

MOTLoad Commands

MOTLoad Firmware Package User’s Manual (6806800C24D)

41

3.1.2

as

Name

as—provides access to the one-line assembler. By default, the memory location to place the
user entered PowerPC assembly instructions is the User Download Buffer.

Synopsis

as [-a]

Parameter

-a Ph: Assembly Address (Default = User Download Buffer)

Example

The following example depicts a typical result of entering the as command.

MOTLoad>

as –a00560000

00560000 00000000 word 0x00000000? lwz r3, 0x0(x3)

-- the above line will be replaced with the following --

00560000 80630000 lwz r3,0x0(r3)

Error Messages

Error messages returned from the as command take one of the following forms depending
upon whether it is a known error.

Assembler Error: <error_message>

where <error_message> is one of the following:

An Operand has a Length of Zero
Unknown Mnemonic
Excessive Operand(s)
Missing Operand(s)
Operand Type Not Found
Operand Prefix
Operand Address Misalignment

Advertising