Search:

Type: Posts; User: dan789

Search: Search took 0.01 seconds.

  1. Thread: ASM function

    by dan789
    Replies
    3
    Views
    805

    ASM function

    Hello,

    my task is to create following function:


    unsigned char nthbyte_x(unsigned char n, unsigned long x) {
    __asm {
    ...
    }
    }
  2. Replies
    1
    Views
    1,057

    Array of integers to string

    Hello again,

    I have an array of numbers:
    array = [5,6,3]

    I want to make a string from this array in reversed order (I know how to reverse that, but I need to know how to make a string). That...
  3. Thread: Int to String

    by dan789
    Replies
    2
    Views
    551

    Thanks, done.

    Thanks, done.
  4. Thread: Int to String

    by dan789
    Replies
    2
    Views
    551

    Int to String

    Hello, I have a function:


    long functionName(int i) {
    ...
    }

    I need to use argument 'i' as a string inside a function. Can you help me with any method for converting int to string in this...
  5. Thread: Bytes

    by dan789
    Replies
    7
    Views
    926

    That is simple, both b1 and b2 are 8 bits...

    That is simple, both b1 and b2 are 8 bits numbers..
  6. Thread: Bytes

    by dan789
    Replies
    7
    Views
    926

    Well, I tried to make it like this: int byte =...

    Well, I tried to make it like this:

    int byte = (b1 << 8) | (b2 << 8);
    return byte;

    .. but it seems like the final number (byte) is wrong.
  7. Thread: Bytes

    by dan789
    Replies
    7
    Views
    926

    Bytes

    Hello, can anyone give me any hint? I want to create a function which creates a number (16 bits) from 2 bytes - b1 and b2 (b1 means first 8 bits, b2 means last 8 bits. All I have so far is converting...
Results 1 to 7 of 7