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

Source History #include 2| | #include 101 L #include 12 /* 13 14 L / 15| #pragma

ID: 3742908 • Letter: S

Question

Source History #include 2| | #include 101 L #include 12 /* 13 14 L / 15| #pragma config WDT = OFF //watch don timer 16| #pragma config PWRT-ON // Power-up timer 17| #pragma config LVP-OFF // Low voltage pro 18 #pragma config OSC-INTI2 //Interne l oscill 191int main (int argc, char** ar 20 21 osccoN = 0x70; ADCON10x7F: unsigned short long i: 23 24 25 TRISA-OxEE ; //.alilua 'GJ LSB-13 anoa PORTA 0x01; mainwhile()for -0 10000;1+ 00 bir Output Trace/Profiling x LAB 1 SIMULATOR (Build, Load, ...) x make t nbproject/Makefile-default.m: SUBPROJECTs bu make ti]: Entering directory C:/Users/taran/Desktop/Mi make-2 bpEpiect/Makef1hle-default mk dist/default/delb makstal: Entering directory "C:/Tsers/taran, Desktop/Mic CANEzOgram Files ixeiiNMierochiprcea.oo binvaa8 unsigned shore long i

Explanation / Answer

It depends on the type of "i", which compiler you're using, what your optimization settings are, possibly even the surrounding code.

You're generally better off using the compiler's delay facilities since they're written in assembly language and don't have all of the variables I mentioned above.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote