• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Machine Instructions fall under what categorys?

Coldkilla

Diamond Member
I was reading up a few days ago on the three categorys that machine instructions fall under. I cannot recall what they were. I thought it was: Data Transfer Group, Arithmetic Group, Control Group. But I started to get mixed thoughts on the Fetch-Decode-Execute cycle as well. I'm having troble understanding, could someone give an example of at least one of these categorys? I'm really getting lost! Thx
 
It's been awhile, but I'll take a stab...

Data transfer: MOV EAX, [EBX]
(Move the value at the memory location pointed to by EBX into EAX)

Arithmetic: ADD EAX, EBX
(Add the value in EBX to EAX and place result in EAX)

Control: CALL ProcName, or RET
(Transfer control to ProcName, or return to previous stack frame)
 
Aye Thanks. Just spent an hour on this and forgot about the forum lol. How's my stab:

Data Transfer:
Consists of instructions that request the movement of data from one location to another. Like loading or storing. (Example: 1234)

Arithmetic/Logic Group:
Tell the control unit to request an activity within the arithmetic/logic unit. Some operations like: and, or, xor, shirt, or rotate. (Example 8231)

Control Group:
Direct execution of the program. Operations like Jump. (Example: COOO, or halt)
 
Sounds about right. You might reword that last one "control of execution flow" rather than "direct execution of the program."
 
Back
Top