Skip to content
Vipul_Lakum edited this page Feb 11, 2024 · 1 revision

Constraint: The numbers should be such that the result is limited to 8 bits

INPUT: (2000H) 10h , (2010H) 15h

OUTPUT: (2020H) 25h


LDA 2000H ;

MOV B,A

LDA 2010H

ADD B

STA 2020H

HLT

Clone this wiki locally