Site Logo Home
 
rOm
Quest
Glossary
 
Random
Page
Search
Site
Lush
Sim
Class
Subject
Images
 
Help
FAQ
Sign
Up
Log
In
A Level     Microcontroller     Architecture     Instruction Set     Memory     >~ BSF and BCF<     ~ Call and Return     ~ COMF     ~ Counting     ~ Heater     ~ INCF and BTFSC     ~ INT0IF     ~ LED Matrix     ~ Motor     ~ Stepper Motor    

Microcontroller ~ BSF and BCF


Site for Eduqas/WJEC - Go to the AQA site.

  A Level    Microcontrollers  0 of 92    Question 752    Assembler 1 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set1 of 92    Question 753    Assembler 1 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set2 of 92    Question 754    Assembler 1 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set3 of 92    Question 762    Assembler 1 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set4 of 92    Question 758    Assembler 1 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set5 of 92    Question 757    Assembler 1 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set6 of 92    Question 756    Assembler 1 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set7 of 92    Question 755    Assembler 1 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set8 of 92    Question 847    Assembler 2 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set9 of 92    Question 846    Assembler 2 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set10 of 92    Question 845    Assembler 2 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set11 of 92    Question 844    Assembler 2 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set12 of 92    Question 763    Assembler 2 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set13 of 92    Question 764    Assembler 2 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set14 of 92    Question 765    Assembler 2 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set15 of 92    Question 766    Assembler 2 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set16 of 92    Question 767    Assembler 2 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set17 of 92    Question 783    Assembler 3 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set18 of 92    Question 784    Assembler 3 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set19 of 92    Question 785    Assembler 3 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set20 of 92    Question 781    Assembler 3 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set21 of 92    Question 782    Assembler 3 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set22 of 92    Question 848    Assembler 3 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set23 of 92    Question 849    Assembler 4 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set24 of 92    Question 841    Assembler 4 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set25 of 92    Question 839    Assembler 4 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set26 of 92    Question 838    Assembler 4 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set27 of 92    Question 786    Assembler 4 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set28 of 92    Question 858    Assembler 5 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set29 of 92    Question 862    Assembler 5 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set30 of 92    Question 861    Assembler 5 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set31 of 92    Question 860    Assembler 5 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set32 of 92    Question 859    Assembler 5 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set33 of 92    Question 855    Assembler 5 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set34 of 92    Question 854    Assembler 5 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set35 of 92    Question 853    Assembler 5 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set36 of 92    Question 852    Assembler 5 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set37 of 92    Question 851    Assembler 5 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set38 of 92    Question 850    Assembler 5 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set39 of 92    Question 866    Assembler 6 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set40 of 92    Question 867    Assembler 6 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set41 of 92    Question 868    Assembler 6 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set42 of 92    Question 869    Assembler 6 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set43 of 92    Question 870    Assembler 6 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set44 of 92    Question 871    Assembler 6 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set45 of 92    Question 872    Assembler 6 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set46 of 92    Question 1448    Assembler 6 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set47 of 92    Question 897    Assembler 9 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set48 of 92    Question 898    Assembler 9 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set49 of 92    Question 899    Assembler 9 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set50 of 92    Question 596    Bus Architecture 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set51 of 92    Question 534    Bus Architecture 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set52 of 92    Question 630    Bus Architecture 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set53 of 92    Question 631    Bus Architecture 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set54 of 92    Question 632    Bus Architecture 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set55 of 92    Question 633    Bus Architecture 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set56 of 92    Question 634    Bus Architecture 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set57 of 92    Question 1438    Bus Architecture 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set58 of 92    Question 1437    Bus Architecture 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set59 of 92    Question 635    Bus Architecture 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set60 of 92    Question 528    Bus Data Directions 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set61 of 92    Question 531    Bus Read and Write 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set62 of 92    Question 530    Bus Read and Write 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set63 of 92    Question 532    Bus Width Calculation 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set64 of 92    Question 578    Compare Polling with Interrupts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set65 of 92    Question 479    Compare Polling with Interrupts 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set66 of 92    Question 533    Identifying Buses 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set67 of 92    Question 529    Identifying Buses 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set68 of 92    Question 527    Identifying Buses 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set69 of 92    Question 670    Latches Connected to BUS 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set70 of 92    Question 669    Latches Connected to BUS 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set71 of 92    Question 725    Microcontroller - Address Bus 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set72 of 92    Question 724    Microcontroller - Advantages 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set73 of 92    Question 723    Microcontroller - Advantages 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set74 of 92    Question 387    Microcontroller - Architecture 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set75 of 92    Question 386    Microcontroller - Architecture 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set76 of 92    Question 385    Microcontroller - Architecture 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set77 of 92    Question 719    Microcontroller - Binary 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set78 of 92    Question 727    Microcontroller - Memory 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set79 of 92    Question 728    Microcontroller - Memory 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set80 of 92    Question 721    Microcontroller - Terminology 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set81 of 92    Question 900    Microcontroller - Terminology 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set82 of 92    Question 1430    Microcontroller - Terminology 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set83 of 92    Question 1431    Microcontroller - Terminology 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set84 of 92    Question 1432    Microcontroller - Terminology 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set85 of 92    Question 1433    Microcontroller - Terminology 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set86 of 92    Question 1434    Microcontroller - Terminology 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set87 of 92    Question 1435    Microcontroller - Terminology 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set88 of 92    Question 1436    Microcontroller - Terminology 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set89 of 92    Question 722    Microcontroller - Terminology 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set90 of 92    Question 1031    Robots and Machines 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set91 of 92    Question 300    Sub-systems 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set92 of 92    Question 310    Sub-systems Recognition 
