Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cs402 GDB fall 2010 on 31 jan 2011
#1
Assignment No.5 & GMDB Topic and Quiz!Dated: Jan 21, 11Dear students Assignment No.5 has been uploaded its due date is 27th of January, 2011.
Please note the schedule of coming events also:
1. GMDB:
GMDB for cs402 will be opened on Monday 31st of January, 2011; the topic for GMDB is,
"Formal Languages set is superset of Regular Languages set"
Note: You can post your comments one time only on GMDB within two days of launch of GMDB.
2. Quiz No.4:
Quiz No.4 will be launched on 2nd of February, 2011; it will be from Lecture No# 33 to 42.
[Note that it will be available strictly for one day only].
Reply
#2
First of all, high-level languages cannot enhance assembly since that is able to express everything the CPU can do. Basically, what a compiler generally does is to generate assembly or machine code (which has a 1:1 mapping to assembly language). The advantage of high-level languages can be simplicity, maintainability and portability.

It is possible to combine assembly with other languages if said languages support this. What you need to do is to assemble and compile the source files separately and then link the resulting object files (not executables!) with a linker. To support this, most assemblers/compilers have directives like to indicate whether a symbol is external or to be exported.

Furthermore, some languages support inline assembly (i.e., embedding assembly code directly in the source). For instance, the optional "asm" keyword in C and C++ indicates that a piece of code is to be assembled. The syntax and usage of this keyword varies from compiler to compiler so you need to check the documentation or at least look for examples.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  MGT501 Human Resource Management GDB No.1 Discussions and Solutions Fall 2014 Vuhelper 0 3,509 12-04-2014, 09:07 PM
Last Post: Vuhelper
  MGT211 Introduction To Business GDB No 1 Solution Ideas Fall 2014 Vuhelper 0 1,669 12-04-2014, 03:20 PM
Last Post: Vuhelper
  FIN711 Advanced Financial Accounting GDB No. 01 Fall 2014 Last Date 8th December Vuhelper 0 2,079 12-03-2014, 09:15 PM
Last Post: Vuhelper
  MGT703 Strategic Management GDB No.1 Fall 2014 Solutions Ideas Vuhelper 0 1,847 12-03-2014, 08:45 PM
Last Post: Vuhelper
  MGT201 Financial Management GDB No. 01 Solution Fall 2014 Last date is 4th Dec 2014 Vuhelper 0 2,474 12-03-2014, 03:58 PM
Last Post: Vuhelper
  MGT520 International Business GDB No. 01 Solution and Discussion Fall 2014 viki 0 2,587 12-03-2014, 03:03 PM
Last Post: viki
  GDB No 1 MGT301 Principles of Marketing Solution and Discussion December Fall 2014 viki 0 2,507 12-03-2014, 02:45 PM
Last Post: viki
  MGT602 Entrepreneurship GDB No 1 Discussion and Solution Fall 2014 Vuhelper 0 2,479 12-02-2014, 10:36 PM
Last Post: Vuhelper
  MGT713 Production / Operations Management GDB No. 1 Solutions Fall 2014 vuassignments 0 2,431 11-26-2014, 02:57 PM
Last Post: vuassignments
  MKT711 Marketing Research GDB No. 1 Solutions Fall 2014 Entboy 0 1,377 11-25-2014, 09:04 PM
Last Post: Entboy

Forum Jump:


Users browsing this thread: 1 Guest(s)