Question: Using 8086 microprocessor generate a square wave by using internal DAC0808. Show the result on oscilloscopeTimehigh=5sec,Timelow=2sec. With assembly language. I dont know how i can
Using 8086 microprocessor generate a square wave by using internal DAC0808. Show the result on oscilloscopeTimehigh=5sec,Timelow=2sec. With assembly language.
I dont know how i can transform 5 and 2 seconds to hex for this cpu.
We made up to this:
CODE SEGMENT ASSUME CS:CODE,DS:CODE
ORG 0
START: MOV DX,3FD8H XOR AL,AL UP: MOV AL,0FFH OUT DX,AL MOV CX,0A0H LOOP $ DOWN: MOV AL,00H OUT DX,AL MOV CX,0A0H LOOP $
JMP UP
CODE ENDS END START
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
