Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
asm [2019/05/07 07:43] – neils | asm [2019/06/30 21:10] (current) – neils | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== ASM ====== | ====== ASM ====== | ||
+ | |||
+ | //Since version 2.0// | ||
Syntax: | Syntax: | ||
Line 18: | Line 20: | ||
rem -- that's all | rem -- that's all | ||
| | ||
- | Note: the compiler can't validate the inline assembly code. It will be barely copied into the compiled code. DASM will report any errors. You have to take special care with the '' | + | **Note**: the compiler can't validate the inline assembly code. It will be barely copied into the compiled code. DASM will report any errors. You have to take special care with the '' |
A common mistake when writing DASM code is to forget that a line must start with a label or at least one space. Note in the example above that assembly lines are prepended with spaces. | A common mistake when writing DASM code is to forget that a line must start with a label or at least one space. Note in the example above that assembly lines are prepended with spaces. | ||