Preview

complicated analysis

Satisfactory Essays
Open Document
Open Document
1848 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
complicated analysis
8086-80486 – Inst
Set & ALP
MOV Revisted

EX 1. Swap the word at memory location
24000H with 25000H

24000H

24001H

25000H
25001H

MOV AX, 2000H



Initialise Segment
Register



Initialise Offset Registers



Transfer data from reg to mem temporarily



Store back the data in mem MOV DS, AX

MOV SI, 4000H
MOV DI, 5000H
MOV BX, [SI]
MOV DX, [DI]
MOV [SI], DX
MOV [DI], BX

Ex 2
MOV BX, 2000H
MOV DI, 10H
MOV AL, [BX+DI]

MOV DI, 20H
MOV [BX+DI], AL

DS: 2020  DS: 2010

Different mov options
R



M

M



R

R



R

M



I

R



I

MOV

DST,SRC



Copies the contents of source to destination



No Flags Affected



Size of source and destination must be the same



Source can be register, memory, or immediate data



Destination can be register or memory location

Types of Instruction





Data Transfer Instructions
Arithmetic Instructions
Logical Instructions
Branch and Program control Instructions

8086-80486 – Inst
Set & ALP
A Simple Program

INC Destination


Destination – Register or memory location ( specified in 24 diff ways)



( AF, OF, PF, SF, ZF affected, CF not affected)



INC BL



INC BX



DEC Destination

Inc / Dec the contents of a
Memory location


Specify the data size in memory



use directive



BYTE PTR, WORD PTR, DWORD PTR



INC WORD PTR [BX]



INC BYTE PTR[BX]



BX-1000H DS- 2000H

21000
21000

FF
00

21001
21001

00
00
01

Flags
INC WORD PTR [BX]

INC BYTE PTR[BX]



OF – 0



OF – 0



SF – 0



SF – 0



ZF - 0



ZF -1



PF – 1(follows only low byte)



PF -1



AF - 1



AF -1

Branch Instructions
JE/JZ

Displacement (-128 to +127)

JNE/ JNZ

Displacement (-128 to +127)

Copy a block of data from one memory area to another memory area- from

