[Tutor] Bit-level field extraction

Alan Gauld alan.gauld at btinternet.com
Tue May 16 23:47:21 CEST 2006


>> VMASK = 0x14  # 00011000
>
> Whoops, a typo I think. VMASK = 0x18  #00011000
>                          or        VMASK = 0x14  #00010100

A typo is being kind.
A mistake in reality, that's what happens when I don't have
a Python session handy! :-)

Fortunately Terry knew what I meant.

Alan G. 





More information about the Tutor mailing list