Changes

Jump to: navigation, search

Assembler Basics

24 bytes added, 12:00, 12 September 2022
6502 Assembly Language in the Emulator
* Simple text-substitution macros can be defined with <code>define ''name'' ''value''</code> like this:
define SCREEN $f000
* The DCB (Declare Constant Byte) directive can be used to create a group of bytes in memory. Byte values are comma-separated and may be double-quoted single printable characters (except space, double quote, or comma), decimal values, or hexadecimal values prefixed with $, like this:
dcb 12,34,56
dcb $33,$66,$CC,$FF

Navigation menu