You May Also Find These Documents Helpful

  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    2. What type of instruction is used to execute different code based on a condition? -Jumps…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    The second category of fault changes individual instructions in the text segment. These faults are intended to approximate the assembly-level manifestation of real C-level programming…

    • 285 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Analysis

    • 1230 Words
    • 5 Pages

    In 2000, DSM senior executives were provoked with a dilemma to either continue on supporting the past business services that DSM used to offer – the core petrochemicals business – or make an eventually courageous investment in the future via growing the life sciences and performance materials businesses. Subsequently, when they decided to go for the latter and alter the company’s portfolio through divestitures and acquisitions in food and pharmaceutical sectors, DSM primary objective was to make the company concentrate on growth opportunities. In addition, DSM’s Information and Communication Technology (ICT) organizational infrastructure was absolutely decentralized. However, to serve the needs of a giant company that was going through rapid yet massive transformation, it was vivid enough to identify the essence of a complete transformation of ICT organization; that is a standardized ICT infrastructure (i.e. networks, servers, desktops, internet, service providers, and larger business applications such as SAP). In order for ICT organization to be a business-oriented management organization with service delivery skills, DSM had to outsource partners to facilitate the acquisition process and enable faster and smoother integration into the DSM organization. One more challenge DSM executives faced was the fact that they had to involve ICT in the acquisition of the Vitamins & Fine Chemicals Division from Roche, especially when they had underestimated the cost of disentanglement and integration by a factor of 20, which more realistic figures had then been taken into account. The integration and transformation of Roche Vitamins had been done simultaneously; thanks to the VITAL program (which brought on a huge advantage later on when EVITA was introduced). DSM executives learned that with ICT…

    • 1230 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Analysis 3

    • 778 Words
    • 2 Pages

    Wooow! Three weeks went by so fast and I haven’t even noticed it. Ooh well chapter 10 was the best out of all the ones I read so far. I feel like this chapter will bring the most use to me and my sex life. I often wondered if Earth would be as populated if sex wasn’t pleasurable. Or what would happen if condoms didn’t exist or if condoms came around 50 years later or 50 years earlier. I just have so many questions and I would love to know the answers. Honestly reading the book makes me want to know what sex feels like and if I am missing out on anything. The book makes it seem good and fun, and now I feel weird. Moving on, oral sex just creeps me out. Why would you put something that gross in to your mouth. Guys pee out of their dick and girls have periods and pee and all the nasty stuff comes out of the place people put their mouth on. C’mon really? That place is like super dirty. I mean I know we take showers but still I can’t even imagine myself giving a guy a blow job. I don’t even think I will let a guy go down on me. Another thing that scares me is anal intercourse. I mean that just sounds painful but I can’t really judge without trying it either and the world is just a weird place. But what I never understood was why guys like boobs and butts? They are just rolls of fat hanging down. Why don’t guys like belly fat hanging down low? Probably for the same reason girls like abs and nice butts on nice guys rather than fat. But why? Why are abs more attractive than fat, what is it in us that we like one over the other. Why don’t we like fat and find abs weird. Got some weird questions going on over here.…

    • 778 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Analysis 2

    • 688 Words
    • 2 Pages

    The essay “Does the Internet Make You Smarter?” talks about how the internet has evolved from classic print and how it affects people in today’s society. The author talks about what people have the capability to create using the internet and electronics. The author also talks about the mediocre things that are being published on the internet. Throughout the essay the author talks about the issues that society came upon when the first printing press was created and how it is similar to what we are encountering today. Going along in this essay the author brings up how there are things that get released that can help people of today and there are also things created that aren’t as beneficial to society. He goes on to say that what is created that can benefit us takes much longer for the widespread of it than the time it takes for the widespread of something less important.…

    • 688 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Analysis 4

    • 388 Words
    • 2 Pages

    As you were growing up, in what ways were you reared to be individualistic or collectivistic? Which orientation was the predominant cultural value of your family?…

    • 388 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    I’m in someone’s room, in someone’s bed, and I don’t know how I got her. Then I remember and it all comes crashing down in a thousand jagged pieces. I jerked the covers back, relieved that all my clothes are still on. The clock on the nightstand says seven a.m. The bus leaves in an hour.(35)During this moment in time Sid realizes that she had made a big mistake about going to meet that boy.…

    • 948 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Copyright © 2012 Pearson Education, Inc. 0-4 2 Stored Program Concept A program can be encoded as bit patterns and stored i main memory. F d t d in i From th there, the CPU can then extract the instructions and execute them. In turn, the program to be executed can be altered easily.…

    • 783 Words
    • 4 Pages
    Satisfactory Essays
  • Good Essays

    1. Describe the specific goal you set for this course at the beginning of the semester and include information and strategies you have discovered to support your goal. For this course, I had told myself I was going to read all of the chapters. Go through all of the power points and really understand them. Another goal I had set was to keep an A throughout the semester. Also, I told myself I was not going to procrastinate. I procrastinate a lot and this semester I didn’t want to procrastinate, I wanted to try something new and try and get all of my assignments done before the weekend. While going through the course, I have taught myself to read the chapters like if it was a book. When I read chapters, it usually doesn’t stay in my brain, but when I pretend it’s a book and it has a story, I remember more things. Taking the quizzes a day or two later helped me not to procrastinate. Another thing that…

    • 763 Words
    • 4 Pages
    Good Essays
  • Good Essays

    In our society, power is represented by wealth and status, however people with disabilities lack these because they receive fewer opportunities. In the novella, Of Mice and Men by John Steinbeck, two characters named George and Lennie suffer under society’s social norms. Lennie is inferred to be mentally disabled due to his child-like actions, and he must receive guidance from George to complete daily tasks. Due to George’s caretaking of Lennie, he must sacrifice portions of his wealth and status to support a “normal life” for Lennie. In the stand-up “A Lesson for Everyone” by Whoopi Goldberg, Whoopi portrays a disabled woman that explains her experiences as a person with a disability in society. In the disabled woman’s life, she also must…

    • 950 Words
    • 4 Pages
    Good Essays
  • Good Essays

    If your friend is at the verge of harming themselves,or wants to harm others. Would you sacrifice your friendship to save their life and many others, or will you not tell and lose them all together. What would you do, would you tell or not to tell? The author of this text is Mary Kate Frank and she has many reasons and explanations to support why you should tell. Although there are some readers of ´´To Tell or Not To Tell´´ that have argued that you will be called a tattletale if you tell an adult that something bad is going to happen, closer examination shows that if you don't tell an adult or call 911, someone could get hurt.…

    • 741 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Homework Analysis

    • 162 Words
    • 1 Page

    When I have homework I feel pretty normal because we almost always have homework. Sometimes we have a ton of homework in other subjects and then we have math homework. On these nights I feel like I don't have enough time to do it because I have other after school activities that might take away three hours at most on some nights. Even though I have a lot of homework some nights I finish it but I'm usually up really late so the next day I’m really tired. This makes me not pay as much attention in some classes that I would normally pay a lot of attention in. It’s not so much the written homework that gets me so much. It’s the test that we have crammed in every week. So, in summary, the homework isn't usually to bad but when it gets staked up…

    • 162 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Homework Analysis

    • 303 Words
    • 2 Pages

    1. How relevant are the concepts of competencies to the jobs in a chicken-processing plant?…

    • 303 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Sp Analysis

    • 1631 Words
    • 7 Pages

    The company is engaged in the retail sale of books and stationery. The company operates primarily in the UK but has limited presence in other cities like Paris, Shannon, Copenhagen and Stockholm.…

    • 1631 Words
    • 7 Pages
    Good Essays
  • Satisfactory Essays

    memory system

    • 5335 Words
    • 22 Pages

    Give a block diagram similar to the one in Figure 5.10 for a 8M × 32 memory using…

    • 5335 Words
    • 22 Pages
    Satisfactory Essays

Related Topics