This content is about equipment language programming and even the short op-codes and symbols of which you need in order to understand. The 1st step is in order to get yourself a great HCS08 microcontroller information book. If a person have one, flip open to physique 7-2, otherwise only follow along and you will become fine! I will start with the particular EXT, which implies a prolonged address. Of which is exactly what you need possess expected. A glance to be able to the right with the C6 shows that the operand section of the teaching format consists of two bytes indicated typically the above referenced hh and ll. Note that
check here of typically the entries within the operand field incorporate no, one, or maybe more twice letters. They are love variable name that indicate that any kind of value can seem in a provided instance of the particular instruction.
Only the opcode is fixed. Typically the double letter is definitely to help you recall that each and every name is short for some sort of pair of hex digits. Thus, on an actual illustration of the coaching in a program, each double notice will probably be replaced by simply an 8-bit value normally expressed while a set of hex numbers and will be in the range 00 FF. It does not necessarily indicate that equally hex digits need to be the same benefit! The letters by themselves have been chosen to help you remember the role involving the operand inside that particular training format. It not really only tells a person there are a couple of bytes (4 hex digits), but in addition how the first byte may be the high-order octet along with the second is certainly the low-order octet of a 2-byte (16-bit) extended address. The exact meaning of every letter pair is no longer given inside Rev. 5 regarding this manual. They have been picked to get mnemonic letters. ii means two hex digits (one byte) of immediate information. dd means a couple of hex digits (one byte) of some sort of direct address. Typically the complete address is found by using 00 as being the first octet in the address plus the dd numbers as the following. hh and lmost all have been covered. ee is the most significant byte of a two-byte offset that is definitely temporarily put into typically the content of the particular H: X pair or SP in order to form the handle of the operand. ff is either the least significant byte of any two-byte counteract or perhaps the entire one-byte offset that is temporarily included in typically the content of the particular H: X pair or SP to be able to form the deal with of the operand.