assignment 7274991 2

Nursingpapertutors.com stands out as a reputable writing company that delivers high-quality papers specifically designed for nursing students. With its specialization in the nursing field, commitment to quality, customization, and originality, timely delivery, dedicated customer support, and emphasis on confidentiality, Nursingpapertutors.com provides invaluable academic support to nursing students. As a reliable partner in their educational journey, Nursingpapertutors.com helps nursing students excel academically and prepares them to become competent and knowledgeable healthcare professionals.

tone file needed for the assignment.

 

;Program TONE.ASM: Generate a 1 KHz tone on the PC speaker for 5 seconds.
;
        .MODEL SMALL
        .DATA
;Note: You will have to adjust these values to get the 5 seconds.
;The current values give just over 1 second on a 1.3 GHz machine.
OUTER   DW    4000            ;outer loop count
INNER   DW    50000           ;inner loop count

        .CODE
        .STARTUP
        CALL  SPKRON          ;turn speaker on
        MOV   CX,1190         ;divisor for 1 KHz tone
        CALL  LDTIMER         ;set speaker frequency
        CALL  DELAY           ;wait for chosen duration
        CALL  SPKROFF         ;turn speaker off
        .EXIT

SPKRON  PROC  NEAR
        IN    AL,61H          ;read current state of port 61h
        OR    AL,3            ;set speaker control bits
        OUT   61H,AL          ;output new state
        RET
SPKRON  ENDP

SPKROFF PROC  NEAR
        IN    AL,61H          ;read current state of port 61h
        AND   AL,0FCH         ;clear speaker control bits
        OUT   61H,AL          ;output new state
        RET
SPKROFF ENDP

DELAY   PROC  NEAR
        MOV   DX,OUTER
WAIT1:  MOV   CX,INNER
WAIT2:  NOP
        NOP
        NOP
        NOP
        LOOP  WAIT2
        DEC   DX              
        JNZ   WAIT1           
        RET
DELAY   ENDP

;Note: Output frequency equals 1,190,000 divided by CX

LDTIMER PROC  NEAR
        MOV   AL,0B6H         ;timer 2 control word
        OUT   43H,AL
        MOV   AL,CL           ;output lower byte of count
        OUT   42H,AL
        MOV   AL,CH           ;output upper byte of count
        OUT   42H,AL
        RET
LDTIMER ENDP

        END

Nursingpapertutors.com places a premium on meeting deadlines. The company understands the significance of timely paper submissions for nursing students. To uphold their commitment to punctuality, Nursingpapertutors.com employs a well-organized workflow and efficient team coordination. This ensures that students receive their papers promptly, affording them ample time for review and making any necessary adjustments. Providing exceptional customer support is central to Nursingpapertutors.com’s mission. The company recognizes that nursing students may have queries or require assistance at any time of the day. As such, Nursingpapertutors.com offers 24/7 customer support to promptly address any concerns, clarify instructions, and offer updates on the paper’s progress. Their responsive support team ensures a seamless and positive experience for every student.

 

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.