features
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| features [2020/02/24 23:37] – [Sequence Writing Shortcut] jtwine | features [2020/02/26 23:15] (current) – [Enhanced Semantic Checks and Warnings] jtwine | ||
|---|---|---|---|
| Line 31: | Line 31: | ||
| Also, address ranges are validated against the specified Pod as well. | Also, address ranges are validated against the specified Pod as well. | ||
| - | The 10LC compiler will also check for things like labels | + | The 10LC compiler will also check for things like Programs, Labels, Constants |
| + | |||
| + | < | ||
| + | ScriptFile.s(45, | ||
| + | ScriptFile.s(51, | ||
| + | ScriptFile.s(74, | ||
| + | ScriptFile.s(230, | ||
| + | ScriptFile.s(231, | ||
| + | ScriptFile.s(237, | ||
| You can check out the full list of [[Warnings]] and [[Errors]] that can be emitted by 10LC. | You can check out the full list of [[Warnings]] and [[Errors]] that can be emitted by 10LC. | ||
| Line 137: | Line 145: | ||
| Read From 0x3200 Into Control1Bits; | Read From 0x3200 Into Control1Bits; | ||
| Read From 0x3201 Into Control2Bits; | Read From 0x3201 Into Control2Bits; | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Sequence Reading Shortcut ==== | ||
| + | If you need to read a small block of contiguous memory into a set of registers, you normally have to create a block of '' | ||
| + | |||
| + | <code c> | ||
| + | ReadEx From 0x2000 Into RegA RegB Control2Bits Reg1; | ||
| + | </ | ||
| + | |||
| + | The above code will compile into the equivalent of the following discrete '' | ||
| + | |||
| + | <code c> | ||
| + | Read From 0x2000 Into RegA; | ||
| + | Read From 0x2001 Into RegB; | ||
| + | Read From 0x2002 Into Reg2; | ||
| + | Read From 0x2003 Into Reg1; | ||
| </ | </ | ||
| Line 183: | Line 208: | ||
| ==== Debugging Steps ==== | ==== Debugging Steps ==== | ||
| - | A "step over pause" can be simulated by inserting code in-between each compiled statement that calls a program which shows the source code line number and stops execution until you press < | + | A "step over pause" can be simulated by inserting code in-between each compiled statement that calls a program which shows the source code line number and stops execution until you press **< |
| <code c> | <code c> | ||
features.1582587463.txt.gz · Last modified: 2020/02/24 23:37 by jtwine
