# 9618 Pseudoassembly Specification

## Instruction set

### Data movement

* `LDD <address || label>` - Load data from memory into ACC
* `LDM <'#'><'b' || 'B' || 'x' || 'X'>?<number>` - Load directly to ACC. \ e.g.
  * `LDM #b01011`
  * `LDM #38`
  * `LDM #x4F`
* `LDI <address || label>` - Indirect loading

### I/O

### Arithmetic

### Comparison and flow control

### Bitwise operations

## Syntax

### Address

`<number>` (Decimal only)

e.g. `200`

### Label

`<letter>':'` (ASCII letters only)

e.g.

* `LOOP:`
* `numone:`

### Instruction

`<address || label>? <opcode> <operand>?`

e.g.

* `100 LDM #x3a`
* `LDD 200`
* `LOOP: LDD RES`

### Memory entry

`<address || label> <data>`

e.g.

* `RES:`
* `200 0`
* `BUF: 0`

### Program

`<instructions>`\
`<newline>`\
`<memory entries>`\
`<newline>`\

e.g.

```pasm
LOOP: INC IX
MOV IX
ADD #xA
CMP #xF
JPN LOOP
END

NONE: 

```
