UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 13853

MicroBlaze - What happens if an interrupt occurs right after an immediate instruction?

Description

General Description: 

Immediate instructions (opcode IMM) allow for 32-bit immediate instructions. They are only meaningful when followed by a Type B instruction. (The two 16-bit immediate values are combined to create one 32-bit value.) 

 

What happens if an interrupt occurs the cycle after an IMM instruction is issued and right before the Type B instruction? Will the immediate value be saved? Are the instructions atomic?

Solution

The IMM instruction and the following instruction are considered atomic operations supported by the hardware (i.e., no interrupts will be allowed between them).

AR# 13853
Date Created 08/29/2007
Last Updated 05/14/2014
Status Archive
Type General Article