public GetAliases ( RegisterStorage reg ) : IEnumerable |
||
reg | RegisterStorage | |
return | IEnumerable |
public void X86arch_SetAxAliasesTrue() { arch = new X86ArchitectureFlat32(); var aliases = arch.GetAliases(Registers.ax).ToHashSet(); Assert.IsTrue(aliases.Contains(Registers.ax), "Expected ax set"); Assert.IsTrue(aliases.Contains(Registers.ah), "Expected ah set"); Assert.IsTrue(aliases.Contains(Registers.al), "Expected al set"); }
public void X86arch_SetAxAliasesTrue() { arch = new IntelArchitecture(ProcessorMode.Protected32); var aliases = arch.GetAliases(Registers.ax).ToHashSet(); Assert.IsTrue(aliases.Contains(Registers.ax), "Expected ax set"); Assert.IsTrue(aliases.Contains(Registers.ah), "Expected ah set"); Assert.IsTrue(aliases.Contains(Registers.al), "Expected al set"); }