Hi Daniweb, I'm new to Assembly level programming and have been given an assignment in MIPS. Having started to plan the assignment, I have come to a rather open ended question that I want your opinion on: given that one has only so many registers to work with on Assembly level, how does one use these efficiently? For example, my assignment requires 4 registers to hold numbers, 4 more registers to hold addresses to arrays, and will probably need more later. And this is just my assignment, I'm sure many assembly programmers have faced a situation in which they have …

Member Avatar
Member Avatar
+0 forum 1

What is the advantage of having few registers for CPU 1. Smaller Instruction size 2. Smaller cpu cycles 3. Smaller memory cycles 4. Increase in multiprogramming 5. None of the above. Can someone please give the answer with an explaination?

Member Avatar
Member Avatar
+0 forum 4

Hi everyone. I am doing my homework for my computer organization class and I'm running into a small problem. Before I explain what I've done, what I expect to happen and what is happening, I want to assure everyone that I am not looking for an answer to my homework, but a solution to the problem I am having. First, I am to write a simple arithmetic code for: D = A^4 + B^6 / 3C - 2B The code I have written is as follow: [CODE] main: #start of main program and load initial values to temporary registers li …

Member Avatar
Member Avatar
+0 forum 4

Hello all, I am looking to implement a new feature on my website. I would like to get a log in form that would take the members to an update page where they can update their details showing on my website Here are the features I need: - Log IN/OUT Function - Update Page - Possibility to Upgrade their membership to unlock some of the advanced listing - Automated Lost Password/Reset Password button I have asked google but too many options and did not really compare any. What do you use? What do you think is the best? Where should …

Member Avatar
Member Avatar
+0 forum 1

i know what registers are, i know a lot of things about registers. but my problem is: a register is able to store data/instructions. like a 16 bit register can store 16 bit instruction/data BUT HOW MUCH DATA/INSTRUCTIONS CAN IT STORE AT THE SAME TIME? like an accumulator is used for arithmetic functions, and suppose a 16 bit operand can be stored in it, then can it store just 1 operand or more. Same about other registers. PLEASE HELP........

Member Avatar
Member Avatar
+0 forum 2

I want to use AxInterop.zkemkeeper.dll into c# project and I try to register AxInterop.zkemkeeper.dll but this error generates "dll was loaded but the dllregisterserver entry point was not found", how can i register this dll, please help me in urgent. Thanks in Advance

Member Avatar
Member Avatar
+0 forum 1

I'm coding a dll which i am injecting into a target process. This dll patches some code to intercept some function calls before they happen, and i need to read whats in the registers and possibly modify them before i return. The EDX register for instance, will hold an address pointing to the first char of a string. Here is my current code to read the string: [code] #include "stdafx.h" #include <Windows.h> #include <string> unsigned long _edx; char textarray[5]; //create array to store 5 chars of the string void Main() { _asm{mov [_edx], edx} //save the value of EDX into …

Member Avatar
+0 forum 0

The End.