Motorola MVME187 manual Address as a Parameter

Models: MVME187

1 173
Download 173 pages 29 Kb
Page 115
Image 115
Address as a Parameter

Entering Debugger Command Lines

A numeric value may also be expressed as a string literal of up to four characters. The string literal must begin and end with the single quote mark ('). The numeric value is interpreted as the concatenation of the ASCII values of the characters. This value is right-justified, as any other numeric value would be.

String

Numeric Value

Literal

(In Hexadecimal)

 

 

'A'

41

 

 

'ABC'

414243

 

 

'TEST'

54455354

 

 

Evaluation of an expression is always from left to right unless parentheses are used to group part of the expression. There is no operator precedence. Subexpressions within parentheses are evaluated first. Nested parenthetical subexpressions are evaluated from the inside out.

Valid expression examples:

Expression

Result (In Hex)

Notes

 

 

 

FF0011

FF0011

 

 

 

 

45+99

DE

 

 

 

 

&45+&99

90

 

 

 

 

@35+@67+@10

5C

 

 

 

 

%10011110+%1001

A7

 

 

 

 

88<<4

880

shift left

 

 

 

AA&F0

A0

logical AND

 

 

 

The total value of the expression must be between 0 and $FFFFFFFF.

Address as a Parameter

Many commands use addr as a parameter. The syntax accepted by 187Bug is similar to the one accepted by the M88000 one-line assembler. All control addressing modes are allowed. An Òaddress + offset registerÓ mode is also provided.

5

5-5

Page 115
Image 115
Motorola MVME187 manual Address as a Parameter