Comments
Loading Dream Comments...
You must be logged in to write a comment - Log In
Operations such as .and. and .or. may be performed in ::SHE+ILA::'s BCD arithmetic system by use of integers in the domain 0000 to 8191, regarded as a 13bit boolean vector. This value, rather than 65536 (16 bits) or 32768 (15 bits) has been chosen because it fits in two BCD bytes (81 92 is the nearest fit to 99 99) with minimal wastage, the values 8192 through 9999 being all regarded as if they were 8191. (Two to the power of 13). Normal bitwise ANDing, ORing, or XORing then occurs between each of the individual bits in the two operands. For longer operands, the domain can be extended to 8191 8191 (four bytes, representing 2^26), and so on.