Fix buffer append.
Generate push/pop instructions.
Update example.