Docsity

Assembly Language Programs and Outputs, Assignments of Computer Science

Toggle sidebar
bg1
1. Simple Computer
Program 1
61: 24 62: 18 63: 6 ACC: 24
Prints
6
18
24
Program 2
62: 33 63: 8 ACC: 8
Prints
33
41
8
Program 3
61: 6 62: 8 63: 16 ACC: 16
Prints
16
Program 4
Trial 1 -> Prints Nothing (Negative accumulator)
Trial 2 -> Prints Nothing (Zero accumulator)
Trial 3 -> Prints 120 (Positive accumulator)

Partial preview of the text

Download Assembly Language Programs and Outputs and more Assignments Computer Science in PDF only on Docsity!

  1. Simple Computer Program 1 61: 24 62: 18 63: 6 ACC: 24 Prints 6 18 24 Program 2 62: 33 63: 8 ACC: 8 Prints 33 41 8 Program 3 61: 6 62: 8 63: 16 ACC: 16 Prints 16 Program 4 Trial 1 -> Prints Nothing (Negative accumulator) Trial 2 -> Prints Nothing (Zero accumulator) Trial 3 -> Prints 120 (Positive accumulator)