can someone write this in c code
.equ dataMemory. Ox3400 8 constant memory address .equ switches, 0x3810 # constant PIO switches address .equ ledsop, Ox3820 #constant PIO leds address .equ ledsval, Ox330 .equ pushB, Ox3800 global_start _start: #begin here movia r2, switches #move switches address to r10 movia r3, ledsval #move ledsop address to r11 movia r4, dataMemory # move dataMemory to r12 movia 5, ledsop #move ledsop address to r13 movia r6, pushB #move pushB adress to r14 movi r23,0 Idwio r7. OxC(r6) LOOP: #label LOOP movi 23,0 stwio ro, 0xC(r6) # Clearing pushB #Display Opcode stbio r23, 01/2) checkMult: Idhio r8, Oxr2) # Load the value from switches to register 18 sthio r8, Ofr3) # Display the value of r8 to ledsval Idhio 17. OxC(r6) Load push into register 17 beq 7. O.checkMult#loop back if 70 stwio 17. OxC(r6) # Reset pushB sth r8, 0(14) # Store value of r8 to dataMemory checkMult2: Idhio r9, 0(22) # Load the value from switches to register 19 sthio 19. Or3) # Display the value of r9 to ledsval Idhio r7. OxC(r6) # Load pushB into register 17. beq 17.ro, checkMult2 #loop back it 17 = 0 sth 23, Ox1fr4) # Store Opcode stwio r7. OxC(r6) # Reset pushB sth r9, 0x2(r4) # Store value of r9 to dataMemory checkMult3: Idho 17. OxC(r6) . Load pushB into register 17. beg 17.ro, checkMult3 #loop back if 77 = 0 mul 810, r8, r9 # multiply the value of r8 by the value of r9 and ste to r10 sthio r100(73) # Display the value of 10 to ledsval sth 10, 0x3(r4) # Store value of r10 to dataMemory stwio r7, OxC(r6) # Reset pushB check Mult: Idhio 17. OxC(r6) # Load pushB into register 17. beg r7. ro, checkMult4 #loop back if t70 addi r4, r4. 0x4 # add Ox04 to r4 and store in 4 addi 23, 23, Ox1 # add Ox01 to 23 and store in r23 Idhr23, 0r5) # Load the Opcode stwio r7. OxCir6) # Reset pushB .equ dataMemory. Ox3400 8 constant memory address .equ switches, 0x3810 # constant PIO switches address .equ ledsop, Ox3820 #constant PIO leds address .equ ledsval, Ox330 .equ pushB, Ox3800 global_start _start: #begin here movia r2, switches #move switches address to r10 movia r3, ledsval #move ledsop address to r11 movia r4, dataMemory # move dataMemory to r12 movia 5, ledsop #move ledsop address to r13 movia r6, pushB #move pushB adress to r14 movi r23,0 Idwio r7. OxC(r6) LOOP: #label LOOP movi 23,0 stwio ro, 0xC(r6) # Clearing pushB #Display Opcode stbio r23, 01/2) checkMult: Idhio r8, Oxr2) # Load the value from switches to register 18 sthio r8, Ofr3) # Display the value of r8 to ledsval Idhio 17. OxC(r6) Load push into register 17 beq 7. O.checkMult#loop back if 70 stwio 17. OxC(r6) # Reset pushB sth r8, 0(14) # Store value of r8 to dataMemory checkMult2: Idhio r9, 0(22) # Load the value from switches to register 19 sthio 19. Or3) # Display the value of r9 to ledsval Idhio r7. OxC(r6) # Load pushB into register 17. beq 17.ro, checkMult2 #loop back it 17 = 0 sth 23, Ox1fr4) # Store Opcode stwio r7. OxC(r6) # Reset pushB sth r9, 0x2(r4) # Store value of r9 to dataMemory checkMult3: Idho 17. OxC(r6) . Load pushB into register 17. beg 17.ro, checkMult3 #loop back if 77 = 0 mul 810, r8, r9 # multiply the value of r8 by the value of r9 and ste to r10 sthio r100(73) # Display the value of 10 to ledsval sth 10, 0x3(r4) # Store value of r10 to dataMemory stwio r7, OxC(r6) # Reset pushB check Mult: Idhio 17. OxC(r6) # Load pushB into register 17. beg r7. ro, checkMult4 #loop back if t70 addi r4, r4. 0x4 # add Ox04 to r4 and store in 4 addi 23, 23, Ox1 # add Ox01 to 23 and store in r23 Idhr23, 0r5) # Load the Opcode stwio r7. OxCir6) # Reset pushB