Skip to main content

Posts

Showing posts from February, 2022

Product Engineer II at Cadence Design Systems

Hello Dear Readers, Cadence Design Systems has a vacancy for a Product Engineer II role. Cadence is a pivotal leader in electronic design, building upon more than 30 years of computational software expertise. The company applies its underlying Intelligent System Design strategy to deliver software, hardware and IP that turn design concepts into reality.  Cadence customers are the world’s most innovative companies, delivering extraordinary electronic products from chips to boards to systems for the most dynamic market applications including consumer, hyperscale computing, 5G communications, automotive, aerospace industrial and health. The Cadence Advantage: The opportunity to work on cutting-edge technology in an environment that encourages you to be creative, innovative, and to make an impact. Cadence’s employee-friendly policies focus on the physical and mental well-being of employees, career development, providing opportunities for learning, and celebrating success in recog...

ARM Assembly Language Practice Question And Answer Part-4

  Hello Dear Readers,   Today in this post I will provide some basics to advanced ARM's assembly language practice QA part-4, I have used the Keil tool for code writing. Q-1).  Write an assembly language program that performs a mode change by modifying the contents of the CPSR.    a. The mode you should change to is user mode, and you have to modify the mode field of CPSR by the value of 0x10.    b. This assumes that the current mode is a privileged mode such as supervisor mode. Code: ; program which changes the microprocessor mode  masking equ 0x1f  user_mode equ 0x10   area change, code, readonly entry   MRS R0,CPSR; read the status of the microprocessor   BIC R0, R0,#masking; apply the masking bit   ORR R0,R0,#user_mode ; set the mode user_mode   MSR CPSR_C,R0 ; written back with control_field_mask   END  Output: Q-2).  Write an assembly language program that generates S...

ARM Assembly Language Practice Question And Answer Part-3

  Hello Dear Readers,   Today in this post I will provide some basics to advanced ARM's assembly language practice QA part-3, I have used the Keil tool for code writing. Q-1).  Create a stack that starts from address 0x5000 and contains 5 values, and the stack pointer always points to the uppermost value. Code: ; program to create stack and store 5 values  area stack, code, readonly  entry  ldr r13,=0x5000  ldr r1,=10  ldr r2,=11  ldr r3,=12  ldr r4,=13  ldr r5,=14  STMDB SP!,{r1-r5}  add r4,r3,r5  end  Output: Q-2).  Write a code to find the multiplication of 10 numbers stored consecutively starting from 0x4000. Code: ; program of the multiplication of the 10 numbers  area mul, code, readonly  entry  mov r0,#0x4000  mov r1,#9  ldr r2,[r0]  next    add r0,r0,#4    ldr r3,[r0]    muls r2,r3,r2    subs r1,r1,#1     bne next...