?
Solved

HOW CAN I WRITE ASSEMBLER IN TURBO PASCAL ASM?

Posted on 1997-10-29
1
Medium Priority
?
1,636 Views
Last Modified: 2012-08-14
I HAVE THIS PROGRAM

CODE SEGEMENT
ASSUME CS:CODE,DS:CODE
START:MOV AX,CODE
      MOV DS,AX
      MOV AX,7
      INT 21H
      MOV AX,4
      INT 21H
END START
CODE ENDS
I WANT TO KNOW HOW CAN I WRITE ASSEMBLERPROGRAM LIKE THIS
IN TURBO PASCAL ASM ?
0
Comment
Question by:noam
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
mes earned 30 total points
ID: 1216379
Hi noam,

In Turbo Pascal you can make a the same procedure START as you see above like this:

procedure start; assembler;
  asm
    push ds
    mov  ax,code
    mov  ds,ax
    mov  ax,7
    int  21h
    mov  ax,4
    int  21h
    pop  ds
  end
end;

Greetings,
MES.

0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
Check out what's been happening in the Experts Exchange community.
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

719 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