This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Dockerfile for article () | |
| FROM mcr.microsoft.com/dotnet/aspnet:5.0-alpine AS base | |
| WORKDIR /app | |
| EXPOSE 80 | |
| FROM mcr.microsoft.com/dotnet/sdk:5.0-alpine AS build | |
| WORKDIR /src | |
| COPY ["Api/MyApp.Identity/MyApp.Identity.csproj", "Api/MyApp.Identity/"] | |
| COPY ["Shared/MyApp.Domain/MyApp.Domain.csproj", "Shared/MyApp.Domain/"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mov ax, 0 ; ax -> 0x0000 or in binary: 0000000000000000 | |
| mov ah, 0x56 ; ax -> 0x5600 | |
| mov al, 0x23 ; ax -> 0x5623 | |
| mov ah, 0x14 ; ax -> 0x1423 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mov ax, 1234 ; store decimal number 1234 in ax register | |
| mov bx, 0x235 ; store hex number 0x235 in bx register | |
| mov cx, 't' ; store ASCII code of char 't' in cx register | |
| mov dx, ax ; copy value in ax register to dx register |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| loop: ; Defining new loop | |
| jmp loop ; Jump to loop label to make infinite loop | |
| times 510 -( $ - $$ ) db 0 ; fill 510 bytes with 0s | |
| dw 0xaa55 ; write magic number to last 2 bytes, so BIOS will assume | |
| ; this is bootable device |