{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Report

# Report - Abstract The Conditional Codes and Branching lab...

This preview shows pages 1–2. Sign up to view the full content.

Abstract The Conditional Codes and Branching lab was instituted to teach the ideas of branching, and how to read and check the flags. This was to be done by referring to the overflow flag while doing binary operations specified by the lab. These operations were suppose to set the flags and allow the user to determine if an overflow occurred as well as have the program do it’s computations based on the way the flags are set. Procedure The first step was create variables to hold the numbers entered into the program. These variables would be later used in the formulas stated by the program to do the mathematical computations. The next step was to use the move operation to move the variables in to registers, and perform the given mathematical operations. (Note: if the mathematical operation is multiplication it is to be shifted.) After each mathematical step you need to check for overflow. If there is an overflow the number should be set to zero. Once all the individual variables are computed (i.e. – A, B, and C) then add them together

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 2

Report - Abstract The Conditional Codes and Branching lab...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online