Part 1 Tasks: In a written document, answer the following questions in relationship to the topics covered by this unit: What is the classical concept of a Von Neumann machine architecture? Describe...

1 answer below »


Part 1 Tasks:

In a written document, answer the following questions in relationship to the topics covered by this unit:



  • What is the classical concept of a Von Neumann machine architecture?

  • Describe the components of a CPU and what each one does.

  • Describe 3 special purpose registers found in the Von Neumann machine architecture.



Part 2 Tasks:

The Assembly code compilation may be challenging, but the program has to be saved and submitted through a Notepad++ document. You can download notepad++ if you do not have a current copy.Click here to download the Notepad++ software. After you download the Notepad++ editor, type in your code and save it. Then it can be copied and pasted and run in an online compiler.
Clickhereto compile and execute assembly code.
1.Compile and execute the existing Assembly code on the left side of the screen. The following is the code that should be displayed: (Complineonline, n.d.)
section .text ; This must be here to tell the compiler
; where Program’s instructions start
global _start ; Must be declared for using gcc
_start: ; Tell linker entry point
mov edx, len ; Message length
mov ecx, msg ; Message to write
mov ebx, 1 ; File descriptor (stdout)
mov eax, 4 ; System call number (sys_write)
int 0x80 ; Call the kernel
mov eax, 1 ; System call number (sys_exit)
int 0x80 ; Call the kernel
section .data ; This must be here to tell the compiler
; where Program’s data starts
msg db 'Hello, world!',0xa ; Our dear string
len equ $ - msg ; Length of our dear string
When you click on the compile and execute button, the following results in the right screen will display:
Compiling main.asm source code....
$nasm -f elf main.asm 2>&1
Linking the program....
$ld -m elf_i386 -s -o demo *.o 2>&1
Executing the program....
$demo
Hello, world!
2. Modify the code to display the following four lines:
Hello, world!
CE 242 is an awesome and fun class!
CTU is a great University!
I love the USA!



  • Capture screenshots of your source code compiling and executing

  • Include a line-by-line explanation of the code; i.e. what each instruction is doing and why

  • Name the document "yourname_CE242_IP1.doc."

  • Submit for grading

Answered Same DayOct 15, 2021

Answer To: Part 1 Tasks: In a written document, answer the following questions in relationship to the topics...

Shubhashree answered on Oct 16 2021
141 Votes
PART 1
Von Neumann Architecture
Von Neumann architecture is based on the stored-program computer concept, where instruction data and program data are stored
in the same memory.  This design is still used in most computers produced today.
Fig. 1: Von Neumann Architecture
Von Neumann architecture consists of:
1. Central Processing Unit(CPU)
2. Control unit
3. Arithmetic And Logic unit
4. Input/Output Devices
5. Buses
6. Registers
Central Processing Unit:
The Central Processing Unit (CPU) is the electronic circuit responsible for executing the instructions of a computer program.
The CPU consists of:
· Control unit
· Arithmetic and Logic Unit (ALU)
· Buses
· Registers
Functioning of each of above unit is as follows.
1. Control Unit
A control unit manages all processor control signals. It gives direction to all input and output flow, fetches code for instructions which controls the data flow within the system.
2. Arithmetic and Logic Unit
The arithmetic logic unit is that part of the CPU that handles all the arithmetic operations and other calculations, for example, addition, subtraction. CPU also looks for Logical Operations, Bit Shifting Operations, and Arithmetic Operation.
3. Input/Output Devices
The main function of inputs devices is that any program is read into main memory using the input devices. Output devices are used present output to the user. Input/Output devices can be any hardware device or a software.
4. Buses
Buses transmits data from one unit of computer to another by connecting all the components to CPU and memory....
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here