2007-01-28から1日間の記事一覧

--pstk = (INT16U)0x6666;

return ((OS_STK *)pstk); (5) } L6-2(1) The HEW compiler passes the first argument to a function in R0. If you use a different compiler that passes p_arg on the stack then the port code will also work since we did that as well. L6-2(2) This…

--pstk = (INT16U)0x5555;

--pstk = (INT16U)0x4444;

--pstk = (INT16U)0x3333;

--pstk = (INT16U)0x2222;

--pstk = (INT16U)0x1111; (4)

--pstk = (INT16U)p_arg; (3)

--pstk = (INT16U)0x0000; (2)

--pstk = (INT16U)task;

--pstk = (INT16U)task;

--pstk = (INT16U)p_arg; (1)

uC/OS-2のマニュアルの日本語訳に挑戦

6.00 μC/OS-II Port for the H8/300L The μC/OS-II port for the H8/300L provided with this application note assumes the HEW environment. However, you can certainly modify this port to work with other C/C++ compilers. In fact, the CPU instruct…