HLT Instruction in 8085

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

7K+ 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

Add Exception Breakpoint in Xcode

Jennifer Nicholas
Updated on 27-Jun-2020 13:45:24

2K+ Views

Sometimes while writing an iOS application or any other application we need to test multiple cases and debug the application of any known and unknown bugs. There are certain places in the code where we want our app to stop so that we can know the values of certain variables at the point and fix that bug. Before we learn how to add a break point, first let’s seeWhat’s a break point?A break point is a place in our code where the app pauses on a certain event. A break point may be added manually in xcode or may be ... Read More

A8 Instruction in 8085 Microprocessor

Chandu yadav
Updated on 27-Jun-2020 13:45:07

4K+ Views

In 8085 Instruction set, IN is a mnemonic that stands for INput the Byte from input port’s content to the accumulator. Input port’s 8-bit address is indicated in the instructions as a8. It occupies 2 Bytes in the memory. First Byte specifies the opcode, and the next Byte provides the 8-bit input port address. Mnemonics, OperandOpcode(in HEX)BytesIN Port-addressDB2IN F0H is an example instruction of this type. The result of execution of this instruction is shown below with an example.BeforeAfter(A)Any ValueABHInput Port F0HABHABHIN instruction is the only instruction using which read the input port content to the Accumulator. A possible chip select ... Read More

Motorola M6800 Microprocessor

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

1K+ Views

The Motorola M6800 is 40pin DIP IC. It is an 8-bit Microprocessor. It was introduced in 1974 by Motorola. It was designed nearly at the same time when the 8080 was introduced. Like 8080, it also had 16-bit address bus to handle 64KB of data, and 8-bit data bus to read and write data. The M6800 has very few registers. It has two Accumulators A and B, and the Index Register. This Microprocessor only supports the memory mapped IO because there is no instruction regarding IO operations in its instruction set.The M6800 has six addressing modes, 72 instructions and at least ... Read More

Store Custom Objects in NSUserDefaults

Vrundesha Joshi
Updated on 27-Jun-2020 13:44:37

653 Views

In this article we’ll learn how to store custom objects in our application, but before you learn how to store custom object let’s see what are custom object?A custom object is any class or structure or any other data that is not a native data type like Int, Double, String etc. Storing data in NSUserDefaults is a three step process.Creating the custom ObjectWe’ll create a custom class Person that will have an age variable, and name variable.class Person: NSObject, NSCoding {    var name: String    var age: Int    init(name: String, age: Int) {       self.name = ... Read More

Save ArrayList to SharedPreferences in Android

Nancy Den
Updated on 27-Jun-2020 13:43:48

4K+ Views

Before getting into shared preference to store arraylist example , we should know what is shared preferences in android. Using share preference, we can store or retrieve values as key and value pair. There are five different methods are available in share preference as shown below −Edit() − It going to edit shared preference valuescommit() − it going to commit shared preference values in xml fileapply() − It going to commit back changes from editor to shared preference.remove(String key) − It going to remove key and vales from shared preference use key.Put() − It going to put key and values ... Read More

Senior Position in a Start-Up vs Middle Management in Established Company

Rashmi Iyer
Updated on 27-Jun-2020 13:42:41

279 Views

Work experience in a particular field and mostly specializing in a particular wing is considered to be an asset today considering the fact that field level experience develops a major quantum of skill in a person as against mere degrees or educational qualifications. After reaching a certain point in your career and gaining sufficient work experience, an employee has a desire to switch their job profiles due to better prospects.At times like these experienced people are often in dilemma on the work profile of the company i.e. whether to take a senior position in a start-up or mid-position in a ... Read More

Six Systems of Ancient Indian Philosophy

Rashmi Iyer
Updated on 27-Jun-2020 13:41:43

3K+ Views

Metaphysics played an extremely important role in Ancient Indian learning and social system. These metaphysics formed the philosophical foundation of life. Hence, it was given the term Darshana which literally means showing the path (of life). The Shad-Darshanas or the six systems of the Astika or the orthodox schools of Indian Philosophy consider the authority of Vedas.NyayaThe founder of Nyaya is Akshapada Gautama and it dated back to 2nd Century BCE. It is a school that deals with logic and epistemology. Its main objective is to help to eliminate ignorance of knowledge. It enlists four valid (Pramana) and four invalid ... Read More

Develop for iPhone Using a Windows Development Machine

Anvi Jain
Updated on 27-Jun-2020 13:41:25

145 Views

Generally iOS applications can be developed on mac operating systems only, but recently with system development now applications for iOS can partially be developed on windows system too.To develop iOS or any other apps for apple platform, we need Xcode which is a native Apple software and can be installed on mac operating systems only. Also, a mac operating system is generally installed and supported on an Apple device.There are multiple work around for this like buying a normal laptop installing third party software to run mac OS on them and later installing Xcode, or buying/renting a cloud Mac. In ... Read More

Decrement a Month Using the Calendar Class in Java

karthikeya Boyini
Updated on 27-Jun-2020 13:41:05

253 Views

Import the following package for Calendar class in Javaimport java.util.Calendar;Firstly, create a Calendar object and display the current dateCalendar calendar = Calendar.getInstance(); System.out.println("Current Date = " + calendar.getTime());Now, let us decrement the month using the add() method and Calendar.MONTH constant. Set a negative value here since we are decrementingcalendar.add(Calendar.MONTH, -2);The following is an exampleExample Live Demoimport java.util.Calendar; public class Demo {    public static void main(String[] args) {       Calendar calendar = Calendar.getInstance();       System.out.println("Current Date = " + calendar.getTime());       // Decrementing Month by 2       calendar.add(Calendar.MONTH, -2);       System.out.println("Updated ... Read More

Advertisements