Skip to main content

Questions tagged [instruction-set]

Instruction set refers to the Assembly syntax based on a processor's architecture that interacts with its registers within the processing unit itself. There is a large variety of instruction sets including: MIPS, ARM, 68HC11/12, x86, and so forth.

4 votes
1 answer
363 views

What does this mean in RISC-V opcode table

I want to check my understanding of how the imm[20|10:1|11|19:12] specifies the bit arrangements in the JAL (jump and link) instruction in RISC-V architecture? I ...
David777's user avatar
  • 1,555
0 votes
2 answers
92 views

1-bit computing with true one-instruction set architecture

Even though MC14500B is considered as 1-bit computing where it accepts 1-bit data to perform operation, the instruction set itself consisted with 4-bit instruction which leads having 16 total ...
Muhammad Ikhwan Perwira's user avatar
1 vote
1 answer
42 views

What is the number of immediates that can be represented ARM data processing instructions?

Data-processing instructions have an unusual immediate representation involving an 8-bit unsigned immediate, imm8, and a 4-bit rotation, rot. imm8 is rotated right by 2 × rot to create a 32-bit ...
Francesco Altura's user avatar
0 votes
1 answer
92 views

How to implement the Instruction Set in Logisim

I have an assignment that requires me to build an 7-bit CPU. I’m done with implementing some of the requirements that includes 4 8-bit registers (the requirements say I have to store the parity bit), ...
maira's user avatar
  • 1
1 vote
0 answers
87 views

6502 Extra Cycles on Page Cross

On the 6502 processor, when using the Absolute,X, Absolute,Y or (Indirect),Y addressing ...
Macmade's user avatar
  • 291
0 votes
2 answers
161 views

How are `call` and `return` usually implemented in microarchitecture? [closed]

This is a follow-on from this question: Are `call` and `return` usually instructions in a modern ISA? I'd like to implement call and ...
Connor's user avatar
  • 399
3 votes
1 answer
293 views

Are `call` and `return` usually instructions in a modern ISA?

I've been working through the problems in a game based around building a Turing Complete machine. One of the final problems asks you to implement the call and ...
Connor's user avatar
  • 399
1 vote
1 answer
83 views

Seeking clarification on equation used in MIPS assembly problem

I'm currently studying MIPS assembly code, and I'm having trouble understanding the solution for question (b) of a particular problem. I was hoping someone could help me clarify a specific part of the ...
Frank's user avatar
  • 11
0 votes
1 answer
1k views

RISC-V byte load and store

I have the confusion in the following RISC V programming statements. Can someone explain that why does the contents of s0 in the last comment shown. shouldn't it be 0x00000180 the same as we are not ...
kam1212's user avatar
  • 669
5 votes
3 answers
1k views

How can I do immediate addition in the Atmel AVR instruction set?

I've been doing some AVR assembly programming for a university course, and I recently happened upon a situation where I would have wanted an "add immediate" instruction. However, no such ...
Newbyte's user avatar
  • 203
0 votes
1 answer
55 views

Designing instruction emulating swap on a MIPS ISA with only 2 registers

In a typical MIPS ISA, you have only 2 working registers. But you have a large number of ALU units. How to design an instruction to emulate swap?
Nidhi's user avatar
  • 87
2 votes
1 answer
984 views

How do you fit so many instructions on a 8-bit processor?

I will preface this that it is highly likely that I have misunderstood how Harvard architecture works, but I cannot understand how an 8-bit instruction set, say the ATmega128 for example, can contain ...
Lyndon Alcock's user avatar
-4 votes
1 answer
264 views

Does an ASIC have an instruction set? [closed]

Does an Application Specific Integrated Circuit have an instruction set like a CPU? If yes, then that would contradict the statement "ASIC is faster than CPU" because having an instruction ...
Noob_Guy's user avatar
  • 443
1 vote
1 answer
88 views

How much energy does it take to schedule versus execute a CPU instruction?

One of the justifications for vector instructions is that in a modern CPU, it takes more work to decode an instruction and do all the administrative work around it – scheduling, register renaming and ...
rwallace's user avatar
  • 563
0 votes
1 answer
378 views

How we are giving values to source registers in instruction set architecture?

This figure represents RISC-V R-type instruction. Let assume this instruction is for add operation. When this instruction is given to the processor it adds rs to rt. My question is how rs and rt ...
Abdulkadir Arslan's user avatar

15 30 50 per page