Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
考虑支持以下指令的处理器:
AND/OR/XOR/ADD/SUB A, B NOT A
其中 A 是内存位置或寄存器,B 是寄存器。不支持立即操作数。
编写一组指令来增加内存位置 M,而不假设寄存器或内存位置中的任何现有值。
这是您的起点:
XOR REG, REG
我把剩下的作业留作练习。