Add jr missing implementation and ldi implementation