Search:

Type: Posts; User: Golden

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    967

    Pointer to memory

    I have an area of ram that holds data i.e. from 0x80000000 to 0x90000000. I am trying to point to the address 0x80000000 and access the data stored there and the subsequent addresses. A register...
  2. Replies
    2
    Views
    689

    Passing Pointer to functions

    If I have a function that has a pointer of type structure as a function argument i.e.

    funct1(struct &a);

    Then within funct1 I want to pass this address to another function
    I'm I correct in...
  3. Replies
    8
    Views
    1,271

    Pointer to Structure

    If I have the following struct:

    struct tagPalette
    {
    unsigned int entry[256];
    };

    tagPalette Palette1;
    tagPalette *pPalette1; //Pointer to structure
  4. Replies
    3
    Views
    1,009

    structure pointer

    I have the following structure RGB:

    struct RGB{__int8 B, G, R;} *pLcd;

    Using a pointer (*pPanel) I call the function GetBitmapBits().

    pLcd = (RGB *)(*pPanel)->GetBitmapBits();

    What does...
  5. Thread: Pointers

    by Golden
    Replies
    4
    Views
    1,110

    Pointers

    I have the following code:

    Function1()
    {

    PUINT16 a;

    a = (PUINT16)info->b;

    Function1(a);
  6. Thread: Structure

    by Golden
    Replies
    3
    Views
    1,066

    Structure

    Can anyone please explain what var1 is in the following?

    A sructure i.e. struct ABC
    {
    int x;
    int y;
    ...
  7. Thread: Structures

    by Golden
    Replies
    1
    Views
    819

    Structures

    How do I go about using a structure as a function parameter?
  8. Thread: Registers

    by Golden
    Replies
    2
    Views
    2,217

    Registers

    I have a 16 bit register (0-15). I want to store a 10 bit number in bits 5-14 as bits 0-4 are reserved. When I use the left shift operator the number multiplies by 32, therefore when I read the...
Results 1 to 8 of 8