Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
-
Economics & Finance
Articles on Trending Technologies
Technical articles with clear explanations and examples
Programming examples of 6800
Now, in this section, we will see how we can use the Motorola M6800 Microprocessor to add multi-Byte numbers.AddingMulti-Byte NumberIn this example, we are using 4-Byte numbers (56 2F 7A 89)16 and (21 FB A9 AF)16In the memory, at first, we are storing the Byte counts, and then the numbers (from least significant Bytes to Most significant Bytes) in different segments. So after storing the data, the memory structure will be looking like thisAddressValue5000H04H...5050H89H5051H7AH5052H2FH5053H56H...5070HAFH5071HA9H5072HFBH5073H21H...Now, we are writing a program to add these two 4-Byte number and store the result at location 5090H onwards.Program CLC LDX#$5050 ...
Read MoreHow to parse JSON object in iPhone/iOS?
JSON stands for Javascript object notation. Most of the when dealing with APIs or any other services the data is returned in JSON format and we need to convert it to usable and supporte language formats.Foundation framework of iOS provides a class JSONSerialization to convert JSON into supported formats like Dictionary, strings, Bool etc.The JSONSerialization class provides a method jsonObject(with:options:) that parses json and returns Any as result, and an error if the data cannot be parsed.// Example JSON: /* { "age": 42.0, "name": { "firstName": “tut” } } */Let’s see this with help ...
Read MoreWhat is the significance of dreams in our life?
Great leaders and entrepreneurs from Bill Gates to Steve Jobs, from Winston Churchill to Mahatma Gandhi had the courage to dream something. Every great movement in history has the dream and vision of these personalities recorded.Dreams can be understood as aspirations and ambitions of a person to achieve a target or a goal in life for at an individual level or for a social cause. To achieve success in true spirit in your life, dreams play a very significant role. It can be understood by the following points -Give Momentum To the LifeDreams help an individual get a purpose in ...
Read MoreHow to URL encode a string (NSString) in iPhone?
When developing API based web applications we definitely need to interect with Multiple web services and URLs. The url may contain special character, search terms, queries, headers and many other things depending on the service we need. That’s why we need to have some kind of encoding so that the URL we are creating and the URL being called are same.To achieve the same with Objective C we can use −#import "NSString+URLEncoding.h" @implementation NSString (URLEncoding) -(NSString *)urlEncodeUsingEncoding:(NSStringEncoding)encoding { return (NSString *)CFURLCreateStringByAddingPercentEscapes(NULL, (CFStringRef)self, NULL, (CFStringRef)@"!*'"();:@&=+$, /?%#[]% ", CFStringConvertNSStringEncodingToEncoding(encoding)); } @endAnother way to achieve URL encoding in Objective C is ...
Read MoreHow to exit iPhone application gracefully?
There are times we would like to close our application due to some reason, for example if there is no internet connection and you’d like to kill the app, or any other reason according to the application. Though apple prefers not quitting the application, hence it is not supported in any of the applications.The only way to logically kill an iOS application is by pressing the home button. As soon as the home button is pressed, and the application exits the memory is freed up and cleaned.Still there are other ways to quit an application.exit − this command may be ...
Read MoreALE pin in 8085 Microprocessor
Intel 8085 is an 8-bit microprocessor which has 16 address line for 16-bit address of a memory location. 8 higher order address bits are transferred through 8 bit lines out of this 16 address line while remaining lower order 8 bits of the address are sent through another 8 lines multiplexed with the 8-bit data lines. ALE (Address Enable Latch) is the control signal which is nothing but a positive going pulse generated when a new operation is started by microprocessor. So when pulse goes high means ALE=1, it makes address bus enable and when ALE=0, means low pulse makes ...
Read MoreIO/M* PIN in 8085 Microprocessor
In Intel 8085 microprocessor I/O and memory operation are differentiated by IO/m` status signal.IO/M` stands for ‘input-output/memory`’. When IO/M` is logic 0, it means that the address sent out by the processor is for addressing a memory location. When IO/M` is logic 1, it means that the address sent out by the processor is for addressing an I/O port.Fig: Pin diagram of 8085Let us consider this following example and also the voltage level at IO/M* pin. If we consider instruction MVI E, ABH then it means that ABH will be moved or copied to the register E. And as a ...
Read MoreProgrammer's view of 8085 Microprocessor
Intel 8085 receives 8-bit information on AD7-0 from memory or in-port which resides inside the microprocessor via“register”. A register is a group of flip-flops, where each flip-flop can store a bit of information. To store 8 bitsof information, the size of a register in 8085 has to be 8 bitsThe advantages of a register over a memory location is the contents of a register can be accessed much faster by the microprocessor, compared with the contents of a memory location.However, the disadvantages of a register over a memory location are as follows.If there are too many registers, they occupy a lot ...
Read MoreWhat is Xcode error "Could not find Developer Disk Image"?
The Xcode error occurs when the xcode version and ios versions don’t match. Usually it happens when the Xcode version is less than the device iOS version. i.e. the Xcode is too old for the device. This is a compatibility issue which can be resolved by performing some steps.Always check if the device you are using has compatible iOS version to the Xcode version, if not Xcode requires an update.If you are not able to update XCode or there is no update being shown for Xcode, please check if the OS needs an update.In some cases you would not like ...
Read MoreAccumulator or Register A in 8085 Microprocessor
Register A is an 8-bit register used in 8085 to perform arithmetic, logical, I/O & LOAD/STORE operations. Register A is quite often called as an Accumulator. An accumulator is a register for short-term, intermediate storage of arithmetic and logic data in a computer's CPU (Central Processing Unit).In an arithmetic operation involving two operands, one operand has tobe in this register. And the result of the arithmetic operation will be stored or accumulated in this register. Similarly, in a logical operation involving two operands, one operand has to be in the accumulator. Also, some other operations, like complementing and decimal adjustment, ...
Read More