wat is the value binairy of this codepiece


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2007
    Posts
    3

    Post wat is the value binairy of this codepiece

    It is a part of a SPI code
    Code:
    SHIFTOUT MOSI,SCLK,0,[$3000\16]
    The part between the "[ and ]"...
    I know it is a 16 bit row, but what is its value?

    I don't know what "$" means.

    Thanks...
    Kodiak

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898

    Default

    $ for hex
    % for binary

    $3000 = 12288 decimal
    $3000 = 0011 0000 0000 0000 binary
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Nov 2007
    Posts
    3

    Default

    Ok That figures!
    Thanks

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts