Presentations & Public Speaking

1728102.pdf

Description
1728102.pdf
Published
of 2
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Related Documents
Share
Transcript
  Address Labels Mnemonics Comments F000H DELAY MVI A,FFH Move FFH into AF002H LOOP2 MVI B,FFH Move FFH into BF004H LOOP1 DCR B Decrement BF005H NOP No OperationF006H NOP No OperationF007H NOP No OperationF008H NOP No OperationF009H NOP No OperationF00AH NOP No OperationF00BH NOP No OperationF00CH NOP No OperationF00DH JNZ LOOP1 If Z = 0, jump to LOOP1F010H DCR A Decrement aF011H JNZ LOOP2 If Z = 0, jump to LOOP2F014H RET Return NOP occupies 1-Byte of memory space and spends 4-Machine Cycles. Let us assume that the working frequency of the chip is 3 MHz.Time period of eachcycle is = 1/3 uSecTotal T-states=256*(7+( 256*(4+10+4+4+4+4+4+4+4+4)-3)+4+10)-3+10=3019271Total delay=3019271*(1/3)*10^-6=1 Sec Address Labels Mnemonics Comments F100H BEG LXI H,0000H Clear HL with 0000HF103H HM SHLD F707HStore HL content at F707H and FF106H XRA AClear A registerF107H SEC STA F709HStore Acc content at F709HF10AH CALL DELAYDelay for 1 secondF10DH LDA F709HLoad the second valueF110H ADI 01HAdd 01 with AccF112H DAAAdjust decimalF113H CPI 60HCompare with 60HF115H JNZ SECIf Z = 0, jump to SECF118H LHLD F107HLoad HL from F707H Q ) WRITE A PROGRAM IN 8085 TO DESIGN A DIGITAL CLOCK THAT CAN DISPLAY UP TO 10 MINUTES WITH AN ACCURACY OF 1 SEC.  F11BH MOV,ALLoad L to AF11CH ADI 01HAdd 01 with AF11EH DAADecimal adjustF11FH MOV L,ALoad L from AF120H CPI 10HCompare A with 10HF122H JNZ HMIf Z = 0, jump to HMF125H JMP BEGJump to Begin We are storing the hour field into F708H and minute field is stored at F707H. The second value isstored at location F709H. Arun Kumar   17281 02 CSSE-2MPMC   Assignment
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks
SAVE OUR EARTH

We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

More details...

Sign Now!

We are very appreciated for your Prompt Action!

x