day7 - 55 Subtraction Compute V U, if V U; &,...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
10/4/11 Dec 2, © UCF (Charles E. 11 Useful Macros # 1 GOTO A IF Z = 0 GOTO A IF V = 0 GOTO A IF V = 0 GOTO E GOTO A [E]
Background image of page 1

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

View Full DocumentRight Arrow Icon
10/4/11 Dec 2, © UCF (Charles E. 22 Useful Macros # 2 V ” [A] IF V = 0 GOTO E V ” V-1 GOTO A [E] V ” k V ” V+1
Background image of page 2
10/4/11 Dec 2, © UCF (Charles E. 33 Useful Macros # 3 [A] IF U = 0 GOTO B GOTO A [C] IF Z = 0 GOTO E GOTO C
Background image of page 3

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

View Full DocumentRight Arrow Icon
10/4/11 Dec 2, © UCF (Charles E. 44 Addition by S Program Compute V + U (args are X1, X2) Z1 1 X1 Z2 1 X2 [A] IF Z2 = 0 GOTO B Z1 1 Z1+1 Z2 1 Z2-1 GOTO A [B] Y 1 Z1 Z1 1 0
Background image of page 4
10/4/11 Dec 2, © UCF (Charles E.
Background image of page 5

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

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 55 Subtraction Compute V U, if V U; &, otherwise (args are X1, X2) Z1 1 X1 Z2 1 X2 [A]IF Z2 = 0 GOTO B IF Z1 = 0 GOTO A Z1 1 Z1-1 Z2 1 Z2-1 GOTO A 10/4/11 Dec 2, UCF (Charles E. 66 Limited Subtraction Compute V U, if V U; 0, otherwise (args are X1, X2) Z1 & X1 Z2 & X2 [A]IF Z1 = 0 GOTO B IF Z2 = 0 GOTO C Z1 Z1-1 Z2 Z2-1 GOTO A [B]Z2 & 0 10/4/11 Dec 2, UCF (Charles E. 77 Alternative Version Compute V U, if V U; 0, otherwise (args are X1, X2) Z1 & X1 Z2 & X2 [A]IF Z2 = 0 GOTO C Z1 Z1-1 Z2 Z2-1 GOTO A [C]Y Z1...
View Full Document

Page1 / 7

day7 - 55 Subtraction Compute V U, if V U; &,...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online