A simple CC emulator