cpu-architecture
Is there a reason why arrays in memory 'go' down while the function stack usually 'goes' up?
Though the actual implementation is platform specific, this idea is the cause for potentially dangerous buffer overflows. For example,[详细]
2023-03-31 18:08 分类:问答Does $ra returns the address of current instruction or the next instruction?
I am very confused in the concept of returning address by $ra. Does it return the address of the current instruction being executed or the instruction to be executed next? For explanation please use t[详细]
2023-03-29 08:51 分类:问答Lightweight method to use Amd64 instructions under 32-bit Windows?
For some CPU-bound code using 64-bit variables, it is beneficial to use the Amd64 instruction set rather than x86. How can it be done under 32-bit Windows (e.g. Windows XP SP3)? Of course I assume a m[详细]
2023-03-29 06:25 分类:问答cpu vs gpu - when cpu is better [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-03-28 21:32 分类:问答Off-chip memcpy?
I was profiling a program today at work that does a lot of buffered network activity, and this program spent most of its time in memcpy, just moving data back and forth between library-managed network[详细]
2023-03-28 08:11 分类:问答Problem in translating from MIPS to C
I was trying to solve this homework assignment but was unable to come up with a solution. Below is the problem,[详细]
2023-03-27 06:14 分类:问答Calculating address of labels
I am stuck with solving my assignment. Here is what it states, Consider the following fragment of MIPS assembly-language cod开发者_开发问答e:[详细]
2023-03-26 23:35 分类:问答Evaluating the operation of Assembly code
This is my homework assign开发者_StackOverflow中文版ment. Describe as concisely as possible what the following MIPS code[详细]
2023-03-26 20:46 分类:问答What does func means in R-Format instruction set?
I am very new to Assembly language. I was reading about MIPS architecture and I am stuck with th开发者_如何学编程e last field of the Register Format (R-Format). Here is its visual representation,[详细]
2023-03-26 03:37 分类:问答Why doesn't there exists a subi opcode for MIPS?
I am very new to Assembly language. I was reading about MIPS architecture and came to know that开发者_Python百科 you have addi opcode but there is no subi opcode. Why don\'t we have a subi opcode?When[详细]
2023-03-24 23:57 分类:问答