Samual Sam has Published 2310 Articles

Unit Testing for C# Code

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

1K+ Views

Unit testing is a key for C# code since it can help in maintaining code in the development process. It lets you know about the problems in the development cycle. With Unit Testing, you can make the code reliable and reusable. One of the fundamental principles of adopting unit testing ... Read More

Instruction type DAD rp in 8085 Microprocessor

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

19K+ Views

In spite of the fact that 8085 is an 8-bit microprocessor, but there are some instructions are there available in the 8085 instruction set which can do 16-bit additions also. As the 8085 internal architecture is only 8-bits, this instruction easily takes double the time needed to add two 8-bit ... Read More

First Class functions in Python

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

2K+ Views

In different programming languages, First Class objects are those objects, which can be handled uniformly. First Class objects can be stored as Data Structures, as some parameters of some other functions, as control structures etc. We can say that a function in Python is First Class Function, if it supports ... Read More

Instruction type ANI d8 in 8085 Microprocessor

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

8K+ Views

In 8085 Instruction set, ANI is a mnemonic, which stands for “ANd Immediate with Accumulator” and “d8” stands for any 8-bit or 1-Bytedata. This instruction is used to AND 8-bit immediate data with the Accumulator’s content. The result of this ANDingoperation will be stored in the Accumulator itself over writing ... Read More

Template matching using OpenCV in Python

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

959 Views

The Template matching is a technique, by which a patch or template can be matched from an actual image. This is basically a pattern matching mechanism. In Python there is OpenCV module. Using openCV, we can easily find the match. So in this problem, the OpenVC template matching techniques are ... Read More

Instruction type ORI d8 in 8085 Microprocessor

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

2K+ Views

In 8085 Instruction set, ORI is a mnemonic that stands for “OR Immediate with Accumulator” and “d8” stands for any 8-bit data. This instruction is used to OR 8-bit immediate data with the Accumulator. The result of ORing will be stored in the Accumulator itself. As it is a logical ... Read More

Instruction type XRI d8 in 8085 Microprocessor

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

2K+ Views

In 8085 Instruction set, XRI is a mnemonic that stands for “eXclusive OR Immediate with Accumulator” and “d8” stands for any 8-bit data. This instruction is used to Ex-OR 8-bit immediate data with the Accumulator. The result of Ex-ORing will be stored in the Accumulator overwriting its previous content. As ... Read More

Send mail with attachment from your Gmail account using Python

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

10K+ Views

In this article, we will see how we can send email with attachments using Python. To send mail, we do not need any external library. There is a module called SMTPlib, which comes with Python. It uses SMTP (Simple Mail Transfer Protocol) to send the mail. It creates SMTP client ... Read More

Instruction type STC in 8085 Microprocessor

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

3K+ Views

In 8085 Instruction set, STC stands for “SeT the Carry flag”. It sets the cy flag to the 1 state, immaterial of its earlier value. It performs set operation on the cy flag, and the result is stored back in the cy flag. Mnemonics, Operand Opcode(in HEX) ... Read More

Instruction type CPI d8 in 8085 Microprocessor

Samual Sam

Samual Sam

Updated on 30-Jul-2019 22:30:23

6K+ Views

In 8085 Instruction set, CPI is a mnemonic that stands for “ComPare Immediate with Accumulator” and here d8 stands for any 8-bit data or 1-Byte data. This instruction is used to compare Accumulator with 8-bit immediate data. The result of the comparison will be stored in an internal register not ... Read More

Advertisements