Skip to content

Calculating fibonacci number in assembler called from C

Notifications You must be signed in to change notification settings

joba-1/Longan-Nano-Fibo-Asm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Longan Nano Assembler Example Fibonacci Calculator

Calculate n'th fibonacci number with assembler and print it to serial via C

Topics

It contains various examples that should be reusable in other code

  • Serial output with printf()
  • Linking in an assembler function
  • Power down
Nano USB2Serial Comment
3V3 Vcc not needed if powered via USB or other
Gnd Gnd
A9 (T0) Rx
A10 (R0) Tx not needed if flashing via USB/DFU or JTAG

Documentation

Tested with PlatformIO on a Longan Nano

Legal

  • Author Joachim Banzhaf
  • License Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)

About

Calculating fibonacci number in assembler called from C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published