Advertisement
titant3k

masker, test.c

Nov 17th, 2020
478
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.50 KB | None | 0 0
  1. #include <stdio.h>
  2. #include "out.h"
  3.  
  4. void main(void)
  5.  {
  6.   tm_engine puffo = 0;
  7.   unsigned int value = MREAD_engine_eye(puffo);
  8.   printf("v=%u\n",value);
  9.  
  10.   MWRITE_engine_eye(puffo,32);
  11.   MWRITE_engine_leg(puffo,2);
  12.   MWRITE_engine_arm(puffo,3);
  13.  
  14.   value = MREAD_engine_eye(puffo);
  15.   printf("veye=%u\n",value);
  16.   value = MREAD_engine_arm(puffo);
  17.   printf("varm=%u\n",value);
  18.   value = MREAD_engine_leg(puffo);
  19.   printf("vleg=%u\n",value);
  20.  
  21.   CMWRITE_engine_eye(puffo,MAXV_engine_eye+3);
  22.  }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement