0xD0 partial implementation