![]() where 1 is: dit 0 is: dah and 2 is silence. Instead of binary, if we use trinary, we can show morse code like: 101021110102110222 etc. And I am still in 'binary' BUT I need the word size which makes it ternary isn't it? The first 3 bits say: Read only 1 bit from the following 5 bits. My thinking is like this: I can reserve the first 3 bits for how many bits to be read, and last 5 bits for the Morse code in a 8bit word. I can simply represent a short beep with a 1 or a long beep with a 0 and the silences will be implicitly represented by the word length.(Let's say 8 bits.) So again, I have this 3rd variable/the 3rd asset in my hand: the word size. If I (and the CPU / the interpreter of the code) know that it will be reading 8 bits every time, then I can represent Morse Code. Only way I can think of is 'word size' a computer implements. How am I supposed to represent a silence, a short beep and / or a long beep? It is impossible to represent Morse Code in 'stirct binary' isn't it?īy 'strict binary' I mean, think of stream of binary: 1010111101010. ![]() You have 3 different types of 'possibilities': a silence, a short beep or a long beep. I am very confused because I would think Morse Code actually is ternary. In an abstract sense, this is theįunction that telegraph operators perform when transmitting messages (see quinary).īut then again, another Wikipedia page includes Morse Code in 'List of binary codes.' However, this does not mean Morse code cannotīe represented as a binary code. Strictly speaking it is not binary, as there are five fundamentalĮlements (see quinary). Morse code is said to be a binary (literally meaning two by two) codeīecause the components of the code consists of only two things - a dot I am reading the book: " Code: The Hidden Language of Computer Hardware and Software" and in Chapter 2 author says:
0 Comments
Leave a Reply. |