while playing with my TinyTx sample programs, I noticed, that the IntOn / IntOff command does not produce any asm code. This is similar for PIC and AVR.
Compiler Version: 0.96.00 2016-12-14
Frank
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
INTOFF and INTON will not produce any ASM code unless Interrupts were previously
enabled using "On Interrupt" as there is nothing to do as far as the compiler is concerned.
Another option that will produce ASM is to manually set the related bits.
If you want to see which registers/bits are changed in order to help write ASM code, then temporarily use ON Interrupt in GCB Source BASIC then look at the ASM produced by the Compiler, This saves having to look it up in the respective datasheets.
William
Last edit: William Roth 2017-01-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
while playing with my TinyTx sample programs, I noticed, that the IntOn / IntOff command does not produce any asm code. This is similar for PIC and AVR.
Compiler Version: 0.96.00 2016-12-14
Frank
Hi Frank,
INTOFF and INTON will not produce any ASM code unless Interrupts were previously
enabled using "On Interrupt" as there is nothing to do as far as the compiler is concerned.
Another option that will produce ASM is to manually set the related bits.
If you want to see which registers/bits are changed in order to help write ASM code, then temporarily use ON Interrupt in GCB Source BASIC then look at the ASM produced by the Compiler, This saves having to look it up in the respective datasheets.
William
Last edit: William Roth 2017-01-05