Convert Code Assembly Include Void Delayms Unsigned Int Delay Define Timestart 7 Main Func Q37175911

[Convert code below to assembly]

#include <msp430.h>void delay_ms(unsigned int delay);#define TIME_START 7/*** The main function.* Notice that we don’t need a return value.* The function is thus of void type.*/void main(void) { WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer P1DIR &= 0x00; // resetting the P1DIR registers P2DIR &= 0x00;

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.