我正在创建一个简单的TCP服务器作为存根,这样我就可以测试一个运行测试设备的脚本,而不必在那里拥有设备。服务器应该坐在那里等待连接,然后维护和更新状态变量(仅包含6个整数的列表),以响应接收到的命令。服务器的接口应该非常简单,如:server.start()the client script connects with the server andsome stuff happens to change the state
''
我正在摆弄我的新覆盆子pi,而且我还是个新手。我已经搜索了Google,所以我找到了一个解决方案,这是我最接近运行程序的一次。.section .text mov x0, #0 // return value 0 for success svc 0 // execute the system call to exit the program
然后,我使用as main.s -