Skip to main content

Posts

Sponsors

Download All Chapters The 8088 and 8086 Microprocessors 4th Ed. by Walter A. Triebel and Avtar Singh

Hello friends, today i would like to share Best Notes of all chapters from the only book  The 8088 and 8086 Microprocessors - Programming, Interfacing, Software, Hardware, and Applications" 4th Ed. by Walter A. Triebel and Avtar Singh.

Thanks to the Original author Prof. Ta-te Lin http://www.bime.ntu.edu.tw/~ttlin/ for sharing such wonderful Notes helping us in our course.

Here is All Chanters form

1
Introduction to Microprocessors and Microcomputers
C15_LECTURE_NOTE_01(2 in 1)
0.49MB
C15_LECTURE_NOTE_01(6 in 1)
0.43MB
2
Software Architecture of the 8088 and 8086 Microprocessors
C15_LECTURE_NOTE_02(2 in 1)
0.35MB
C15_LECTURE_NOTE_02(6 in 1)
0.35MB
3
Assembly Language Programming   
C15_LECTURE_NOTE_03(2 in 1)
0.41MB
C15_LECTURE_NOTE_03(6 in 1)
0.48MB
4
Machine Language Coding and The Debug Software Development Program of The PC
C15_LECTURE_NOTE_04(2 in 1)
0.62MB
C15_LECTURE_NOTE_04(6 in 1)
0.62MB
5
8088/8086 Microprocessor Programming - Integer Instructi…
Recent posts

Removing HTML tags from string C# ASP

Here is the simple C# program that is used to remove HTML tags from a string, with very simple while and if else statement.
Here is code (C# function):
public static string RemoveHtmlTags(string content){
            char[] array = new char[content.Length];
            int arrayIndex = 0;
            bool inside = false;

            for (int i = 0; i < content.Length; i++)
            {
                char let = content[i];
                if (let == '<')
                {
                    inside = true;
                    continue;
                }
                if (let == '>')
                {
                    inside = false;
                    continue;
                }
                if (!inside)
                {
                    array[arrayIndex] = let;
                    arrayIndex++;
                }
            }
            return new string(array, 0, arrayIndex);
} thanks g.
:)

C# Dynamic Streaming Video via Handler (.ashx) with Range Downloader ASP MVC

This tutorial is to show that how video playing is possible via a dynamic URL and hiding obsolete base URL. We have added to basic programs in it one is ProcessRequest() used to get file and process data o the file via streamer, second is RangeDownload(), which is required to download video http-range.

here is the full source class in .ashx file i used.

with following mysite.com/watch.ashx?id=1039 returns a video file.


public class Video : IHttpHandler {

    public void RangeDownload(int id, HttpContext context)
    {

        //connecton to database
        VideosDB db = new VideosDB();
        //Entity
        var get = db.MyvideosDB.FirstOrDefault(p => p.Video == id);
        //path to video ile
        string fullpath = context.Server.MapPath("~/cdn_users/" + get.Postedby + "/" + get.VideoURL);
        long size, start, end, length, fp = 0;
        using (StreamReader reader = new StreamReader(fullpath))
        {

            size = reader.BaseStream.Length;

Program to implement Linked List using Struct in C/C++

Today i am going to show you how to implement linked list  type data array using structure. Linked ist is type of data structure in which dynamic memory allocation takes place, in short it is a type of flexible data array

Lets see:

#include "stdafx.h"
#include <iostream>
using namespace std;

struct Node
{
    int info;
    Node *next;

}*HEAD, *TPTR, *NEWN;

void case1(){
    int getinfo;
    cin >> getinfo;
    NEWN = new Node;
    NEWN->info = getinfo;
    NEWN->next = NULL;
    if (HEAD == NULL){
        HEAD = NEWN;
        cout << "Node added";
    }
    else
    {
        TPTR->next = NEWN;
    }

}
void case2(){
    int getinfo, found = 0;
    cout << "Elemnt to serach" << endl;
    cin >> getinfo;
    if (HEAD != NULL){

        TPTR = HEAD;
        while (TPTR->next != NULL)
        {
            if (TPTR->info == getinfo){
                cout << "Elemnt found" << endl;
      …

C++ Program to Print Day of week using Date Input [LONG METHOD]

hello, Friends here goes a new C++ program to Print day of week using date input. We haven't used any shortcut method, program is made upon a long descriptive method.

lets see how program moves:




Thankyou, Post any mistake in the comments section.

Keep visiting BuildNextWeb

C / C++ Program to Print First 30 Prime Numbers

CELEBRATING :: BuildNextWeb's 100th post and first 1 Lacs viewers  
Here we start with a new topic to buildnextweb, Introducing C and C++ programing to buildnextweb. Contributors of Buildnextweb will now posting Basic to advance programs of C and C++. 
In this article we will be dealing with a simple program to print first 30 prime numbers using C / C++.

Here is the code snippets :


#include<iostream> #include<conio.h> usingnamespacestd; intIsPrime(int

A simple Page Number System for ASP.NEt C# / MVC

So here we introduce a whole new simple system of making  a page number system to ASP.NET c# MVC. Page Number concept is used to show a fixed size results on multiple pages. It allows us to Split the larger database in the smaller systems and thus even reduce the load to the particular page.

Concept used here for paging system is very simple we will use two major variable namely startIndex and PageSzie. Start-index will be determine the the starting point of the database will vary from page to page on the other hand Pagesize will determine the number of results to be picked form the database sources .

Well, what is the data source? Your action could take a few defaulted arguments, i.e.

ActionResult Search(string query, int startIndex, int pageSize) {...}
defaulted in the routes setup so that startIndex is 0 and pageSize is (say) 20:(You can skip this)

        routes.MapRoute("Search", "Search/{query}/{startIndex}",
                        new
                     …