subject

Determine exactlyhow many instruction cycles the delay loop in the code below (between the comment lines Begin Delay Loop and End Delay Loop) takes as a function of the variables Count1 and Count2. MaxCount EQU H'OA' ; Equates are good for defining literals
CBLOCK H'20 ; A CBL0CK defines a sequential region
Count1 ; Count 1 is in location H,20%
Count2 ; Count2 is in location H'21'
Scratch ; Scratch is in lication H'22'
ENDC ; ENDC ends the definition block
ORG 0x0000
GOTO Init
Init ORG 0x0008
BSF STATUS, RPO
CLRF TRISE
CLRF ANSEL
BCF STATUS, RPO
SetScr MOVLW H' 01'
MOVWF Scratch
MainLoop MOVF Scratch, W
MOVWF PORTB
; Begin Delay Loop
MOVLW Count 2
MOVWF Index2
Loop MOVLW Count1
MOVWF Index1
SubLoop NOP
NOP
DECFSZ Index1, F
GOTO SubLoop
DECFSZ Index2, F
GOTO Loop
; End Delay Loop
RRFScratch, F
ANDWF Scratch, F
BTFSC STATUS, Z
GOTO SetScr
GOTO MainLoop
Finish END
Explain what the program does, in a few sentences. In particular, what would be the purpose or result of the operations

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:10
Drag each label to the correct location on the imagelist the do’s and don’ts of safeguarding your password.keep yourself loggedin when you leave your computer.don’t write your password down and leave it whereothers can find it.share your password with your friends.each time you visit a website,retain the cookies on your computer.use a long password with mixed characters.
Answers: 1
question
Computers and Technology, 22.06.2019 18:00
When is it appropriate to use an absolute reference
Answers: 1
question
Computers and Technology, 22.06.2019 18:10
How can i delete permalinks from a word press site?
Answers: 1
question
Computers and Technology, 23.06.2019 02:50
Define a class named movie. include private fields for the title,year, and name of the director. include three public functions withprototypes void movie: : settitle(cstring); , voidmovie: : setyear(int); , void movie: : setdirector(string); . includeanother function that displays all the information about a movie.write a main() function that declares a movie object namedmyfavoritemovie. set and display the object's fields.this is what i have but know its wrong since it will notcompile: #include#includeusing namespace std; //class declarationclass movie{private: string movietitle ; string movieyear; string directorname; public: void settitle(string title); void setyear(string year); void setdirector(string director); void displayinfo(); }; //class implementationvoid movie: : settitle(string title){ movietitle = title; cout< < "what is the title of themovie? "< > temp; myfavoritemovie.settitle(temp); cout< < "enter movie year"< > temp; myfavoritemovie.setyear(temp); cout< < "enter director'sname"< > temp; myfavoritemovie.setdirector(temp); //display all the data myfavoritemovie.displayinfo(); system("pause"); return 0; this code is not entirely mine someone on cramster edited my firstcode but then i try manipulating the new code and i still get acompile error message : \documents\visual studio 2008\projects\movie\movie\movie.cpp(46) : error c2679: binary '< < ' : no operator found which takes aright-hand operand of type 'std: : string' (or there is no acceptableconversion)c: \program files (x86)\microsoft visual studio9.0\vc\include\ostream(653): could be'std: : basic_ostream< _elem,_traits> & std: : operator< < > (std: : basic_ostream< _elem,_traits> & ,const char *)w
Answers: 1
You know the right answer?
Determine exactlyhow many instruction cycles the delay loop in the code below (between the comment l...
Questions
question
Mathematics, 24.09.2020 21:01
question
Engineering, 24.09.2020 21:01
question
Mathematics, 24.09.2020 21:01
Questions on the website: 13722363