0 Members and 3 Guests are viewing this topic.
Have you read the tutorials from the beginning? I'd recommend you do so if you haven't: It's my goal that the lessons are easy to understand, and thus I can't really explain the difference, you should read about it.However, I will say that HL is a number, such as a ram location. (HL) is whatever is stored in RAM at that location. (HL) can be used almost any place where you can use "One-Byte Register" as a parameter. If this confuses you, I highly recommend you read from the beginning
Quote from: Hot_Dog on July 08, 2010, 03:29:54 pmHave you read the tutorials from the beginning? I'd recommend you do so if you haven't: It's my goal that the lessons are easy to understand, and thus I can't really explain the difference, you should read about it.However, I will say that HL is a number, such as a ram location. (HL) is whatever is stored in RAM at that location. (HL) can be used almost any place where you can use "One-Byte Register" as a parameter. If this confuses you, I highly recommend you read from the beginning I understand the difference between HL and (HL) (i did not read your tutorials from the beginning but i did read Sean Mclaughin's ams in 28 days) my question is what you mean with it. Or better said: what does HL have to do with the commands SRL and SLA? why is it involved. SRA and SLA are on-byte register commands so what does HL have to do with it?Is (HL) (adress location) modified because you use these commands? or does it destroy HL?
jp (hl)
jp hl
Also I sometimes notice references to your tutorials on other forums or IRC when someone asks what's a good ASM tutorial, plus your tutorials are downloaded quite often, so it tells you did an amazing job on them so far.