Click here to Skip to main content
16,005,169 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: develop an assembler in C++ Pin
toxcct8-Jun-05 0:11
toxcct8-Jun-05 0:11 
GeneralRe: develop an assembler in C++ Pin
Bob Stanneveld8-Jun-05 0:57
Bob Stanneveld8-Jun-05 0:57 
GeneralRe: develop an assembler in C++ Pin
Bob Stanneveld8-Jun-05 0:57
Bob Stanneveld8-Jun-05 0:57 
GeneralAudio Device testing wizard Pin
Ali_quaidian7-Jun-05 21:07
Ali_quaidian7-Jun-05 21:07 
GeneralJust wait thread. help !!! Pin
DTSCAN7-Jun-05 21:04
DTSCAN7-Jun-05 21:04 
GeneralDLL Language system troubles Pin
Kaworu27-Jun-05 20:58
Kaworu27-Jun-05 20:58 
GeneralInserting an icon on to a cell in Flexi Grid Pin
SharatJi7-Jun-05 20:58
SharatJi7-Jun-05 20:58 
Generaldevelop an assembler based on reqmts in VC++ Pin
emusing7-Jun-05 20:31
emusing7-Jun-05 20:31 
I have to develop an assembler based on the below processor description :

M05 is a new generation processor from Lintel Technologies. It is a simple 16 bit
multipurpose processor targeted for consumer electronic devices .It has a 16 bit accumulator
A , 16 bit flag register , a 16 bit data register D and a 16 bit memory pointer register P .
It also has a 16 bit Program Counter register PC and a Stack pointer SP.

It supports the following instructions .

* Move immediate data to A,D,P and SP
* Move data pointed by P register to A or D
* Perform arithmetic operation on A register with D register( add ,sub , adc , sbb ,xor
,or ,etc)
* Move data in A register to memory pointed by P
* Call subroutine and return
* Unconditional and conditional jump ( ie jump or carry etc)
* Jump to or call to address pointed by A

The registers A and D can be accessed as 8 bit units ( AH ,AL , DH , DL)

List down the set of all possible instructions and assign your own opcodes. Your assembler
should accept decimal and hexadecimal data . HExadecimal numbers start with a '0' prefix and
terminate with a literal 'H' - for example 0FFEFH . Any text that follows ";" in the same
line should be treated as a comment . Assure that the assembler is case insensitive.
GeneralRe: develop an assembler based on reqmts in VC++ Pin
Bob Stanneveld7-Jun-05 20:38
Bob Stanneveld7-Jun-05 20:38 
GeneralRe: develop an assembler based on reqmts in VC++ Pin
toxcct7-Jun-05 20:42
toxcct7-Jun-05 20:42 
GeneralRe: develop an assembler based on reqmts in VC++ Pin
Stlan7-Jun-05 22:59
Stlan7-Jun-05 22:59 
GeneralRe: develop an assembler based on reqmts in VC++ Pin
ThatsAlok7-Jun-05 23:05
ThatsAlok7-Jun-05 23:05 
GeneralVB/C++ DLL calls Pin
Member 20276077-Jun-05 16:54
Member 20276077-Jun-05 16:54 
Generaltemplates + overloading ofstream = AHH! Pin
FocusedWolf7-Jun-05 16:46
FocusedWolf7-Jun-05 16:46 
GeneralRe: templates + overloading ofstream = AHH! Pin
Christian Graus7-Jun-05 17:07
protectorChristian Graus7-Jun-05 17:07 
GeneralRe: templates + overloading ofstream = AHH! Pin
FocusedWolf7-Jun-05 17:21
FocusedWolf7-Jun-05 17:21 
GeneralRe: templates + overloading ofstream = AHH! Pin
Bob Stanneveld7-Jun-05 21:00
Bob Stanneveld7-Jun-05 21:00 
GeneralRe: templates + overloading ofstream = AHH! Pin
FocusedWolf8-Jun-05 3:59
FocusedWolf8-Jun-05 3:59 
GeneralRe: templates + overloading ofstream = AHH! Pin
Bob Stanneveld8-Jun-05 4:10
Bob Stanneveld8-Jun-05 4:10 
GeneralNeed to notify the parent dialog when in-place edit of CListCtrl takes place... Pin
Anonymous7-Jun-05 16:45
Anonymous7-Jun-05 16:45 
GeneralRe: Need to notify the parent dialog when in-place edit of CListCtrl takes place... Pin
Christian Graus7-Jun-05 17:18
protectorChristian Graus7-Jun-05 17:18 
GeneralRe: Need to notify the parent dialog when in-place edit of CListCtrl takes place... Pin
Anonymous7-Jun-05 19:17
Anonymous7-Jun-05 19:17 
GeneralNeeded some help in programming... Pin
Member 20247577-Jun-05 15:24
Member 20247577-Jun-05 15:24 
GeneralRe: Needed some help in programming... Pin
Christian Graus7-Jun-05 15:38
protectorChristian Graus7-Jun-05 15:38 
GeneralRe: Needed some help in programming... Pin
Member 20247577-Jun-05 15:47
Member 20247577-Jun-05 15:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.