hey I have a question on understanding a few things. Im trying to understand
the following structure of a instruction register.
Op code, Address-1, Address-2, are 6 bits, 18 bits, 18 bits respectively
What is the maximum number of distinct operation codes that can be recognized and executed by the processor on this machine?
would this be 64 which is base 2 to the 6th. or am i doing it wrong
What is the maximum memory size on this machine?
and would this be a 32bit machine?
im not sure so if anyone can tell me if im on the rt track
3 2083
hey I have a question on understanding a few things. Im trying to understand
the following structure of a instruction register.
Op code, Address-1, Address-2, are 6 bits, 18 bits, 18 bits respectively
What is the maximum number of distinct operation codes that can be recognized and executed by the processor on this machine?
would this be 64 which is base 2 to the 6th. or am i doing it wrong
What is the maximum memory size on this machine?
and would this be a 32bit machine?
im not sure so if anyone can tell me if im on the rt track
If the IR's OP code is 6 bytes then there are 64 different OP codes.
It should be 64bit machine,I think.
Savage
The address size is only 18 bits, so in theory you'll only need an 18 bit machine. Your available memory is 2 ** 18 "things". "Things" depends on how big your basic chunk of data is.
We typically deal with 8 bit bytes, but your basic chunk could be 6 bits or whatever.
would this be 64 which is base 2 to the 6th. or am i doing it wrong
You're correct.
kind regards,
Jos
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Milk |
last post by:
Hi all,
Can anyone help me to do this Question. Coz this is my first time study C++
language and my lecture want me to do this kind of program, i really don't
have any ideal, or can send me some...
|
by: Milk |
last post by:
Hi all,
did anyone know any good newsgroup about MIPS for me to asking Question??
Thnaks a lot
~ Let us linux ~
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----...
|
by: Tim Rentsch |
last post by:
I have a question about what ANSI C allows/requires in a particular
context related to 'volatile'. Consider the following:
volatile int x;
int
x_remainder_arg( int y ){
return x % y;
}
|
by: nickpreiser |
last post by:
Hi Everyone,
I trying to get a build of Python together to run on an Embedded Linux
/ Mips machine.
I run the ./configure --host= XXXmips(my mips proc) --build=XXX x86(my
pc). and the...
|
by: shell6 |
last post by:
Ok, so I want to generate MIPS ASM from C/C++ code. I tried using
binutils through cygwin but that just plain doesn't work. Microsoft
Visual C++ is refusing to do it... Does anybody have a free...
|
by: angel120 |
last post by:
I'm taking a MIPS class, and our first project is to prompt the user to input 8 numbers (using a for loop & an array), and output the minimum and maximum numbers of the array.
I wrote the program...
|
by: waxinwaxout |
last post by:
I'm compiling the same set of c++ sources to both x86 (32 & 64) and to
mips32. For x86 I'm using gcc 4.1.2 and for mips I'm using gcc 3.4.6.
What I don't understand is why the mips binaries are...
|
by: jty0734 |
last post by:
if you have mips cross compiler, please convert this c code to mips
code.
i'm try to install mips compiler 3 days, but some error fail to that.
so if you have something cross compiler c code...
|
by: Ark Khasin |
last post by:
I have a memory-mapped peripheral with a mapping like, say,
struct T {uint8_t read, write, status, forkicks;};
If I slap a volatile on an object of type struct T, does it guarantee
that all...
|
by: mia023 |
last post by:
if i have the following MIPS code:
sll $t1,$s3,2
add $t1,$t1,$s6
lw $t0,0($t1)
bne $t0,$s5,Exit
Loop:
addi $s3,$s3,1
add $t1,$t1,4
lw $t0,0($t1)
beq $t0,$s5,Loop
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |