## [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 * `<` : Bitwise left-shift the accumulator's value left one binary digit * `>` : Inverse of `<` * `@` : Swap nibbles ## 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]