while the notion of a "subregister" may be sufficient for the 8086 (and in fact most similar processors), there are cases where a more generic approach might be better: some processors implement "SFR/SPR": special function/purpose registers, some of which often only mirror/map portions of another register, thus maybe "subregister" could be better implemented as an "alias" for a configurable bit range of another register?
Logged In: NO
regarding al/ah=>AX:
while the notion of a "subregister" may be sufficient for the 8086 (and in fact most similar processors), there are cases where a more generic approach might be better: some processors implement "SFR/SPR": special function/purpose registers, some of which often only mirror/map portions of another register, thus maybe "subregister" could be better implemented as an "alias" for a configurable bit range of another register?