a function is a named, modular block of code with a specific task. It takes input parameters, produces an output, and promotes code organization and reusability.
differences between CISC and RISC are CISC: Each instruction may take multiple cycles Single register set Instructions have variable format Many instructions are available Many addressing modes are available Complicated processor design Integrated circuit is expensive RISC: An instruction performs a simple task Limited number of instructions available Complex tasks can only be performed by combining multiple instructions Simple processor design