【2014-11-21】《The Hardware/Software Interface》– Section 2

  1. image
  2. image
  3. image
  4. printf("Signed Max:%d\n", 0x7FFFFFFF);
    printf("Signed Min:%d\n", 0x80000000);
    printf("Unsigned Max:%u\n", 0xFFFFFFFF);
    printf("Unsigned Min:%u\n", 0x00000000);

  5. image
    1. By default are considered to be signed integers.
    2. Use “U” suffix to force unsigned.
    3. if mix unsigned and signed in a single expression, then signed values implicitly cast to unsigned.
    4. image
    5. image

    posted on 2014-11-22 01:25  sjtujoe  阅读(176)  评论(0编辑  收藏  举报