![]() ![]() The chart below shows conversions between nibbles written in binary and hexadecimal. In hexadecimal shorthand, a nibble can be written as a single hexadecimal digit. Sometimes we use hexadecimal as a shorthand for writing out long strings of bits. Real-world 64-bit architectures often include stronger defenses against memory safety exploits, so for ease of instruction, this class uses 32-bit architectures unless otherwise stated.įor example, the string 1000100010001000 has 16 bits, or 4 nibbles, or 2 bytes. 1 word = 32 bits (on 32-bit architectures)Ī “word” is the size of a pointer, which depends on your CPU architecture.There are several units of measurement that we use for collections of bits: Number representationĪt the lowest level, computers store memory as individual bits, where each bit is either 0 or 1. This section reviews some relevant concepts from CS 61C and introduces x86 assembly, which is different from the RISC-V assembly taught in 61C. This site uses Just the Docs, a documentation theme for Jekyll.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |