Application of Bitmaps
Course Content
0 / 33 completedAgenda
Code Access
RECAP
Fundamentals of Bit Programming
Introducing Bitmaps
Application of Bitmaps
APIs Setting Unsetting a Bit
bitmap print( ) API
Bitmap API Automation Testing Framework
Handling Machine Endian-ness
CPU Cycles on 16bit, 32bit and 64 bit machines
Lets write Endian-ness independent bitmap API
RECAP What is Endian-ness
Identify your machine Endian-ness type
Sample Code which is Endian-ness dependent
Arrange a Little Endian Machine for Testing
Understanding Memory Value (MV) and Register value ( RV )
MVRV in CPU Read Write Operations
Introducing hton( ) and ntoh( ) functions
Using hton( ) to write machine Endian-ness independent code
Looping Macros
bitmap print prefix( ) API
prefix32bit match ( ) API
uint32 apply mask ( ) API
We are done !
Generating Masks
Bitwise Comparisons
Bitmaps Left and Right Shift
Bitmap Copy
Bitmap Compare
Masks and Wildcards
bitmap effective bit at ( ) API
Looping Macro for Effective Prefixes