THEORY : In 8085 microprocessor, There is no division operation. To get the result of the division, we should use the repetitive subtraction method. By using this program, we will get the quotient and the reminder. Here we also can be store the carry value. Then store the value of that performed resultant value. ALGORITHM : Step 1: LXI H,2000h; to point source memory location, register pair H-L is initialized.Step 2: MOV A, M; to move the value of memory to the accumulator.Step 3: INX H; to increment the value by 1 for the H-L register pair.Step 4: MOV B, M; to move the value of memory to the B register.Step 5: MVI C,00h; to load the value 00h in register C.Step 6: CMP B; to compare the value of the accumulator and the B register.Step 7: JC ; to jump on carry in step 11.Step 8: SUB B; to subtract the accumulator and B register value.Step 9: INR C; to increment the value of C register.Step 10: JMP; to jump on step 6 Step 11: INX H; to incre...
Template for submission of Survey papers for Literature survey (PaperCode) First A. Author, Second B. Author, Jr., and Third C. Author F. A. Author, Paper Name, Department of Computational Science, University, India ( e-mail: author1@ xyz.com). S. A. Author, Paper Name, Department of Computational Science,University, India ( e-mail: author2@ xyz.com). T. A. Author, Paper Name , Department of Computational Science, University, India ( e-mail: author3@ xyz.com). ABSTRACT Fill the text from your manuscript in different sections as shown below. Fill the text from your manuscript in different sections as shown below. Fill the text from your manuscript in different sections as shown below. Fill the text from your manuscript in different sections. Fill the text from your manuscript in different sections. Fill the text from your manuscript in different sections. Fill the text from your manuscript in different...
Which of the following is an example of a spooled device? a. A line printer used to print the output of a number of jobs. b. The terminal used to enter the input data for a Fortran program being executed. c. The secondary memory device in a virtual memory system. d. The swapping area on a disk used by the swapper. In spooling (Simultaneous Peripheral Operation On Line), a buffer is interposed between a running program and a slow-speed device involved with the program for input/output. For example, instead of writing lines directly to the line printer, the lines are written (temporarily) onto a disk. Thus, the program is allowed to run to completion without waiting for the (slow) printer to finish. When the printer becomes free, the lines can be printed from the disk file. 2. Which of the following is not normally contained in the directory entry of a file? a. Creation date. b. Access control list. c. A count of the number of free blocks in the disk. d. Filename an...
The new normal has also had positive impacts in my life. My friends see me as…….. One should spend at least half an hour everyday on hobbies for a better professional career. All of us should have goals in life to achieve success. A person who has a better EQ will achieve more success in professional life. It is difficult to enjoy work because end of the day it is monotonous. Happy customers and happy employees together make a successful company. Risk is nothing but better and newer ways of doing things. Continuous learning is absolutely essential to survive and sustain in the corporate sector. A successful career is a sum total of talent, hard work and opportunities. In this Globalization, Every company wants to spread its own business. Maybe they build a relationship with foreign companies. In this situation, English communication skills are helpful. এই বিশ্বায়নে, প্রতিটি সংস্থা নিজস্ব ব্যবসা ছড়িয়ে দিতে চায়। তারা বিদেশী সংস্থার সা...
Making PowerPoint Slides Avoiding the Pitfalls of Bad Slides Tips to be Covered Outlines Slide Structure Fonts Color Background Graphs Spelling and Grammar Conclusions Questions Outline Make your 1 st or 2 nd slide an outline of your presentation – Ex: previous slide Follow the order of your outline for the rest of the presentation Only place main points on the outline slide – Ex: Use the titles of each slide as main points Slide Structure – Good Use 1-2 slides per minute of your presentation Write in point form, not complete sentences Include 4-5 points per slide Avoid wordiness: use key words and phrases only Slide Structure - Bad This page contains too many words for a presentation slide. It is not written in point form, making it difficult both for your audience to read and for you to present each point. Although there are exactly the same number of points on this slide a...
AUTOMATA DEFINITIONS THIS SUBJECT IS FULLY BASED ON EXAMPLES, DEFINITIONS, GRAMMAR RULES, DIAGRAMS AND THEOREMS. IMPORTANT DEFINITIONS: DFA: A Deterministic Finite State Automaton (DFSA) is denoted by M and it is a set of 5-tuples i.e. M=(Q, Σ, δ, q 0 , F) where, * Q is a non-empty finite set of states * Σ is a non-empty finite set of input symbols * q 0 is the initial state or starting state. (q0 ∈ Q) * F is a non-empty finite set of final state. (F ⊆ Q). * δ (pronounce delta) is the transition function. Q x Σ → Q. δ(q,a) = p means, if the automation is in state q and reading a symbol a, it goes to state p in the next instant, moving the pointer one cell to the right. NDFA: A Non-Deterministic Finite State Automaton (NFSA) is denoted by M and it is a set of 5-tuples i.e. M=(Q, Σ, δ, q 0 , F) where, * Q is a non-empty finite set of states * Σ is a non-empty finite set ...
In this tutorial, we are going to learn how to use SQL in PL/SQL . SQL is the actual component that takes care of fetching and updating of data in the database whereas PL/SQL is the component that processes these data. Further, in this article, we will also discuss how to combine the SQL within the PL/SQL block. YOU MIGHT LIKE: https://www.shoutcoders.com/xamppsqlset2/ https://www.shoutcoders.com/sqlexampleset1/ EXAMPLE 3: 1> Create the following tables: i ) Hotel (H_no, Name, Address) create table Hotel (H_no char(4), Name varchar(20), address varchar(20)) OUTPUT: Table created. ii) Room (R_no, Rtype, H_no, Price) create table Room (R_no char(4), Rtype char(6), H_no char(4), Price int(6)); OUTPUT: Table Created. iii) Book (H_no, G_no, R_no, Dt_from, Dt_to ) create table Book (H_no char(4), G_no char(4), R_no char(6), dtfrom date, dtto date) OUTPUT: Table Created. iv) Guest (G_no, G_name, G_address) create table guest (...
What is DMA and Why it is used? Direct memory access (DMA) is a mode of data transfer between the memory and I/O devices. This happens without the involvement of the processor. We have two other methods of data transfer, programmed I/O and Interrupt driven I/O. Let’s revise each and get acknowledge with their drawbacks. In programmed I/O, the processor keeps on scanning whether any device is ready for data transfer. If an I/O device is ready, the processor fully dedicates itself in transferring the data between I/O and memory. It transfers data at a high rate, but it can’t get involved in any other activity during data transfer. This is the major drawback of programmed I/O. In Interrupt driven I/O, whenever the device is ready for data transfer, then it raises an interrupt to processor. Processor completes executing its ongoing instruction and saves its current state. It then switches to data transfer which causes a delay. Here, the processor doesn’t keep scanning for periphe...
In Laravel, there are several types of relationships that you can define between your Eloquent models. These relationships allow you to easily manage and query the related data. Here are the main types of relationships: 1. One To One A one-to-one relationship is used to define a relationship where one record in a table is associated with one and only one record in another table. Example: A `User` has one `Profile`. 2. One To Many A one-to-many relationship is used to define a relationship where a single record in one table can have multiple related records in another table. Example: A `Post` has many `Comments`. 3. Many To One This is the inverse of the one-to-many relationship. It defines a relationship where many records in one table are related to a single record in another table. Example: Many `Comments` belong to a single `Post`. 4. Many To Many ...
Comments
Post a Comment
Please do not enter any spam link in the comment box.