You are on page 1of 1

FLOWCHART

STAR
T

GET FIRST DATA IN


A REG

MOVE A REG
CONTENTS TO B REG

GET SECOND DATA


IN A REG

CLEAR C REG

ADD THE CONTENTS


OF B REG WITH A

IF YES
CY=
1
INCREMENT C
REG
NO

STORE THE SUM IN


MEMORY

MOVE C REG
CONTENTS TO A

STOP