Add initial ARM support, fix bit shifting error.
7 files changed