Skip to content

Instantly share code, notes, and snippets.

View spellancer's full-sized avatar

Sarkis Nanyan spellancer

  • Russian Federation
View GitHub Profile
@spellancer
spellancer / gist:2070502
Created March 18, 2012 10:52
homework1 Fedor
; Template for console application
.586
.MODEL flat, stdcall
OPTION CASEMAP:NONE
Include kernel32.inc
Include masm32.inc
IncludeLib kernel32.lib
IncludeLib masm32.lib
; Template for console application
.586
.MODEL flat, stdcall
OPTION CASEMAP:NONE
Include kernel32.inc
Include masm32.inc
IncludeLib kernel32.lib
IncludeLib masm32.lib
; Template for console application
.586
.MODEL flat ;, stdcall
OPTION CASEMAP:NONE
;Include kernel32.inc
;Include masm32.inc
;IncludeLib kernel32.lib
;IncludeLib masm32.lib
@spellancer
spellancer / gist:2385207
Created April 14, 2012 15:26
laba5 result asm
; Template for console application
.586
.MODEL flat ;, stdcall
OPTION CASEMAP:NONE
;Include kernel32.inc
;Include masm32.inc
;IncludeLib kernel32.lib
;IncludeLib masm32.lib
@spellancer
spellancer / gist:2385225
Created April 14, 2012 15:29
laba5 result c++
// Laba5.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdio.h>
#include <conio.h>
#include <iostream>
using namespace std;
#include <locale.h>
@spellancer
spellancer / gist:2426449
Created April 20, 2012 05:55
laba 5 finish C++
// Laba5.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <stdio.h>
#include <conio.h>
#include <iostream>
using namespace std;
#include <locale.h>
@spellancer
spellancer / gist:2426450
Created April 20, 2012 05:55
laba 5 finish Assembly
; Template for console application
.586
.MODEL flat , c
OPTION CASEMAP:NONE
.CONST
MsgExit DB 13,10,"Press Enter to Exit",0AH,0DH,0
;Задание
;Вариант 11.
http://qastuffs.blogspot.com/2010/11/installing-gem-bundler-in-ubuntu-1004.html
@spellancer
spellancer / gist:2566792
Created May 1, 2012 09:35
lexem.h -- homework2
#ifndef lexem_h
#define lexem_h
#include <iostream>
using namespace std;
// ----------
char* del (char *str)
{
int i,j,n;
@spellancer
spellancer / gist:2566811
Created May 1, 2012 09:36
main.cpp --homework2
#include "stdafx.h"
#include "lexem.h"
#include <iostream>
#include <locale.h>
#include <string.h>
using namespace std;