Köszi!
Én is így értelmeztem:
BASCOM allows you to mix BASIC with assembly.
This can be very useful in some situations when you need full control of the generated code.
Almost all assembly mnemonics are recognized by the compiler. The exceptions are : SUB, SWAP, CALL and OUT. These are BASIC reserved words and have priority over the ASM mnemonics. To use these mnemonics precede them with the ! - sign.
A !-jel nélküli változat Bascomos: „Call CF_Setup” -> Declare Sub CF_Setup() …. End Sub
Deklarállt szubrutin meghívására alkalmas.
Viszont a !-jeles változat: „!Call _CF_Setup” -> _CF_Setup: …. Ret
Simán Címkével címzett Asm rutinok hívását teszi lehetővé. Amiből sima „Ret” utasítással kell vissza térni!
A Bascomos: OUT address, value formátumú utasítást jelent.
Az Assembleres: !OUT PORTx , REGISZTER formátumú utasítást jelent.
Na ma is tanultam valamit!
