Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asm

func Asm(asm string)

    Run the given assembly code. The code will be marked as having side effects, as it doesn't produce output and thus would normally be eliminated by the optimizer.

    func AsmFull

    func AsmFull(asm string, regs map[string]interface{})

      Run the given inline assembly. The code will be marked as having side effects, as it would otherwise be optimized away. The inline assembly string recognizes template values in the form {name}, like so:

      avr.AsmFull(
          "str {value}, {result}",
          map[string]interface{}{
              "value":  1
              "result": &dest,
          })
      

      Types

      This section is empty.

      Source Files