mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-29 14:27:50 +00:00
Make some error messages more consistent (#1393)
* Update some error messages * Make non-A destination operand syntactically invalid
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
error: invalid-instructions.asm(1):
|
||||
Address $10000 is not 16-bit
|
||||
error: invalid-instructions.asm(2):
|
||||
LD [HL],[HL] not a valid instruction
|
||||
LD [HL], [HL] is not a valid instruction
|
||||
error: invalid-instructions.asm(3):
|
||||
Expected constant expression equal to $FF00 for "$ff00+c"
|
||||
Base value must be equal to $FF00 for $FF00+C
|
||||
error: invalid-instructions.asm(4):
|
||||
Destination operand must be A
|
||||
syntax error, unexpected c, expecting hl
|
||||
error: invalid-instructions.asm(5):
|
||||
Destination operand must be A
|
||||
syntax error, unexpected bc, expecting hl
|
||||
error: invalid-instructions.asm(6):
|
||||
Destination operand must be A
|
||||
syntax error, unexpected number, expecting hl
|
||||
error: invalid-instructions.asm(7):
|
||||
Immediate value must be 3-bit
|
||||
Bit number must be between 0 and 7, not 8
|
||||
error: invalid-instructions.asm(8):
|
||||
Invalid address $40 for RST
|
||||
error: Assembly aborted (8 errors)!
|
||||
|
||||
Reference in New Issue
Block a user