Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # if a>b, c=1
- # if a<b, c= 255
- # if a==b, c=0
- # Setup: 1,0,1,0,a,b,0 point to a
- # Result:x,x,x,x,x,x,c point to a
- +>>+>> , >,<
- >[<
- [->-[>]<<]
- <[-
- >>[
- >>+<<[-]
- ]
- >>.<<<<
- ]
- <[-
- >>>>-.<<<<<
- ]
- <-
- >>>>>[-]]
- <<<<<[
- >>>>
- [>>+<<[-]]
- >>.<<
- <<<<
- -]
- >>>>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement