Skip to content

Commit

Permalink
Default modifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
gareththegeek committed Jul 4, 2018
1 parent d1ae871 commit a814f0c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions docs/redcode/parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,14 @@ Which modifier is inserted as a default is dependant upon the instruction's [opc

|Opcode|A-mode|B-mode|Default Modifier|
|---|---|---|---|
|`dat`|||`.f`|
|`mov`|#||`.ab`|
|`dat`|any|any|`.f`|
|`mov``cmp`|#|any|`.ab`|
||$@<>{}|#|`.b`|
||$@<>{}|$@<>{}|`.i`|
|`add``sub``mul``div``mod`|#|any|`.ab`|
||$@<>{}|#|`.b`|
||$@<>{}|$@<>{}|`.f`|
|`slt`|#|any|`.ab`|
||$@<>{}|any|`.b`|
|`jmp``jmz``jmn``djn``spl``nop`|any|any|`.b`|

0 comments on commit a814f0c

Please sign in to comment.