Hello
I am trying to declare this an array like this
unsigned long *data[] = {0x61626364, 0x65800000, 0x00000000 }
because I need to pass this array to a function
but i get warnings...
Type: Posts; User: steffi
Hello
I am trying to declare this an array like this
unsigned long *data[] = {0x61626364, 0x65800000, 0x00000000 }
because I need to pass this array to a function
but i get warnings...
Thank you, thank you, and thank you very much!
Thanks! That solved the problem with the warning, now I have an application error when I run the program... "The instructions at 0x.. referenced memory at 0x.. The memory couldnt not be written"...
Hello!
Iam having some problem with my c program again. Hope you can help me.
I have been working with this for some hours now
I am trying to make a split function, split a string into an...
Hello again!
Is there such a thing as eval in C?
In my C-file I have this defined
#define doSomething (0x123456)
#define doSomethingElse (0x100efe2)
Thank you Salem, that was quite fast answer :-)
Hi!
I have a question. I need to read a file, line by line, but i cant find such function in C. Can anybody help me with this? My text file is kind of a config file, so I know how many lines the...
Hello again! :)
My first question is about memory management. There is a piece of software that it is going to be testeg agains the emulator that I am working, that software has to read and write...
Hello!
I am having some problems with an emulator that I have to write, does anybody knows any good reference book? I am trying to emulate some hardware. Tips?
Thank you very much for all your help, you were all so nice I wasn´t expecting such as quick and useful answers, I will be soon posting more questions. I am working with an emulator and unfortunatlly...
Thanks QuantumPete. Now I wonder if there is some kind of math-magic so that I can have an array of the size that is equal to the number of register that I need and that can easily be accessed?
That is exactly my dilema matsp... I have to access my register quite often... what is more efficent, having a big array with empty elements or running loops every time i need to access the data?
Hello Citizen.
I will like to do my mapping in order to do this, read(address) write(address, value) thats why I need those register. I dont know how to solve that problem, I don't know if it is...
Hi IceDane, thanks for you reply...
What I was planning to do was:
The register rx will have a place in the array rx/4
For instance, take register 0x08 its place in the array will be 0x08/4 =...
Hi!
I have to do an emulation of a hardware and have a description of which registers they use in the hardware.
But in my emulation I only need some of the registers with addresses like for...