I was exploring the 8086 instruction set and was writing simple assembly codes in emu8086. I understood all the MOV,ADD, and other instructions until I encountered the LOOP instruction. The LOOP is converted to E2, that's fine. But for the label to branch, how does the assembler converts it? If the code is simple, many a times 'label' is converted to FC. Sometimes to FA, F8, and others. It would be very appreciable if you discuss the mechanism of converting the label name to its corresponding machine code.
Thanks.