SlideShare a Scribd company logo
1 of 2
Please help!! I need to make the instructions for these by manipulating the registers such as CPP,
SP, TOS, H
The Level-2 instruction formats are:
Q1) ROT // rotate: Pop two words from stack as
// RotationCount: m[SP]
// ValueToBeRotated: m[SP-1]
// and push the rotated value on the stack m[SP-1]
Q2) ADDD // integer double word addition:
// Pop two double words (top four values) from the stack as
// B_Low = m[SP], B_High = m[SP - 1],
// A_Low = m[SP - 2], A_High = m[SP - 3]
// Perform addition on A_Low and B_Low, and propagate the carry
// to the addition result of A_High and B_High
// Push the result as
// m[SP - 2] = Result_Low
// m[SP - 3] = Result_High
where m stands for a 1-d array
these will be uploaded as a .ijvm to a mic-1 simulator
Solution
Ans;
Please help!! I need to make the instructions for these by manipulatin.docx

More Related Content

More from kdavid658

Please show ALL work- If written please show with neat handwriting- I.docx
Please show ALL work- If written please show with neat handwriting- I.docxPlease show ALL work- If written please show with neat handwriting- I.docx
Please show ALL work- If written please show with neat handwriting- I.docxkdavid658
 
Please only answer if you know the answer- I have posted this twice an.docx
Please only answer if you know the answer- I have posted this twice an.docxPlease only answer if you know the answer- I have posted this twice an.docx
Please only answer if you know the answer- I have posted this twice an.docxkdavid658
 
Please make comments of the following discussion in 150-200 words-If y.docx
Please make comments of the following discussion in 150-200 words-If y.docxPlease make comments of the following discussion in 150-200 words-If y.docx
Please make comments of the following discussion in 150-200 words-If y.docxkdavid658
 
PLEASE HELP! 1- The integrating power of globalization forces managers.docx
PLEASE HELP! 1- The integrating power of globalization forces managers.docxPLEASE HELP! 1- The integrating power of globalization forces managers.docx
PLEASE HELP! 1- The integrating power of globalization forces managers.docxkdavid658
 
please help with answer and explain homo and lumo in terms of acid-bas.docx
please help with answer and explain homo and lumo in terms of acid-bas.docxplease help with answer and explain homo and lumo in terms of acid-bas.docx
please help with answer and explain homo and lumo in terms of acid-bas.docxkdavid658
 
Please help me with this crossword!SolutionAcross- 4-Constitutional Is.docx
Please help me with this crossword!SolutionAcross- 4-Constitutional Is.docxPlease help me with this crossword!SolutionAcross- 4-Constitutional Is.docx
Please help me with this crossword!SolutionAcross- 4-Constitutional Is.docxkdavid658
 
Please Type Answer! Compare and contrast the properties of acids and b.docx
Please Type Answer! Compare and contrast the properties of acids and b.docxPlease Type Answer! Compare and contrast the properties of acids and b.docx
Please Type Answer! Compare and contrast the properties of acids and b.docxkdavid658
 

More from kdavid658 (7)

Please show ALL work- If written please show with neat handwriting- I.docx
Please show ALL work- If written please show with neat handwriting- I.docxPlease show ALL work- If written please show with neat handwriting- I.docx
Please show ALL work- If written please show with neat handwriting- I.docx
 
Please only answer if you know the answer- I have posted this twice an.docx
Please only answer if you know the answer- I have posted this twice an.docxPlease only answer if you know the answer- I have posted this twice an.docx
Please only answer if you know the answer- I have posted this twice an.docx
 
Please make comments of the following discussion in 150-200 words-If y.docx
Please make comments of the following discussion in 150-200 words-If y.docxPlease make comments of the following discussion in 150-200 words-If y.docx
Please make comments of the following discussion in 150-200 words-If y.docx
 
PLEASE HELP! 1- The integrating power of globalization forces managers.docx
PLEASE HELP! 1- The integrating power of globalization forces managers.docxPLEASE HELP! 1- The integrating power of globalization forces managers.docx
PLEASE HELP! 1- The integrating power of globalization forces managers.docx
 
please help with answer and explain homo and lumo in terms of acid-bas.docx
please help with answer and explain homo and lumo in terms of acid-bas.docxplease help with answer and explain homo and lumo in terms of acid-bas.docx
please help with answer and explain homo and lumo in terms of acid-bas.docx
 
Please help me with this crossword!SolutionAcross- 4-Constitutional Is.docx
Please help me with this crossword!SolutionAcross- 4-Constitutional Is.docxPlease help me with this crossword!SolutionAcross- 4-Constitutional Is.docx
Please help me with this crossword!SolutionAcross- 4-Constitutional Is.docx
 
Please Type Answer! Compare and contrast the properties of acids and b.docx
Please Type Answer! Compare and contrast the properties of acids and b.docxPlease Type Answer! Compare and contrast the properties of acids and b.docx
Please Type Answer! Compare and contrast the properties of acids and b.docx
 

Recently uploaded

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

Please help!! I need to make the instructions for these by manipulatin.docx

  • 1. Please help!! I need to make the instructions for these by manipulating the registers such as CPP, SP, TOS, H The Level-2 instruction formats are: Q1) ROT // rotate: Pop two words from stack as // RotationCount: m[SP] // ValueToBeRotated: m[SP-1] // and push the rotated value on the stack m[SP-1] Q2) ADDD // integer double word addition: // Pop two double words (top four values) from the stack as // B_Low = m[SP], B_High = m[SP - 1], // A_Low = m[SP - 2], A_High = m[SP - 3] // Perform addition on A_Low and B_Low, and propagate the carry // to the addition result of A_High and B_High // Push the result as // m[SP - 2] = Result_Low // m[SP - 3] = Result_High where m stands for a 1-d array these will be uploaded as a .ijvm to a mic-1 simulator Solution Ans;