Contact

Write a Program for ascending order in 8085 microprocessor?

페이지 정보

작성자 Edith 작성일24-02-15 11:53 조회607회 댓글0건

본문

Source program :


MVI D, COUNT : Initialize counter

MVI B, 00 : Initialize variable to store previous number

MVI C, Bloxburg Infinite Money Script Pastebin 2019 01 : Initialize variable to store current number

MOV A, B :[Add two numbers]

BACK: ADD C :[Add two numbers]

MOV B, C : Current number is now previous number

MOV C, A : Save result as a new current number

DCR D : Decrement count

JNZ BACK : if count 0 go to BACK

HLT : Stop.



Wiki User

yellow-ball-pool-with-happy-woman.jpg?wi∙ 13y ago

This answer is:

댓글목록

등록된 댓글이 없습니다.