Bootloader - programming

-1

I have seen this code as a bootloader:

link

And I can not understand that part:

MBOOT_PAGE_ALIGN    equ 1<<0    
MBOOT_MEM_INFO      equ 1<<1 

Well I wanted to know what this equ1<<0 , equ 1<<1 means

    
asked by anonymous 01.09.2015 / 03:19

1 answer

0

The word equ is used to define constants, since << is an operator that "shifts" the bits a number to the left, this type of operator is usually used to define flags.

See more at: link link

    
01.09.2015 / 06:48