Mixing Assembly and C programming

Spoken Tutorial & FOSSEE Team ; IIT Bombay


Outline: Combining Assembly and C programming; Explanation of the circuit connections; Live setup of the connection; Assembly routine program which initialises and sets pin 13 of Arduino as output; Call that Assembly routine in AVR-GCC program to blink the Dot LED of the Seven Segment display; Use the Makefile that is available in the code files link of this tutorial. Explanation of the Source code of the subroutine and main program; Save the file and generate the.hex file; Upload the code to the Arduino; Display the output on the Seven segment display. Pre-requisite: Interfacing LCD through AVR-GCC programming

Published by:

Spoken Tutorial IIT Bombay

DOER Persistent Identifier: http://doer.col.org/handle/123456789/8265