In addition to the shift instructions we also have the rotate right and rotate left instructions in this folder.
The rotate right instruction works by rotating bits to the right according to the value entered in the IN input by whatever bit you define for it located in the N input.
Unlike the shift instructions, there will be no bits lost or added for the input value when using the rotate instructions. Instead, here the bits will only rotate within the input value.
The rotate left instruction works in the exact opposite way of the rotate right instruction.
In this lesson we are going to discuss logic gates. If you don’t know how logic gates work, watching this lesson will explain that for you. If you are familiar logic gates, we will run through a quick refresher explaining the four types of gates. Those types are AND, OR, XOR or Exclusive OR, and ...
In this lesson, we are continuing with our logic gate functions. We are going to be using instructions within the Word Logic Operations folder. We will be writing some code for an AND instruction that is going to compare two inputs and put the result in an output. We will see that the input data ...
10 Comments