GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

Author Archives: Anonymous

Where is the side heading in a manuscript is keyed?

Where is the side heading in a manuscript is keyed?

Read Details

If you put a colon or comma after the salutation & complimen…

If you put a colon or comma after the salutation & complimentary close (Ex: Dear Dr. Chang,) what type of punctuation style is that?

Read Details

What does “ergonomics” mean?

What does “ergonomics” mean?

Read Details

This is the act of inputting text, data, and commands into a…

This is the act of inputting text, data, and commands into a computer using physical hardware that features an arrangement of buttons or keys. 

Read Details

How many blank lines separate the date and the inside addres…

How many blank lines separate the date and the inside address in a letter.

Read Details

What is the standard rule for the number of times to hit “sp…

What is the standard rule for the number of times to hit “space” after the period at the end of a sentence. 

Read Details

Which of the following is an example of a “complimentary clo…

Which of the following is an example of a “complimentary close?”

Read Details

A 67-year-old male with a 45-pack-year smoking history prese…

A 67-year-old male with a 45-pack-year smoking history presents with chronic cough and progressive dyspnea. Spirometry reveals an FEV1/FVC ratio of 0.62 after bronchodilator administration. Which diagnosis is most consistent with these findings?

Read Details

Which statement best describes the role of laboratory testin…

Which statement best describes the role of laboratory testing in patient care?

Read Details

The next few questions deal with the following program and i…

The next few questions deal with the following program and its implementation.  Some of the code is identified with line numbers that will be referenced in later questions. program StringProgram;#include( “stdlib.hhf” );#include( “cs17string.hla” ); static stringData : dword;procedure xOut( stringData : dword; searchFor : byte ); @nodisplay; @noframe;static dReturnAddress : dword; dCXRegister : word; dEBXRegister : word; data : byte := ‘x’; // line 1begin xOut;// the next two statements are section 2 mov( CX, dCXRegister ); mov( EBX, dEBXRegister ); pop( dReturnAddress ); pop( CX ); mov( CL, searchFor ); pop( stringData ); push( dReturnAddress ); push( dEBXRegister ); push( dCXRegister ); mov( stringData, EBX ); mov( data, CL );bodyLoop: mov( [ EBX ], CH ); cmp( CH, 0 ); // line 4 je endLoop; cmp( CH, searchFor ); je foundIt; jmp incEBX;foundIt: mov( CL, [ EBX ] ); jmp endLoop;   // line 2incEBX: inc( EBX ); jmp bodyLoop;endLoop: pop( CX ); pop( EBX );ret();end xOut;begin StringProgram; stdout.put( “Please enter a string to process”, nl );// the next six instructions are section 1mov( @size( byte ), AL );mov( 80, BL );inc( BL );mul( BL );mov( 0, EBX );mov( AX, BX );malloc( EBX );push( stringData );mov( 80, CX );  push( CX );       // line 3call gets;// print the stringstdout.put( “—-> here is the string you entered: ” );push( stringData );call puts;stdout.newln();push( stringData );mov( 0, CX );mov( ‘h’, CL );push( CX );call xOut;stdout.put( “—-> here is the string after calling xOut: ” );mov( stringData, EAX );push( EAX );call puts;stdout.newln();// return what the malloc’ed memoryfree( stringData );end StringProgram;

Read Details

Posts pagination

Newer posts 1 2 3 4 … 86,441 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top