PDF Archive

Easily share your PDF documents with your contacts, on the Web and Social Networks.

Share a file Manage my documents Convert Recover Search Help Contact



gra 01 06 .pdf


Original filename: gra-01-06.pdf

This PDF 1.4 document has been generated by Writer / OpenOffice 4.1.1, and has been sent on pdf-archive.com on 08/05/2016 at 20:43, from IP address 87.175.x.x. The current document download page has been viewed 220 times.
File size: 32 KB (1 page).
Privacy: public file




Download original PDF file









Document preview


A6) a)
int a;
void do_something(){
switch (a){
case 6:
shutdown();
break;
case 5:
goodbye();
case 4:
wind_down();
case 2:
wind_up();
break;
case 1:
welcome();
case 0:
init();
default:
failure();
}
return;
}
b)
do_something: ;we assume the value of 'a' is stored in eax
cmp 6, [eax]
je L6
cmp 5, [eax]
je L5
cmp 4, [eax]
je L4
cmp 3, [eax]
je L3
cmp 2, [eax]
je L2
cmp 1, [eax]
je L1
cmp 0, [eax]
je L0
j Ldefault
L1:
welcome()
L0:
init()
L2:
wind_up()
goto Lend
L4:
wind_down()
L5:
goodbye()
L6:
shutdown()
goto Lend
Ldefault:
failure()
Lend:
ret


Document preview gra-01-06.pdf - page 1/1

Related documents


PDF Document gra 01 06
PDF Document arma 3 sqf cheat sheet revision 3
PDF Document individual guide on buy windows product key
PDF Document pr eco1 e
PDF Document how to pass your 100 105 exam in first attempt
PDF Document negative residual currency conjecture4


Related keywords