Skip to content

Commit

Permalink
improved efficiency of macros
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkamprath committed Jul 15, 2023
1 parent 1416250 commit be8133c
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions examples/slu4-minimal-64/slu4-minimal-64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1461,28 +1461,20 @@ macros:
list:
- absolute_address
instructions:
- "lda @ARG(0)+0"
- "inc"
- "sta @ARG(0)+0"
- "lda @ARG(0)+1"
- "aci 0"
- "sta @ARG(0)+1"
- "inb @ARG(0)+0"
- "ldi 0"
- "acb @ARG(0)+1"
inc32a:
- operands:
count: 1
operand_sets:
list:
- absolute_address
instructions:
- "lda @ARG(0)+0"
- "inc"
- "sta @ARG(0)+0"
- "lda @ARG(0)+1"
- "aci 0"
- "sta @ARG(0)+1"
- "lda @ARG(0)+2"
- "aci 0"
- "sta @ARG(0)+2"
- "lda @ARG(0)+3"
- "aci 0"
- "sta @ARG(0)+3"
- "inb @ARG(0)+0"
- "ldi 0"
- "acb @ARG(0)+1"
- "ldi 0"
- "acb @ARG(0)+2"
- "ldi 0"
- "acb @ARG(0)+3"

0 comments on commit be8133c

Please sign in to comment.