Implement an Assembly Language Application on ATtiny104

This application note is intended to implement an assembly language application on ATtiny104. The steps are:

  1. Create a new Atmel Studio or IAR project.
  2. The compiler will provide the start-up code.
  3. Implement the main function as:
    int main(void)
    {
    	while (1) {
    	}
    }
  4. Implement other assembly functions in .s files.
  5. Call the assembly functions in the main function.
  6. Inline Assembly Language can also be used.