implement LDQ/LDH (closes #9)