## [Bits and Bytes](https://codegolf.stackexchange.com/questions/57204/programming-with-bits-and-bytes) constant generation In this challenge, you have to generate the shortest Bits and Bytes program that outputs an integer input. For the simplicity of the challenge, you only have to search with `!` and `<`. ## Bits and Bytes quick reference Bits and Bytes operates on a one-byte accumulator. There are 4 operations (only 2 are neccecary for this challenge): * `!` : Invert all of the bits in the accumulator * `<` : Shifts all bits in the accumulator one bit to the right. The leftmost bit becomes a 0 and the rightmost bit is discarded. * `>` : Shift right * `@` : Swap nybbles ## Input / Output Input will be one integer. Your program should output the shortest program in Bits and Bytes that sets the accumulator to that value. ## Examples <pre> 255 ! </pre> <pre> 4 !<!<!< </pre> This is a [tag:code-golf] contest; the shortest program wins. --- [tag:code-golf] [tag:shortest-path]