赤星 柔充
yasumichi@vinelinux.org 2012
sujiniku
sujinikusityuu@gmail.com 2022
Takayuki Kusano
https://bsky.app/profile/tkusano.jp 2025.

# Programming Mode

Programming mode provides the tools required for common mathematical operations in software development. For example, programming mode makes math on hexadecimal numbers very easy. It also supports common bitwise operators like NOT, AND, OR, etc. A binary view for numbers up to 64 bits long is displayed, where the user can manually toggle each bit using the mouse cursor.

Additionally, bit-shifting operations are possible by using the ≪, ≫ and ⋙ buttons. Modulo arithmetic can be accomplished using the mod button.

The default word size for bitwise, two’s complement, and swap endianness functions can be changed both in the Preferences menu, or by using the word size button in the bottom of the keypad while in programming mode. This will affect how results from these functions are shown. For example, here we show the two’s complement of the number 6B in 64 bit and 16 bit word sizes:

64 bit:

twos 6B

FFFFFFFFFFFFFF95

16 bit:

twos 6B

FF95

Attempting to enter a larger number than will fit in the selected word size will result in an Overflow error.