No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
9 Posted Topics
Given the following C code: `B[8] = A[i - j]` Assuming B = $s7, A = $s6, i = $s3 and j = $s4 What would the assembly code be? sub $s3, $s3, $s4 # i - j sll $s3, $s3, 2 # multiply the offset by 4 add $s3, … | |
Give then following Class declaration: class Employee { public string Name { get; set; } public int Age { get; set; } public override bool Equals(object obj) { Console.WriteLine("In Equals(Object)"); if (obj is Employee) if (this.Name == (obj as Employee).Name && this.Age == (obj as Employee).Age) return true; else return … | |
"The method overriding is an example of runtime polymorphism. You can have a method in subclass overrides the method in its super classes with the same name and signature. Java virtual machine determines the proper method to call at the runtime, not at the compile time." Why not at compile … | |
Re: Sorry, this is not a answer, and I'm a newbie: What kind of assembly is this, that has IF and ELSEIF? | |
I've writen the following MIPS assembly code to test for arithmetic overflow .text add $s0, $zero, 0x80000000 add $s1, $zero, 0xD0000000 add $t0, $s0, $s1 MARS is translates the code above into this: lui $1, 0xffff8000 ori $1, $1, 0x00000000 add $16, $0, $1 lui $1, 0xffffd000 ori $1, $1, … | |
This is exercice 1.8.6 from Computer Organization and Design The Hardware Software Interface Suppose that the industry trends show that a new process generation varies as follow: Capacitance Voltage Clock Rate Area a. 1 1/2^1/2 1.15 1/2^1/2 b. 1 1/2^1/4 1.2 1/2^1/4 Assuming a Core 2 processor with a clock … | |
"Dynamic Power" = "Capacitive Load" times "Voltage²" times "Frequency Switched" Would anyone be so kind as to tell me if Frequency Switched is the same as Clock Rate? | |
I've written (more like copied) the following assembly code : section .text global main main: mov edx,len mov ecx,msg mov ebx,1 mov eax,4 int 0x80 mov eax,1 int 0x80 section .data msg db 'Hello, world!', 0xa len equ $ - msg I've compiled it with NASM using the following command: … | |
Re: 64bit processors also have more SSE registers that 32bit one don't have. |
The End.