Implement LDM^/STM^ (fixes #5)