cosmetic change
use "begin...end" for nested match statements
trivial change
use "ldh" to get lower 16bits