Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 23:43 14 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : cmm2: peek short returning 32bits instead of 16?

Author Message
epsilon

Senior Member

Joined: 30/07/2020
Location: Belgium
Posts: 255
Posted: 10:28am 20 Sep 2020
Copy link to clipboard 
Print this post

Peek short returns a 32bit value instead of a 16bit value. Peek byte works fine.

> print hex$(peek(short mm.info(program)))
722F2701
> print hex$(peek(word mm.info(program)))
722F2701
> print hex$(peek(byte mm.info(program)))
1

/Epsilon.
Epsilon CMM2 projects
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10582
Posted: 12:26pm 20 Sep 2020
Copy link to clipboard 
Print this post

Thanks: will be fixed in V5.05.05b10
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025