add pll
fix emulator: ret should no longer modify accumulator