fix bound check issue with pretty printing bytecode
add support for -R (reverse input) option