B.6. Using LC3 Editor

This section covers the basics of using the LC3Tutor LC3Editor.

LC3 Syntax

The rules are listed below. These rules may be different than other assemblers. The goal is to be more restrictive than other assemblers.

Rules
Accepted number formats: # or no prefix for decimal, 0x or x for hexadecimal, or b for binary.
Labels must start with a letter and can be any combination of letters, numbers, and underscores.
Strings must be enclosed in double quotes (").
Your code must start with a comment or .ORIG directive and end with a comment or .END directive.


© 2024-2025 LC3Tutor

Privacy

results matching ""

    No results matching ""