[40 / 2 / ?]
Quoted By: >>17277170
Ok /g/ here's the deal. I have to make a program that simulates a Von Neumann architecture. Basically, an interpreter. The input is a file written in binary that defines the program to be executed (yes, the source code will be binary), and that program will run on a small area of ram that simulates all the system memory. The syntax of the language is VERY similar to x86 assembler, with MOV, ADD, SUB, MUL etc, only in binary. I know this kind of assignment is common in college, but I read that it takes months, often an entire semester. I'm in high school and i have three weeks, but I have a group of like 6-7 people plus me working on it (work is not yet started). I'm not asking for the answer or something, just some insights on how to implement something or other useful advice. Also, we didn't yet study 'classes' but I'll try to implement them anyways... They don't seem that bad to do alone. Anyway, some of my doubts as of now are: how do I know if the program is using memory outside the assigned addresses? I explain myself (not an english speaker, I'm sorry): what I mean is this. Out of my system memory of 1GB, I will assign say 1MB to the simulated machine, and that would be the entire system memory for the simulated machine.