Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

DONT DO IT AT ALL IF YOU CANT DO IT WITH THE FOLLOWING PROGRAM!!! I need it done

ID: 3801265 • Letter: D

Question

DONT DO IT AT ALL IF YOU CANT DO IT WITH THE FOLLOWING PROGRAM!!!

I need it done with this specific WinMips64 program(I shared it on my google drive below):

1) https://drive.google.com/open?id=0B-yy0y1yM_P0TjM3bzU1cHRmeFk
OR
2) https://drive.google.com/drive/folders/0B-yy0y1yM_P0VTJWd2NvYlNYdEE?usp=sharing
OR (Original webpage)
3) http://indigo.ie/~mscott/
4) MANUAL FOR IT:
Https://blackboard.ohio.edu/bbcswebdav/pid-6834585-dt-content-rid-44296251_1/courses/EE_5683_1002_LEC_SPRG_2016-17/WinMIPS64/winmips_manual.pdf



If you could share the code(in a from of a copiable text) from your created "xxxx.s" file it would be great!

P.S. "xxxx.s" files can be edited with Notepad program. I use Notepad++ for easier spacing.

Fibonacci numbers are: 0,1,1,2,3,5, 8,13, 21,34,55,etc e. two consecutive numbers are added to generate the next number. If the user enters 6, then the display should be 0, 1, 1, 2, 3, 5 ie. 6 fibonacci numbers should be displayed. Generate the numbers and display it. The sample C code is #include

Explanation / Answer

.file 1 "" .section .mdebug.abi32 .previous .gnu_attribute 4, 1 .abicalls .rdata .align 2 $LC0: .ascii "Enter the number for fabonacci :" .align 2 $LC1: .ascii "%d" .align 2 $LC2: .ascii "The series of numbers are:" .align 2 $LC3: .ascii "%d %d " .align 2 $LC4: .ascii "%d " .text .align 2 .globl main $LFB0 = . .set nomips16 .ent main .type main, @function main: .frame $fp,56,$31 # vars= 24, regs= 2/0, args= 16, gp= 8 .mask 0xc0000000,-4 .fmask 0x00000000,0 .set noreorder .cpload $25 .set nomacro addiu $sp,$sp,-56 $LCFI0: sw $31,52($sp) $LCFI1: sw $fp,48($sp) movz $31,$31,$0 $LCFI2: move $fp,$sp $LCFI3: .cprestore 16 lw $2,%got($LC0)($28) nop addiu $4,$2,%lo($LC0) lw $2,%call16(puts)($28) nop move $25,$2 jalr $25 nop lw $28,16($fp) addiu $2,$fp,40 lw $3,%got($LC1)($28) nop addiu $4,$3,%lo($LC1) move $5,$2 lw $2,%call16(scanf)($28) nop move $25,$2 jalr $25 nop lw $28,16($fp) sw $0,36($fp) li $2,1 # 0x1 sw $2,32($fp) li $2,2 # 0x2 sw $2,24($fp) lw $2,%got($LC2)($28) nop addiu $4,$2,%lo($LC2) lw $2,%call16(puts)($28) nop move $25,$2 jalr $25 nop lw $28,16($fp) nop lw $2,%got($LC3)($28) nop addiu $4,$2,%lo($LC3) lw $5,36($fp) lw $6,32($fp) lw $2,%call16(printf)($28) nop move $25,$2 jalr $25 nop lw $28,16($fp) b $L2 nop $L3: lw $3,36($fp) lw $2,32($fp) nop addu $2,$3,$2 sw $2,28($fp) lw $2,%got($LC4)($28) nop addiu $4,$2,%lo($LC4) lw $5,28($fp) lw $2,%call16(printf)($28) nop move $25,$2 jalr $25 nop lw $28,16($fp) lw $2,32($fp) nop sw $2,36($fp) lw $2,28($fp) nop sw $2,32($fp) lw $2,24($fp) nop addiu $2,$2,1 sw $2,24($fp) $L2: lw $2,40($fp) lw $3,24($fp) nop slt $2,$3,$2 andi $2,$2,0x00ff bne $2,$0,$L3 nop move $2,$0 move $sp,$fp lw $31,52($sp) lw $fp,48($sp) addiu $sp,$sp,56 j $31 nop .set macro .set reorder .end main $LFE0: .size main, .-main .section .eh_frame,"aw",@progbits $Lframe1: .4byte $LECIE1-$LSCIE1 $LSCIE1: .4byte 0x0 .byte 0x1 .globl __gxx_personality_v0 .ascii "zP" .uleb128 0x1 .sleb128 -4 .byte 0x1f .uleb128 0x5 .byte 0x0 .4byte __gxx_personality_v0 .byte 0xc .uleb128 0x1d .uleb128 0x0 .align 2 $LECIE1: $LSFDE1: .4byte $LEFDE1-$LASFDE1 $LASFDE1: .4byte $LASFDE1-$Lframe1 .4byte $LFB0 .4byte $LFE0-$LFB0 .uleb128 0x0 .byte 0x4 .4byte $LCFI0-$LFB0 .byte 0xe .uleb128 0x38 .byte 0x4 .4byte $LCFI2-$LCFI0 .byte 0x11 .uleb128 0x1e .sleb128 2 .byte 0x11 .uleb128 0x1f .sleb128 1 .byte 0x4 .4byte $LCFI3-$LCFI2 .byte 0xd .uleb128 0x1e .align 2 $LEFDE1: .ident "GCC: (Debian 4.4.5-8) 4.4.5"