fix inline asm constraints
add serial echo example