This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:multiasm:papc:chapter_6_12 [2025/11/16 13:45] – [Constants] ktokarz | en:multiasm:papc:chapter_6_12 [2025/11/17 08:33] (current) – [Constants] ktokarz | ||
|---|---|---|---|
| Line 209: | Line 209: | ||
| real_const2 EQU 6.28e2 | real_const2 EQU 6.28e2 | ||
| </ | </ | ||
| - | Text string constants can be defined with **EQU** or **TEXTEQU** directives. Text constants assigned with the **EQU** directive can be redefined later in the program. The **TEXEQU** is considered a text macro and is described in the section about macros. | + | Text string constants can be defined with **EQU** or **TEXTEQU** directives. Text constants assigned with the **EQU** or **TEXTEQU** directive can be redefined later in the program. The **TEXEQU** is considered a text macro and is described in the section about macros. |
| <code asm> | <code asm> | ||
| text_const1 EQU 'Hello World!' | text_const1 EQU 'Hello World!' | ||