python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Creating New MIPS Instruction
I'm having some problems understanding a question. Consider a proposed new instruction named rpt. This instruction combines a loop’s condition check and counter decrement into a single instruction. Fo...
lionelmayhem
Votes: 0
Answers: 1
Intel Reference Specification Questions
I'm looking at the ADD instruction, and there are so many things I don't have an idea what they mean.
The gaps I have are.
In the Opcode column what is /0 and /r?
I understand the number is the opc...
christopher clark
Votes: 0
Answers: 0
Behaviour of RISC-V mulh assembly instruction
The RISC-V reader states that mulh rd, rs1, rs2 "multiplies x[rs1] by x[rs2], treating the values as two'cplement numbers, and writes the upper half of the product to x[rd]"
So I am trying t...
adrianmcmenamin
Votes: 0
Answers: 1
Assembly `mov si, ah` produces "invalid combination of opcode and operands"
So I'm trying to print a character to the screen when I press a key.
I get this error:
src/kernel/main.asm:20: error: invalid combination of opcode and operands
mov ah, 00h
int 16h
mov si, ah ;wher...
HoosierTransfer
Votes: 0
Answers: 1