I am trying to teach myself assembly language and I have a found a helpful and informative tutorial online to do so. However, I have run into a problem while using the tutorial. As an additional learning tool to supplement the tutorial I downloaded PIC IDE Simulator in order to use the Interactive Assembler Editor to help me get the feel for assembly language. However, one of the commands I have learned in the tutorial is not in the Assembly Editor. Specifically the command "equ". In the tutorial it is used to set Labels and other variables equal to values in registers such as the following:
STATUS equ 03h
According to the tutorial this would set register 03h as the address of the "STATUS" label. So my question is, what's the problem? Is equ not a real command in assembly, or is there something wrong with the Interactive Assembler Editor that comes with PIC IDE Simulator? I am reluctant to continue with current tutorial I am using if it is going to teach me incorrect commands, if somone could please enlighten me as to what the problem is I would greatly appreciate it. Here is the address for the tutorial I am using. **broken link removed** Also if anyone knows of any good websites or books that teach Assembly language I would love to hear of them. I am just starting out in circuitry and electronics and I thought learning assembly would be a good place to start. So if you also know of any good websites or books for beginner circuitry instruction or PIC microchip tutorials I would be very thankful.
STATUS equ 03h
According to the tutorial this would set register 03h as the address of the "STATUS" label. So my question is, what's the problem? Is equ not a real command in assembly, or is there something wrong with the Interactive Assembler Editor that comes with PIC IDE Simulator? I am reluctant to continue with current tutorial I am using if it is going to teach me incorrect commands, if somone could please enlighten me as to what the problem is I would greatly appreciate it. Here is the address for the tutorial I am using. **broken link removed** Also if anyone knows of any good websites or books that teach Assembly language I would love to hear of them. I am just starting out in circuitry and electronics and I thought learning assembly would be a good place to start. So if you also know of any good websites or books for beginner circuitry instruction or PIC microchip tutorials I would be very thankful.