~ruther/avr-device

ref: 8be91f55956952f89e4ceb71847fafa51ed6f835 avr-device/src/asm.rs -rw-r--r-- 735 bytes
bfccae0a — Michael Buesch 2 years ago
Remove all llvm_asm macros
91d0ad81 — Patryk Wychowaniec 3 years ago
Add support for `asm!()`
12879fde — Rahix 4 years ago
Only emit inline-assembly when building for AVR

Make sure that we'll never emit AVR assembly on non-AVR targets.
Instead of failing the build, fail at runtime, to allow a potential
application testsuite to run even if those functions somehow get linked
in.

Signed-off-by: Rahix <rahix@rahix.de>
0e433616 — Rahix 4 years ago
Add asm module for assembly instructions

Add a new module containing wrapper functions for various assembly
instructions.  These functions are marked inline(always) to ensure they
will always just generate the single instruction as expected.

Signed-off-by: Rahix <rahix@rahix.de>
Do not follow this link