#include <stdio.h>
int main(void) {
unsigned short set_value, dev=6, page=0, reg=2;
set_value = 0x1000 | 0x0400 | dev << 5 | 0x16 ;
set_value |= 0x8000;
set_value = 0x1000 | 0x0400 | dev << 5 | reg ;
set_value |= 0x8000;
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7Cgl1bnNpZ25lZCBzaG9ydCBzZXRfdmFsdWUsIGRldj02LCBwYWdlPTAsIHJlZz0yOwoJc2V0X3ZhbHVlID0gMHgxMDAwIHwgMHgwNDAwIHwgZGV2IDw8IDUgfCAweDE2IDsKCXByaW50ZigiJTA0eFxuIiwgc2V0X3ZhbHVlKTsKCXNldF92YWx1ZSB8PSAweDgwMDA7CglwcmludGYoIiUwNHhcbiIsIHNldF92YWx1ZSk7CgoJc2V0X3ZhbHVlID0gMHgxMDAwIHwgMHgwNDAwIHwgZGV2IDw8IDUgfCByZWcgOwoJcHJpbnRmKCIlMDR4XG4iLCBzZXRfdmFsdWUpOwoJc2V0X3ZhbHVlIHw9IDB4ODAwMDsKCXByaW50ZigiJTA0eFxuIiwgc2V0X3ZhbHVlKTsKCglyZXR1cm4gMDsKfQo=