Virginia Tech ■ ECE 4500 ■ Spring 2009 Homework 1 Due at 11:59 p.m. (EST) on February 1 Name: _______ Solutions ____________________________ ID Number: ______________________ Instructions: Enter your answers into a single Word or PDF document. Show your work to a reasonable extent, and clearly indicate your answers . Instructions for submitting your work will be provided at Blackboard. Problem 1. Null and Lobur, chapter 1, exercise 10. a) Under the von Neumann architecture, a program and its data are both stored in memory. Is it therefore possible for program, thinking a memory location holds a piece of data when it actually holds a program instruction, to accidentally (or on purpose) modify itself? ANSWER: Yes, this is possible. If the instructions are placed in a standard read/write memory, then the CPU can overwrite any instruction with a new instruction. In effect, the program can modify itself. b) What implications does this present to you as a programmer.
This is the end of the preview.
access the rest of the document.
Gordon Moore, John von Neumann, Von Neumann architecture, Neumann Architecture