Assembly Lab 1 Calculation of Fibonacci numbers 586 MODEL FLAT STACK He96 reserve LKB stack reserve storage for data DWORD -104 DATA previous DWORD ? DWORD 7 current 11 number the Fibonacci term to...


Assembly Lab 1<br>Calculation of Fibonacci numbers<br>586<br>MODEL FLAT<br>STACK He96<br>reserve LKB stack<br>reserve storage for data<br>DWORD -104<br>DATA<br>previous<br>DWORD ?<br>DWORD 7<br>current<br>11<br>number<br>the Fibonacci term to calculate<br>12<br>13<br>CODE<br>35<br>16<br>19<br>mainCRTStartup PROC<br>start<br>mov<br>mov<br>ecx number<br>eax 1<br>18<br>Current 0<br>1:<br>Cax previouS<br>edx current<br>eax = current previown<br>previous= current<br>add<br>21<br>22<br>23<br>AQUE<br>mov<br>current, eax<br>xpa snoTABzd<br>20<br>mov<br>Loop<br>25<br>26<br>ret<br>mainCRTStartup ENDA<br>END<br>Using the debugger:<br>Place a breakpoint in line 25 and fill the values in the below table ach time the break point is hit<br>EAX<br>ECX<br>EDX<br>

Extracted text: Assembly Lab 1 Calculation of Fibonacci numbers 586 MODEL FLAT STACK He96 reserve LKB stack reserve storage for data DWORD -104 DATA previous DWORD ? DWORD 7 current 11 number the Fibonacci term to calculate 12 13 CODE 35 16 19 mainCRTStartup PROC start mov mov ecx number eax 1 18 Current 0 1: Cax previouS edx current eax = current previown previous= current add 21 22 23 AQUE mov current, eax xpa snoTABzd 20 mov Loop 25 26 ret mainCRTStartup ENDA END Using the debugger: Place a breakpoint in line 25 and fill the values in the below table ach time the break point is hit EAX ECX EDX

Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here