BOARD

REVIEW

Write a Program for ascending order in 8085 microprocessor?

페이지 정보

작성자 Melinda 작성일23-11-13 06:29 조회24회 댓글0건

본문

Source program :


MVI D, COUNT : Initialize counter

-jH35wuyLSUMVI B, 00 : Initialize variable to store previous number

MVI C, 01 : Initialize variable to store current number

MOV A, roblox crash server script pastebin 2021 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

∙ 13y ago

This answer is:

댓글목록

등록된 댓글이 없습니다.