欢迎图片

Changes for page 08 Macro Script

Last modified by xingzhi lin on 2025/09/24 10:14

From version 2.2
edited by xingzhi lin
on 2025/09/24 10:13
Change comment: There is no comment for this version
To version 2.3
edited by xingzhi lin
on 2025/09/24 10:14
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -3471,9 +3471,9 @@
3471 3471  
3472 3472  a = SignedInt32("@W_HDW0") 'read signed even integer from HDW0, then assign this value to a.
3473 3473  
3474 -@W_HDW2=a 'assign the value of a to HDW2
3474 +@W_HDW2=a & 0xffff 'assign the value of a to HDW2
3475 3475  
3476 -@W_HDW3=a>>16
3476 +@W_HDW3=a>>16 & 0xffff
3477 3477  {{/code}}
3478 3478  
3479 3479  **Input: **@W_HDW0=-2