Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

MC68000 string matching program !!!

Dear Sir/Madam,

I'm a beginner in assembler programming....now, I have created a string matching program..but I don't know how to create a
subroutine function. Do anyone can help this ??

function 1.) after match the both string, if see "?", "?" is equal
to any one of char.

function 2.) after match the both string, if see "*". "*' is equal
to all/any other char...etc.

For example: "Happy" match "Hap?y" ok, "Ha*" ok...etc

Many thanks

Comments

  • IDKIDK Member Posts: 1,784
    : Dear Sir/Madam,
    :
    : I'm a beginner in assembler programming....now, I have created a string matching program..but I don't know how to create a
    : subroutine function. Do anyone can help this ??
    :
    : function 1.) after match the both string, if see "?", "?" is equal
    : to any one of char.
    :
    : function 2.) after match the both string, if see "*". "*' is equal
    : to all/any other char...etc.
    :
    : For example: "Happy" match "Hap?y" ok, "Ha*" ok...etc
    :
    : Many thanks
    :
    Funcs are made easely with call, and at the end of the func there's a ret.

    [code]
    call idk
    mov ax,4C00h
    int 21h

    idk:
    ret
    [/code]
Sign In or Register to comment.