Solved

Motorola 68000 Processor (CCR:V)

Posted on 2009-04-14
3
430 Views
Last Modified: 2013-12-10
Hi,
I do not quite understand the V(overflow) in the CCR of the motorola 68K processor.
I hope someone can explain to me in details of it.
Thanks in advance.
04/15/09 Added Programming Languages and Assembly Zones - Callandor, Hardware Zone Advisor

Open in new window

0
Comment
Question by:csharp_learner
  • 2
3 Comments
 
LVL 26

Accepted Solution

by:
PCBONEZ earned 500 total points
ID: 24136402
I'm not a programmer but I'll try.
The V-bit is set when the most significant digit changes.

[imaginary counter]
000 - initial condition
001 - not set
010 - not set
011 - not set
100 - set
101 - not set
110 - not set
111 - not set
000 - set
0
 

Author Comment

by:csharp_learner
ID: 24144511
If there is an Add or Sub(Byte/Word/Longword) involved is the above concecept still applicable?
0
 
LVL 26

Expert Comment

by:PCBONEZ
ID: 24146188
I was just trying to add another brain to this as no one else tried.
But, you are already getting beyond the programming capacity of this non-programmer's brain.

I think what you are looking for begins on page 149.
http://books.google.com/books?id=JPi9zrjFzMEC&pg=PA151&lpg=PA151&dq=Motorola+68000+overflow+ccr+v&source=bl&ots=K_S4Q1WaaH&sig=owt9L9VTfQ1YkrgSLbi4hoeqff0&hl=en&ei=M57lSfKQBKGCtgPd1OWWBA&sa=X&oi=book_result&ct=result&resnum=9#PPA150,M1

You might wanna ask a mod to move this into a programming zone. Us hardware guys lurk in "CPU Processors" and your question is a programming question. You'd get a better response in another zone.
- Use the "Request Attention" Link.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

There is an easy way, in .NET, to centralize the treatment of all unexpected errors. First of all, instead of launching the application directly in a Form, you need first to write a Sub called Main, in a module. Then, set the Startup Object to th…
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now