2.56 Another Try

Problem:

Try running the code for show_bytes for different sample values.

change in show_bytes.c

int main() {
    int val = 98765;    // use another value
    test_show_bytes(val);
    return 0
}

compile and run, the result:

cd 81 01 00
80 e6 c0 47
7c c0 21 38 fe 7f 00 00

Last updated