mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 04:30:10 +00:00
Update Contributing.md
This commit is contained in:
parent
6ea1f8ee85
commit
451acb3423
@ -68,6 +68,7 @@ color := $0787
|
||||
## Assembly Sources
|
||||
|
||||
* Op-code mnemonics must have lower-case letters. The names of instruction macroes may have upper-case letters.
|
||||
* Op-codes must use their official and commonly used mnemonics, ie bcc and bcs and not bgt and blt
|
||||
* Hexadecimal number constants should be used except where decimal or binary numbers make much more sense in that constant's context.
|
||||
* Hexadecimal letters should be upper-case.
|
||||
* When you set two registers or two memory locations to an immediate 16-bit zero, you should use the expressions ```#<$0000``` and ```#>$0000``` (they make it obvious where you are putting the lower and upper bytes).
|
||||
|
Loading…
Reference in New Issue
Block a user