Improve General Knowledge

Rashmi Iyer
Updated on 27-Jun-2020 13:54:27

565 Views

General Knowledge is a vast and diverse discipline which is actually an umbrella term for many subjects studied under its heading. General knowledge forms a very important component in many competitive exams.General knowledge is crucial for students and working people like to stay in touch with the local, national and international level happenings. Following are some tips that help to boost, build and enhance general knowledge for a person.Reading newspapersNewspapers are the biggest storehouses of knowledge. Newspapers help us gauge not just the fact of general knowledge but different perspectives and angles to one topic.Thus, for any student to develop ... Read More

Things That Make Good Employees Quit a Company

Rashmi Iyer
Updated on 27-Jun-2020 13:52:19

130 Views

Retaining the best people in your organization is truly an art and requires a lot of effort in different ways right from appraisal to allocation of responsibilities. While the HR team in the company tries their level best to keep the employees satisfied, there are different factors that eventually lead to good employees quitting a company.ManagementA manager plays a very important role in giving effective feedback to his colleagues. She/he is a mentor and coach in bringing out the best in an employee.However, when the manager starts becoming bossy, hostile or arrogant, the employees function in fear rather than freedom.A ... Read More

Return If Minus (RM) in 8085 Microprocessor

Ankith Reddy
Updated on 27-Jun-2020 13:51:22

379 Views

In 8085 Instruction set, RM is a mnemonic, which stands for “Return if Minus”. This instruction is used to return to the main program, only if S flag value is 1. If S flag value is 0, program flow continues in the subroutine sequentially. It is a 1-Byte instruction.Mnemonics, OperandOpcode(in HEX)BytesRMF81Let us consider the following sample code for a better explanation –AddressHex CodesMnemonicComment200031LXI SP, 5000HSP ← 5000H.Initializing the SP200100Low order Byte of the address200250High order Byte of the address200321LXI H, 4050HHL ← 4050H, Initializing the HL register pair200450Low order Byte of the address200540High order Byte of the address2006CDCALL 200BHCalling the ... Read More

Restart Instructions RSTN in 8085 Microprocessor

George John
Updated on 27-Jun-2020 13:51:05

12K+ Views

In 8085 Instruction set, RSTn is actually standing for “Restart n”. And in this case,  n has a value from 0 to 7 only. Thus the eight possible RST instructions are there, e.g. RST 0, RST 1, …, RST 7. They are 1-Byte call instructions. Functionally RST n instruction is similar with:RST n = CALL n*8For example, let us consider RST 4 is functionally equivalent to CALL 4*8, i.e. CALL 32 = CALL 0020H. The advantage of RST 2 is that it is only 1 Byte, whereas CALL 0010H is 3-Byte long. Thus RST instructions are useful for branching to frequently used subroutines.Mnemonics, OperandOpcode(in ... Read More

OUT A8 Instruction in 8085 Microprocessor

Arjun Thakur
Updated on 27-Jun-2020 13:50:20

10K+ Views

In 8085 Instruction set, OUT is a mnemonic that stands for OUTput Accumulator contents to an output port whose8-bit address is indicated in the instruction as a8. It occupies 2 Bytes in the memory. First Byte specifies the opcode, and the next Byte provides the 8-bit port address. Mnemonics, OperandOpcode(in HEX)BytesOUT Port-AddressD32OUT F0H is an example instruction of this type. The result of execution of this instruction is shown below with an example.BeforeAfter(A)ABHABHOutput Port F0HAny ValueABHOUT instruction is the only instruction using whichAccumulator contents can be sent out to an output port. A possible chip select circuit to connect an output ... Read More

In and Out Instructions in 8085 Microprocessor

Chandu yadav
Updated on 27-Jun-2020 13:49:59

7K+ Views

In 8085 Instruction set, there are two instructions in 8085 for communication with I/O ports. They are the IN and OUT instructions. The IN or OUT instruction mnemonics should be followed by an 8-bit port address. Thus we can have 28 = 256 input ports and 256 output ports are possible in 8085-based microcomputers. IN and OUT both are 2-Bytes instructions.Mnemonics, OperandOpcode(in HEX)BytesIN Port-addressDB2OUT Port-AddressD32In case of IN instruction, the current 8-bit content of the PORT# will be made available on to the Accumulator. Let us suppose with the PORT#, 8 DIP switches are connected. And their states are ON-ON-OFF-ON-ON-ON-OFF-ON. ... Read More

Execution of DAD-RP Instruction

Ankith Reddy
Updated on 27-Jun-2020 13:48:26

2K+ Views

In 8085 Instruction set, for 16-bit addition, there is one instruction available that is DAD rp instruction. It is a 1-Byte instruction. With this instruction, with the content of the HL register pair, the contents of the mentioned register pair will get added and the result thus produced will be stored on the HL register pair.Mnemonics, OperandOpcode(in HEX)BytesDAD B091DAD D191DAD H291DAD SP391As an example, let us consider the execution of the DADB instruction. Let us suppose, that the initial content of HL register pair is 5050H and content of BC register pair is 4050H. So now if we execute instruction ... Read More

Determine Device Type: iPhone, iPod Touch with iPhone SDK

Anvi Jain
Updated on 27-Jun-2020 13:47:59

505 Views

When working on iOS applications, we sometimes need to know the device on which application is installed, and provide custom features depending on the device in use. For example, we want to provide some features on iPhone X but not on iPhone 7. In this article, we’ll learn how to find the iOS device being used, using an iOS Application.Let’s go through some terms that will be required for achieving the desired results, utsname − this is a structure located in Darwin module of iOSuname − uname is a function that takes utsname as an input and returns Int32 as ... Read More

Determine Device Type: iPhone or iPod Touch with Swift

Nitya Raut
Updated on 27-Jun-2020 13:47:26

808 Views

When working on iOS applications, we sometimes need to know the device on which application is installed, and provide custom features depending on the device in use. For example, we want to provide some features on iPhone X but not on iPhone 7. In this article we’ll learn how to find the iOS device being used, using an iOS Application.Let’s go through some terms that will be required for achieving the desired results, utsname − this is a structure located in Darwin module of iOSuname − uname is a function that takes utsname as an input and returns Int32 as ... Read More

HLT Instruction in 8085

George John
Updated on 27-Jun-2020 13:45:40

6K+ Views

In 8085 Instruction set, HLT is the mnemonic which stands for ‘Halt the microprocessor’ instruction. It is having a size of 1-Byte instruction. Using these particular instructions, as 8085 enters into the halt state, so we can put the8085 from further processing of next instructions. This is indicated by S1 and S0 control signals. During the halt, S1 and S0 output signals will become 0 0. Mnemonics, OperandOpcode(in HEX)BytesHLT761The 8085 comes out of the Halt state when a valid interrupt occurs. In such a case, it executes the corresponding interrupt service subroutine depending upon the interrupt number and then it continues ... Read More

Advertisements