khoi Posted June 17, 2023 Report Posted June 17, 2023 Hi every one, I want to record temperature to DM of CH1H. At the first minute , data is save in D1. The next minute, data is saved in D2 and so on. How to do this? Thank you. Le Khoi
BITS N BYTES Posted June 17, 2023 Report Posted June 17, 2023 Using IR and DR for Indirect Addressing.pdf 1
Michael Walsh Posted July 14, 2023 Report Posted July 14, 2023 You could also use @D. It is simpler. First scan, MOV &1 D0 - initialize pointer to point at D1 When you want to store a temperature: MOV Temperature @D0 - Move the temperature to the address that D0 is pointing to INC D0 - increment D0 by 1.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now