/* PBXA64 handbook-style C text example: byte_order_mark.
 * recognize UTF-8 and UTF-16 byte-order-mark prefixes. This source deliberately keeps every transformation visible
 * instead of hiding it behind library calls, making it useful for tracing.
 */
int main(void) {
    unsigned char utf8[] = { 239, 187, 191, 65 }; unsigned char utf16[] = { 255, 254, 65, 0 }; int a = utf8[0] == 239 && utf8[1] == 187 && utf8[2] == 191; int b = utf16[0] == 255 && utf16[1] == 254; return a && b ? 0 : 1;
}

/* Discussion: inspect the loop bounds, byte classification, and final return
 * value. The bounded-C frontend currently records CIR0200 for all C source;
 * this example remains a real handbook program for the public C surface once
 * that frontend gate is restored. */