Score 0/0 
Not attempted  
Last Answer  
Deadline not set  Questions 0 to 92   -->  View All  

TRISA is set to 1111 1110 so bit zero in PORTA is an output.
BSF and BCF are used to toggle the bit on and off. Two NOPs are needed to get a 1:1 mark space ratio.

 NOP     0x0000    00 0000 0000 0000   00 0000 0xx0 0000   Cycles: 1       Flags:             
W REG000 0x00 00000000
 Bank 0    From 0x00 to 0x7F
PCL000 0x00 00000000
STATUS024 0x18 00011000
PORTA000 0x00 00000000
PORTB000 0x00 00000000
INTCON000 0x00 00000000

Stack

0000

0000

0000

0000

SP000 0x00 00000000
 Bank 1    From 0x80 to 0xFF
PCL000 0x00 00000000
STATUS024 0x18 00011000
TRISA111 0xFF 11111111
TRISB111 0xFF 11111111
INTCON000 0x00 00000000
 Bank 0 General Purpose File Registers from 0x20.
0x20000 0x00 00000000
0x21000 0x00 00000000
0x22000 0x00 00000000
0x23000 0x00 00000000

0000

0000

0000

0000

0x24000 0x00 00000000
0x25000 0x00 00000000
0x26000 0x00 00000000
0x27000 0x00 00000000
 0x  00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F     
00 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 00
10 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 10
20 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 20
30 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 30
40 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 40
50 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 50
60 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 60
70 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 70
80 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 80
90 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 90
A0 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 A0
B0 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 B0
C0 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 C0
D0 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 D0
E0 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 E0
F0 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 F0

Subject Name     Level     Topic Name     Question Heading     First Name Last Name Class ID     User ID    

fff
Home
<<<
ppw
Pg Up
<<
ppp
Up
<
|||

>|<
nnn
Down
>
nnw
Pg Down
>>
lll
End
>>>

Close
Escape
X

Q: qNum of last_q     Q ID: Question ID         Score: num correct/num attempts         Date Done    

 

Submit
Enter

 

Question Text

image url

 


Help Link

Add     Delete     Clone     Edit     Hardness

Help Text
Debug


 

 

 

Contact, Copyright, Cookies and Legalities: C Neil Bauers - reviseOmatic V4 - © 2016/17

Hosted at linode.com - London

 

Please report website problems to Neil