Thank you I think I kind of get it.
I am trying to plot the theoretical amplitude response, but I am getting an error on Matlab. I've been staring at the screen and working on this for the past one...
Type: Posts; User: kiwi101
Thank you I think I kind of get it.
I am trying to plot the theoretical amplitude response, but I am getting an error on Matlab. I've been staring at the screen and working on this for the past one...
Since matlab and C have somewhat similarities I was wondering if you guys could help me. We have this problem in our class and I am having difficulty fully understanding the code:
...
I know that register indirect addressing means that the value that needs to be loaded or stored, its address is found in the register rt.
But how can I determine how many addresses this machine...
Hey guys,
I've been trying to work my head around this problem for ages but I just don't understand what to do.
Given this code:
ADD rd, rs, rt · NAND rd, rs, rt
· ...
I actually have no idea what a console window is
So I'm assuming no its not open.
Should I download a console window to run it on
Even if i change the printf r31 in the end to printf r5
some other error appears
I'm so close this is sooo frustrating!!!
AHH I'm such a dummy
But now this is what is printing
TRAP #0 received
I don't know why it can not recognize LCO
No I can't see anything with the above code I posted there is an error:
pr.s(45): unrecognizable operand specifier: lhi r3, => (LCO>>16)&0xffff pr.s(46): unrecognizable operand...
Is there a reason that 4 isn't printing
r5 is incremented 4 times and when we
sw 4(r14), r5
and call printf after it should print
Modified code thanks to you!
.global _open .global _close
.global _read
.global _write
.global _printf
.global _a...
So I have been staring at this code for the last half and hour and I can say I completely understand it. I changed the format of sw function because it is written in a different way. However the...
Wow that makes so much more sense then what I had written.
1. _l2 function:
add r31, r5,r0 ;value in r31 is now r5
Essentially that is what is being printed
But then 0 gets printed...
I get an error saying that BNEZ us unkown opcode and it's not branching to _l2 WHYYY???
So this is what I thought of:
Save Registers sw 0(r14),r3
sw 4(r14),r4
sw 8(r14),r5
...
Bear with me please. I am a noob in general and especially when it comes to assembly level
this is what I have done:
Save Registers ...
Thanks guys so it seems like everyone is really confused about what is supposed to happen.
Basically this code is given and I have to modify it to be able to calculate the ceiling log. So for...
Well I'm using it on Putty and it's DLX
I added what you said but there is no change whatsoever the answer is still 47
Even though I have stored the value of 47 I want it to print out 5.
Thats...
typo!!! *NOT BLA but actually 5 shifts
Hi guys!
I'm trying to understand Assembly language after moving on from C programming. This forum has helped me ALOT thats why I couldnt help but post here. So I have this code for adding 1 to the...
thank you so much. Okay so I changed some of my code to suit the question.
Question:
Generate a time vector (tt) to cover a range of t that will exhibit approximately two cycles of the
4000 Hz...
If you guys don't do matlab please direct me to a website as helpful as this that does.
I know I have to use f=4000 Hz and change 20/T to 25/T
Hey All I have always seeked great advice on this website when I would porgram in C. Unfortunately for one of my classes we have started matlab programming.
Hi All,
For our first college asignment...
THANKYOU!
finally finished this project!!!!