Question: ORG 0 0 0 0 H CNT 1 EQU 0 x 5 0 CLRF TRISD, 1 4 ; Set to output MOVLW 0 b 1
ORG H CNT EQU x CLRF TRISD, ; Set to output MOVLW b MOVWF PORTD LOOP: MOVLW ; in Octal format MOVWF CNT ; Put this binary no into CNT LOOP: RLNCF PORTD, ; Rotate Left DECF CNT ; Decrement CNT END: i BNZ LOOP ; Jump to LOOP if not zero BRA LOOP ; Jump to LOOP ; End of program Program Identify the output port of the microcontroller interfacing with the DAC Marks ii iii. iv Find the location for CNT Describe the function of BRA LOOP command? Calculate the reference current, IREF. Hint VIR
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
