Page 14 - Computer_Science_F5
P. 14

Activity 1.2:
                Simulation of Von Neumann architecture (Data allocation in memory)                 Chapter One: Computer architecture

               Aim:          Understanding of how data is allocated and managed in memory
                             within a Von Neumann architecture.
          FOR ONLINE READING ONLY
               Materials:    Computer, Johnny simulator software, Internet if you don’t have a
                             simulator
               Instructions:  Using Johnny simulator, create a program that adds the values of
                             locations 10 and 11 and stores the result in location 12 to simulate
                             memory allocation. Then answer the questions that follows.

               Step 1:  Open the simulator and click on one RAM location to launch the window
                        where the numerical value can be changed or a macro instruction can be
                        chosen from a pull-down menu as shown in Figure 1.3.
































                                  Figure 1.3: Simulation of data from input to RAM

               Table 1.2: Description of the standard (macro) instruction set used in the simulator
                Instruction set  Description

                TAKE             The value of the location (given by the absolute address)  is
                                 transported to the accumulator.
                SAVE             The value of the accumulator is transported to the location given by
                                 the absolute address.


                                                     5
               Student’s Book  Form Five



     Computer Science Form 5.indd   5                                                       23/07/2024   12:32
   9   10   11   12   13   14   15   16   17   18   19